	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pn533_target_found_felica
_pn533_target_found_felica:             ## @pn533_target_found_felica
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_pn533_target_felica_is_valid
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	_PN533_FELICA_SENSF_NFCID2_DEP_B1@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.3:
	movq	8(%rax), %rax
	movq	_PN533_FELICA_SENSF_NFCID2_DEP_B2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_NFC_PROTO_NFC_DEP_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_NFC_PROTO_FELICA_MASK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movl	12(%r14), %edi
	leaq	8(%rbx), %rsi
	movl	$9, %edx
	callq	_memcpy
	movl	$9, (%r14)
	movl	8(%r14), %edi
	movq	(%rbx), %rsi
	movq	_NFC_NFCID2_MAXSIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_memcpy
	movl	(%rbx), %eax
	movl	%eax, 4(%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_PN533_FELICA_SENSF_NFCID2_DEP_B1,8,3 ## @PN533_FELICA_SENSF_NFCID2_DEP_B1
	.comm	_PN533_FELICA_SENSF_NFCID2_DEP_B2,8,3 ## @PN533_FELICA_SENSF_NFCID2_DEP_B2
	.comm	_NFC_PROTO_NFC_DEP_MASK,4,2     ## @NFC_PROTO_NFC_DEP_MASK
	.comm	_NFC_PROTO_FELICA_MASK,4,2      ## @NFC_PROTO_FELICA_MASK
	.comm	_NFC_NFCID2_MAXSIZE,4,2         ## @NFC_NFCID2_MAXSIZE
	.no_dead_strip	_pn533_target_found_felica
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pn533_target_found_felica
_pn533_target_found_felica:             ; @pn533_target_found_felica
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	bl	_pn533_target_felica_is_valid
	cbz	w0, LBB0_6
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _PN533_FELICA_SENSF_NFCID2_DEP_B1@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PN533_FELICA_SENSF_NFCID2_DEP_B1@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x8, #8]
Lloh3:
	adrp	x9, _PN533_FELICA_SENSF_NFCID2_DEP_B2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PN533_FELICA_SENSF_NFCID2_DEP_B2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _NFC_PROTO_NFC_DEP_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NFC_PROTO_NFC_DEP_MASK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _NFC_PROTO_FELICA_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NFC_PROTO_FELICA_MASK@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	w0, [x19, #12]
	add	x1, x20, #8
	mov	w21, #9
	mov	w2, #9
	bl	_memcpy
	str	w21, [x19]
	ldr	w0, [x19, #8]
	ldr	x1, [x20]
Lloh10:
	adrp	x20, _NFC_NFCID2_MAXSIZE@GOTPAGE
Lloh11:
	ldr	x20, [x20, _NFC_NFCID2_MAXSIZE@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_memcpy
	mov	w0, #0
	ldr	w8, [x20]
	str	w8, [x19, #4]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _EPROTO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_PN533_FELICA_SENSF_NFCID2_DEP_B1,8,3 ; @PN533_FELICA_SENSF_NFCID2_DEP_B1
	.comm	_PN533_FELICA_SENSF_NFCID2_DEP_B2,8,3 ; @PN533_FELICA_SENSF_NFCID2_DEP_B2
	.comm	_NFC_PROTO_NFC_DEP_MASK,4,2     ; @NFC_PROTO_NFC_DEP_MASK
	.comm	_NFC_PROTO_FELICA_MASK,4,2      ; @NFC_PROTO_FELICA_MASK
	.comm	_NFC_NFCID2_MAXSIZE,4,2         ; @NFC_NFCID2_MAXSIZE
	.no_dead_strip	_pn533_target_found_felica
.subsections_via_symbols
