	.file	"extr_microread.c_microread_dep_link_up.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	microread_dep_link_up, @function
microread_dep_link_up:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR 4[rsi]
	mov	edx, DWORD PTR MICROREAD_PAR_P2P_INITIATOR_GT[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rcx, rsp
	mov	QWORD PTR [rsp], 0
	call	nfc_hci_get_param@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rdi, QWORD PTR [rsp]
	mov	rdx, QWORD PTR [rdi]
	test	rdx, rdx
	je	.L3
	cmp	rdx, QWORD PTR NFC_GB_MAXSIZE[rip]
	jg	.L3
	mov	esi, DWORD PTR 8[rdi]
	mov	edi, DWORD PTR [rbx]
	call	nfc_set_remote_general_bytes@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L6
.L13:
	mov	rdi, QWORD PTR [rsp]
	call	kfree_skb@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
.L5:
	endbr64
	mov	r12d, DWORD PTR EPROTO[rip]
	neg	r12d
	call	kfree_skb@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	ecx, DWORD PTR NFC_RF_INITIATOR[rip]
	mov	esi, DWORD PTR 0[rbp]
	mov	edx, r13d
	mov	edi, DWORD PTR [rbx]
	call	nfc_dep_link_is_up@PLT
	mov	r12d, eax
	jmp	.L13
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	microread_dep_link_up, .-microread_dep_link_up
	.comm	NFC_RF_INITIATOR,4,4
	.comm	NFC_GB_MAXSIZE,8,8
	.comm	MICROREAD_PAR_P2P_INITIATOR_GT,4,4
	.comm	EPROTO,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_microread.c_microread_dep_link_up.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	microread_dep_link_up, %function
microread_dep_link_up:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L15
	sub	sp, sp, #12
	ldr	lr, .L15+4
	mov	r5, r1
	mov	r7, r2
	ldr	r1, [r1, #4]
	ldr	r2, [r3]
	mov	r3, sp
	ldr	lr, [lr]
	str	lr, [sp, #4]
	mov	lr,#0
	mov	r6, r0
	str	ip, [sp]
	bl	nfc_hci_get_param
	subs	r4, r0, #0
	blt	.L1
	ldr	r0, [sp]
	ldr	r2, [r0]
	cmp	r2, #0
	beq	.L3
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L3
	ldr	r1, [r0, #4]
	ldr	r0, [r6]
	bl	nfc_set_remote_general_bytes
	subs	r4, r0, #0
	beq	.L6
.L12:
	ldr	r0, [sp]
	bl	kfree_skb
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
.L5:
	ldr	r3, .L15+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	bl	kfree_skb
	b	.L1
.L6:
	ldr	r3, .L15+16
	mov	r2, r7
	ldr	r1, [r5]
	ldr	r0, [r6]
	ldr	r3, [r3]
	bl	nfc_dep_link_is_up
	mov	r4, r0
	b	.L12
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	MICROREAD_PAR_P2P_INITIATOR_GT
	.word	.LC0
	.word	NFC_GB_MAXSIZE
	.word	EPROTO
	.word	NFC_RF_INITIATOR
	.size	microread_dep_link_up, .-microread_dep_link_up
	.comm	NFC_RF_INITIATOR,4,4
	.comm	NFC_GB_MAXSIZE,4,4
	.comm	MICROREAD_PAR_P2P_INITIATOR_GT,4,4
	.comm	EPROTO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
