	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pn533_poll_dep_complete
_pn533_poll_dep_complete:               ## @pn533_poll_dep_complete
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	8(%rbx), %r12
	movq	_PN533_CMD_RET_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r12), %eax
	movq	_PN533_CMD_RET_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.3:
	movl	24(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_NFC_PROTO_NFC_DEP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	$10, -48(%rbp)
	movl	8(%r12), %esi
	movl	$10, %edx
	callq	_memcpy
	movq	(%r14), %rdi
	leaq	-48(%rbp), %rsi
	movl	$1, %edx
	callq	_nfc_targets_found
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	$0, 16(%r14)
	movq	_NFC_PROTO_NFC_DEP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	(%rbx), %rdx
	addq	$-17, %rdx
	movq	(%r14), %rdi
	movl	4(%r12), %esi
	callq	_nfc_set_remote_general_bytes
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	(%r14), %rdi
	movq	(%rdi), %rax
	movl	(%rax), %esi
	movq	_NFC_RF_INITIATOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	callq	_nfc_dep_link_is_up
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_pn533_poll_reset_mod_list
	xorl	%r15d, %r15d
LBB0_7:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	jmp	LBB0_8
LBB0_2:
	movl	32(%r14), %edi
	addq	$28, %r14
	movq	%r14, %rsi
	callq	_queue_work
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	xorl	%r15d, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PN533_CMD_RET_MASK,4,2         ## @PN533_CMD_RET_MASK
	.comm	_PN533_CMD_RET_SUCCESS,4,2      ## @PN533_CMD_RET_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Creating new target"

	.comm	_NFC_PROTO_NFC_DEP_MASK,4,2     ## @NFC_PROTO_NFC_DEP_MASK
	.comm	_NFC_PROTO_NFC_DEP,4,2          ## @NFC_PROTO_NFC_DEP
	.comm	_NFC_RF_INITIATOR,4,2           ## @NFC_RF_INITIATOR
	.no_dead_strip	_pn533_poll_dep_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pn533_poll_dep_complete
_pn533_poll_dep_complete:               ; @pn533_poll_dep_complete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x0
	mov	x0, x2
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_2:
	ldr	x22, [x19, #8]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _PN533_CMD_RET_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PN533_CMD_RET_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _PN533_CMD_RET_SUCCESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PN533_CMD_RET_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.3:
	ldr	w0, [x20, #24]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh8:
	adrp	x8, _NFC_PROTO_NFC_DEP_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NFC_PROTO_NFC_DEP_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	w9, #10
	str	w8, [sp, #8]
	str	w9, [sp]
	ldr	w1, [x22, #8]
	mov	w2, #10
	bl	_memcpy
	ldr	x0, [x20]
	mov	x1, sp
	mov	w2, #1
	bl	_nfc_targets_found
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.4:
	str	xzr, [x20, #16]
Lloh11:
	adrp	x8, _NFC_PROTO_NFC_DEP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NFC_PROTO_NFC_DEP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	ldr	x8, [x19]
	sub	x2, x8, #17
	ldr	x0, [x20]
	ldr	w1, [x22, #4]
	bl	_nfc_set_remote_general_bytes
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.5:
	ldr	x0, [x20]
	ldr	x8, [x0]
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _NFC_RF_INITIATOR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NFC_RF_INITIATOR@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	w2, #0
	bl	_nfc_dep_link_is_up
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_pn533_poll_reset_mod_list
LBB0_7:
	mov	x0, x19
	bl	_dev_kfree_skb
	b	LBB0_9
LBB0_8:
	ldr	w0, [x20, #32]
	add	x1, x20, #28
	bl	_queue_work
	mov	x0, x19
	bl	_dev_kfree_skb
	mov	w21, #0
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PN533_CMD_RET_MASK,4,2         ; @PN533_CMD_RET_MASK
	.comm	_PN533_CMD_RET_SUCCESS,4,2      ; @PN533_CMD_RET_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Creating new target"

	.comm	_NFC_PROTO_NFC_DEP_MASK,4,2     ; @NFC_PROTO_NFC_DEP_MASK
	.comm	_NFC_PROTO_NFC_DEP,4,2          ; @NFC_PROTO_NFC_DEP
	.comm	_NFC_RF_INITIATOR,4,2           ; @NFC_RF_INITIATOR
	.no_dead_strip	_pn533_poll_dep_complete
.subsections_via_symbols
