	.file	"extr_message.c_reset_b3_res.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"reset_b3_res"
	.text
	.p2align 4
	.type	reset_b3_res, @function
reset_b3_res:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edi
	lea	rdi, .LC0[rip]
	sar	ebx, 16
	call	dprintf@PLT
	mov	edi, 1
	mov	esi, eax
	call	dbug@PLT
	test	rbp, rbp
	je	.L3
	movsx	rcx, ebx
	test	rcx, rcx
	je	.L3
	mov	eax, DWORD PTR 0[rbp]
	lea	edx, -128[rax]
	xor	eax, eax
	cmp	edx, 1
	jbe	.L14
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdx, QWORD PTR [r12]
	mov	esi, DWORD PTR INC_RES_PENDING[rip]
	lea	rdx, [rdx+rcx*4]
	cmp	DWORD PTR [rdx], esi
	jne	.L1
	mov	eax, DWORD PTR CONNECTED[rip]
	mov	rdi, rbp
	mov	DWORD PTR [rdx], eax
	mov	esi, DWORD PTR N_RESET_ACK[rip]
	mov	edx, ebx
	call	nl_req_ncci@PLT
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	reset_b3_res, .-reset_b3_res
	.comm	N_RESET_ACK,4,4
	.comm	INC_RES_PENDING,4,4
	.comm	CONNECTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_message.c_reset_b3_res.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"reset_b3_res\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reset_b3_res, %function
reset_b3_res:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, .L9
	mov	r5, r3
	mov	r6, r2
	bl	dprintf
	mov	r1, r0
	mov	r0, #1
	bl	dbug
	asrs	r4, r4, #16
	movne	r0, #1
	moveq	r0, #0
	cmp	r5, #0
	moveq	r0, #0
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, [r5]
	sub	r3, r3, #128
	cmp	r3, #1
	bls	.L8
.L5:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, [r6]
	ldr	r2, .L9+4
	ldr	r1, [r3, r4, lsl #2]
	ldr	r2, [r2]
	cmp	r1, r2
	bne	.L5
	ldr	r2, .L9+8
	ldr	r1, .L9+12
	ldr	r2, [r2]
	mov	r0, r5
	str	r2, [r3, r4, lsl #2]
	ldr	r1, [r1]
	mov	r2, r4
	bl	nl_req_ncci
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	INC_RES_PENDING
	.word	CONNECTED
	.word	N_RESET_ACK
	.size	reset_b3_res, .-reset_b3_res
	.comm	N_RESET_ACK,4,4
	.comm	INC_RES_PENDING,4,4
	.comm	CONNECTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
