	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vf610_nfc_select_target
_vf610_nfc_select_target:               ## @vf610_nfc_select_target
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_chip_to_nfc
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_NFC_VFC610@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_NFC_ROW_ADDR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_vf610_nfc_read
	movq	_ROW_ADDR_CHIP_SEL_RB_MASK@GOTPCREL(%rip), %rcx
	movq	_ROW_ADDR_CHIP_SEL_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_ROW_ADDR_CHIP_SEL_RB_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %ebx
	movl	%r14d, %edi
	callq	_BIT
	movq	_ROW_ADDR_CHIP_SEL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vf610_nfc_write                ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFC_VFC610,8,3                 ## @NFC_VFC610
	.comm	_NFC_ROW_ADDR,4,2               ## @NFC_ROW_ADDR
	.comm	_ROW_ADDR_CHIP_SEL_RB_MASK,4,2  ## @ROW_ADDR_CHIP_SEL_RB_MASK
	.comm	_ROW_ADDR_CHIP_SEL_MASK,4,2     ## @ROW_ADDR_CHIP_SEL_MASK
	.comm	_ROW_ADDR_CHIP_SEL_RB_SHIFT,4,2 ## @ROW_ADDR_CHIP_SEL_RB_SHIFT
	.comm	_ROW_ADDR_CHIP_SEL_SHIFT,4,2    ## @ROW_ADDR_CHIP_SEL_SHIFT
	.no_dead_strip	_vf610_nfc_select_target
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vf610_nfc_select_target
_vf610_nfc_select_target:               ; @vf610_nfc_select_target
	.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
	bl	_chip_to_nfc
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NFC_VFC610@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFC_VFC610@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x21, _NFC_ROW_ADDR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NFC_ROW_ADDR@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_vf610_nfc_read
Lloh5:
	adrp	x8, _ROW_ADDR_CHIP_SEL_RB_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ROW_ADDR_CHIP_SEL_RB_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ROW_ADDR_CHIP_SEL_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ROW_ADDR_CHIP_SEL_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
Lloh11:
	adrp	x9, _ROW_ADDR_CHIP_SEL_RB_SHIFT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ROW_ADDR_CHIP_SEL_RB_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w22, w8, w9
	mov	x0, x20
	bl	_BIT
Lloh14:
	adrp	x8, _ROW_ADDR_CHIP_SEL_SHIFT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ROW_ADDR_CHIP_SEL_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	lsl	w8, w0, w8
	orr	w2, w22, w8
	ldr	w1, [x21]
	mov	x0, x19
	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
	b	_vf610_nfc_write
LBB0_2:
	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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NFC_VFC610,8,3                 ; @NFC_VFC610
	.comm	_NFC_ROW_ADDR,4,2               ; @NFC_ROW_ADDR
	.comm	_ROW_ADDR_CHIP_SEL_RB_MASK,4,2  ; @ROW_ADDR_CHIP_SEL_RB_MASK
	.comm	_ROW_ADDR_CHIP_SEL_MASK,4,2     ; @ROW_ADDR_CHIP_SEL_MASK
	.comm	_ROW_ADDR_CHIP_SEL_RB_SHIFT,4,2 ; @ROW_ADDR_CHIP_SEL_RB_SHIFT
	.comm	_ROW_ADDR_CHIP_SEL_SHIFT,4,2    ; @ROW_ADDR_CHIP_SEL_SHIFT
	.no_dead_strip	_vf610_nfc_select_target
.subsections_via_symbols
