	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar934x_nfc_send_cmd
_ar934x_nfc_send_cmd:                   ## @ar934x_nfc_send_cmd
	.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	_AR934X_NFC_CMD_INPUT_SEL_SIU@GOTPCREL(%rip), %rax
	movq	_AR934X_NFC_CMD_ADDR_SEL_0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%esi, %ebx
	movq	_AR934X_NFC_CMD_SEQ_1C@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_AR934X_NFC_CMD_CMD0_M@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_AR934X_NFC_CMD_CMD0_S@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	%rdi, %r14
	orl	%edx, %ebx
	movq	_AR934X_NFC_REG_INT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_ar934x_nfc_wr
	movq	_AR934X_NFC_REG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r14, %rdi
	callq	_ar934x_nfc_wr
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ar934x_nfc_write_cmd_reg
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ar934x_nfc_wait_dev_ready      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR934X_NFC_CMD_INPUT_SEL_SIU,4,2 ## @AR934X_NFC_CMD_INPUT_SEL_SIU
	.comm	_AR934X_NFC_CMD_ADDR_SEL_0,4,2  ## @AR934X_NFC_CMD_ADDR_SEL_0
	.comm	_AR934X_NFC_CMD_SEQ_1C,4,2      ## @AR934X_NFC_CMD_SEQ_1C
	.comm	_AR934X_NFC_CMD_CMD0_M,4,2      ## @AR934X_NFC_CMD_CMD0_M
	.comm	_AR934X_NFC_CMD_CMD0_S,4,2      ## @AR934X_NFC_CMD_CMD0_S
	.comm	_AR934X_NFC_REG_INT_STATUS,4,2  ## @AR934X_NFC_REG_INT_STATUS
	.comm	_AR934X_NFC_REG_CTRL,4,2        ## @AR934X_NFC_REG_CTRL
	.no_dead_strip	_ar934x_nfc_send_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar934x_nfc_send_cmd
_ar934x_nfc_send_cmd:                   ; @ar934x_nfc_send_cmd
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _AR934X_NFC_CMD_INPUT_SEL_SIU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR934X_NFC_CMD_INPUT_SEL_SIU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AR934X_NFC_CMD_ADDR_SEL_0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AR934X_NFC_CMD_ADDR_SEL_0@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _AR934X_NFC_CMD_SEQ_1C@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AR934X_NFC_CMD_SEQ_1C@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _AR934X_NFC_CMD_CMD0_M@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AR934X_NFC_CMD_CMD0_M@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w1
Lloh12:
	adrp	x10, _AR934X_NFC_CMD_CMD0_S@GOTPAGE
Lloh13:
	ldr	x10, [x10, _AR934X_NFC_CMD_CMD0_S@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w20, w8, w9
Lloh15:
	adrp	x8, _AR934X_NFC_REG_INT_STATUS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR934X_NFC_REG_INT_STATUS@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_ar934x_nfc_wr
Lloh18:
	adrp	x8, _AR934X_NFC_REG_CTRL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR934X_NFC_REG_CTRL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_ar934x_nfc_wr
	mov	x0, x19
	mov	x1, x20
	bl	_ar934x_nfc_write_cmd_reg
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ar934x_nfc_wait_dev_ready
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR934X_NFC_CMD_INPUT_SEL_SIU,4,2 ; @AR934X_NFC_CMD_INPUT_SEL_SIU
	.comm	_AR934X_NFC_CMD_ADDR_SEL_0,4,2  ; @AR934X_NFC_CMD_ADDR_SEL_0
	.comm	_AR934X_NFC_CMD_SEQ_1C,4,2      ; @AR934X_NFC_CMD_SEQ_1C
	.comm	_AR934X_NFC_CMD_CMD0_M,4,2      ; @AR934X_NFC_CMD_CMD0_M
	.comm	_AR934X_NFC_CMD_CMD0_S,4,2      ; @AR934X_NFC_CMD_CMD0_S
	.comm	_AR934X_NFC_REG_INT_STATUS,4,2  ; @AR934X_NFC_REG_INT_STATUS
	.comm	_AR934X_NFC_REG_CTRL,4,2        ; @AR934X_NFC_REG_CTRL
	.no_dead_strip	_ar934x_nfc_send_cmd
.subsections_via_symbols
