	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar934x_nfc_hw_init
_ar934x_nfc_hw_init:                    ## @ar934x_nfc_hw_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ar934x_nfc_hw_reset_assert
	movq	%rbx, %rdi
	callq	_ar934x_nfc_hw_reset_deassert
	movq	_AR934X_NFC_REG_TIME_SEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR934X_NFC_TIME_SEQ_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ar934x_nfc_wr
	movq	_AR934X_NFC_REG_TIMINGS_ASYN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR934X_NFC_TIMINGS_ASYN_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ar934x_nfc_wr
	movq	_AR934X_NFC_REG_TIMINGS_SYN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR934X_NFC_TIMINGS_SYN_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ar934x_nfc_wr
	movq	_AR934X_NFC_REG_MEM_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65280, %edx                    ## imm = 0xFF00
	callq	_ar934x_nfc_wr
	movq	_AR934X_NFC_REG_DMA_ADDR_OFFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ar934x_nfc_wr
	movq	_AR934X_NFC_CTRL_CUSTOM_SIZE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, (%rbx)
	movq	_AR934X_NFC_REG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ar934x_nfc_wr
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_AR934X_NFC_REG_GEN_SEQ_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR934X_NFC_GENSEQ_SMALL_PAGE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ar934x_nfc_wr
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR934X_NFC_REG_TIME_SEQ,4,2    ## @AR934X_NFC_REG_TIME_SEQ
	.comm	_AR934X_NFC_TIME_SEQ_DEFAULT,4,2 ## @AR934X_NFC_TIME_SEQ_DEFAULT
	.comm	_AR934X_NFC_REG_TIMINGS_ASYN,4,2 ## @AR934X_NFC_REG_TIMINGS_ASYN
	.comm	_AR934X_NFC_TIMINGS_ASYN_DEFAULT,4,2 ## @AR934X_NFC_TIMINGS_ASYN_DEFAULT
	.comm	_AR934X_NFC_REG_TIMINGS_SYN,4,2 ## @AR934X_NFC_REG_TIMINGS_SYN
	.comm	_AR934X_NFC_TIMINGS_SYN_DEFAULT,4,2 ## @AR934X_NFC_TIMINGS_SYN_DEFAULT
	.comm	_AR934X_NFC_REG_MEM_CTRL,4,2    ## @AR934X_NFC_REG_MEM_CTRL
	.comm	_AR934X_NFC_REG_DMA_ADDR_OFFS,4,2 ## @AR934X_NFC_REG_DMA_ADDR_OFFS
	.comm	_AR934X_NFC_CTRL_CUSTOM_SIZE_EN,4,2 ## @AR934X_NFC_CTRL_CUSTOM_SIZE_EN
	.comm	_AR934X_NFC_REG_CTRL,4,2        ## @AR934X_NFC_REG_CTRL
	.comm	_AR934X_NFC_REG_GEN_SEQ_CTRL,4,2 ## @AR934X_NFC_REG_GEN_SEQ_CTRL
	.comm	_AR934X_NFC_GENSEQ_SMALL_PAGE_READ,4,2 ## @AR934X_NFC_GENSEQ_SMALL_PAGE_READ
	.no_dead_strip	_ar934x_nfc_hw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar934x_nfc_hw_init
_ar934x_nfc_hw_init:                    ; @ar934x_nfc_hw_init
	.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
	bl	_ar934x_nfc_hw_reset_assert
	mov	x0, x19
	bl	_ar934x_nfc_hw_reset_deassert
Lloh0:
	adrp	x8, _AR934X_NFC_REG_TIME_SEQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR934X_NFC_REG_TIME_SEQ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AR934X_NFC_TIME_SEQ_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR934X_NFC_TIME_SEQ_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ar934x_nfc_wr
Lloh6:
	adrp	x8, _AR934X_NFC_REG_TIMINGS_ASYN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR934X_NFC_REG_TIMINGS_ASYN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _AR934X_NFC_TIMINGS_ASYN_DEFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR934X_NFC_TIMINGS_ASYN_DEFAULT@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ar934x_nfc_wr
Lloh12:
	adrp	x8, _AR934X_NFC_REG_TIMINGS_SYN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR934X_NFC_REG_TIMINGS_SYN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _AR934X_NFC_TIMINGS_SYN_DEFAULT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR934X_NFC_TIMINGS_SYN_DEFAULT@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ar934x_nfc_wr
Lloh18:
	adrp	x8, _AR934X_NFC_REG_MEM_CTRL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR934X_NFC_REG_MEM_CTRL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65280
	bl	_ar934x_nfc_wr
Lloh21:
	adrp	x8, _AR934X_NFC_REG_DMA_ADDR_OFFS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AR934X_NFC_REG_DMA_ADDR_OFFS@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_ar934x_nfc_wr
Lloh24:
	adrp	x8, _AR934X_NFC_CTRL_CUSTOM_SIZE_EN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AR934X_NFC_CTRL_CUSTOM_SIZE_EN@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	str	w2, [x19]
Lloh27:
	adrp	x8, _AR934X_NFC_REG_CTRL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AR934X_NFC_REG_CTRL@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ar934x_nfc_wr
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh30:
	adrp	x8, _AR934X_NFC_REG_GEN_SEQ_CTRL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AR934X_NFC_REG_GEN_SEQ_CTRL@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _AR934X_NFC_GENSEQ_SMALL_PAGE_READ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AR934X_NFC_GENSEQ_SMALL_PAGE_READ@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ar934x_nfc_wr
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.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
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_AR934X_NFC_REG_TIME_SEQ,4,2    ; @AR934X_NFC_REG_TIME_SEQ
	.comm	_AR934X_NFC_TIME_SEQ_DEFAULT,4,2 ; @AR934X_NFC_TIME_SEQ_DEFAULT
	.comm	_AR934X_NFC_REG_TIMINGS_ASYN,4,2 ; @AR934X_NFC_REG_TIMINGS_ASYN
	.comm	_AR934X_NFC_TIMINGS_ASYN_DEFAULT,4,2 ; @AR934X_NFC_TIMINGS_ASYN_DEFAULT
	.comm	_AR934X_NFC_REG_TIMINGS_SYN,4,2 ; @AR934X_NFC_REG_TIMINGS_SYN
	.comm	_AR934X_NFC_TIMINGS_SYN_DEFAULT,4,2 ; @AR934X_NFC_TIMINGS_SYN_DEFAULT
	.comm	_AR934X_NFC_REG_MEM_CTRL,4,2    ; @AR934X_NFC_REG_MEM_CTRL
	.comm	_AR934X_NFC_REG_DMA_ADDR_OFFS,4,2 ; @AR934X_NFC_REG_DMA_ADDR_OFFS
	.comm	_AR934X_NFC_CTRL_CUSTOM_SIZE_EN,4,2 ; @AR934X_NFC_CTRL_CUSTOM_SIZE_EN
	.comm	_AR934X_NFC_REG_CTRL,4,2        ; @AR934X_NFC_REG_CTRL
	.comm	_AR934X_NFC_REG_GEN_SEQ_CTRL,4,2 ; @AR934X_NFC_REG_GEN_SEQ_CTRL
	.comm	_AR934X_NFC_GENSEQ_SMALL_PAGE_READ,4,2 ; @AR934X_NFC_GENSEQ_SMALL_PAGE_READ
	.no_dead_strip	_ar934x_nfc_hw_init
.subsections_via_symbols
