.syntax unified
.cpu cortex-m4
.thumb
.text
.global it_hook_repro
.thumb_func
it_hook_repro:
 cmp r7,r3
 it cc
 strcc r3,[r4]
 cmp r3,#0
 beq fail
 cmp.w r3,#3840
 bhi fail
 cmp r2,#30
 bhi fail
 movs r0,#1
 bx lr
fail:
 movs r0,#0
 bx lr
