	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function marvell_nfc_reset
_marvell_nfc_reset:                     ## @marvell_nfc_reset
	.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	%rdi, %r14
	movq	_NDCR_ALL_INT@GOTPCREL(%rip), %rax
	movq	_NDCR_ND_ARB_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_NDCR_SPARE_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_NFCV1_READID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_NDCR_RD_ID_CNT
	orl	%eax, %ebx
	movq	_NDCR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel_relaxed
	movq	_NDSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	$-1, %edi
	callq	_writel_relaxed
	movq	_NDECCCTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	xorl	%edi, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NDCR_ALL_INT,4,2               ## @NDCR_ALL_INT
	.comm	_NDCR_ND_ARB_EN,4,2             ## @NDCR_ND_ARB_EN
	.comm	_NDCR_SPARE_EN,4,2              ## @NDCR_SPARE_EN
	.comm	_NFCV1_READID_LEN,4,2           ## @NFCV1_READID_LEN
	.comm	_NDCR,8,3                       ## @NDCR
	.comm	_NDSR,8,3                       ## @NDSR
	.comm	_NDECCCTRL,8,3                  ## @NDECCCTRL
	.no_dead_strip	_marvell_nfc_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function marvell_nfc_reset
_marvell_nfc_reset:                     ; @marvell_nfc_reset
	.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, _NDCR_ALL_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NDCR_ALL_INT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NDCR_ND_ARB_EN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NDCR_ND_ARB_EN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _NDCR_SPARE_EN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NDCR_SPARE_EN@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w20, w8, w9
Lloh9:
	adrp	x8, _NFCV1_READID_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NFCV1_READID_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_NDCR_RD_ID_CNT
	orr	w0, w20, w0
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _NDCR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NDCR@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _NDSR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NDSR@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #-1
	bl	_writel_relaxed
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _NDECCCTRL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NDECCCTRL@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel_relaxed
	.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	_NDCR_ALL_INT,4,2               ; @NDCR_ALL_INT
	.comm	_NDCR_ND_ARB_EN,4,2             ; @NDCR_ND_ARB_EN
	.comm	_NDCR_SPARE_EN,4,2              ; @NDCR_SPARE_EN
	.comm	_NFCV1_READID_LEN,4,2           ; @NFCV1_READID_LEN
	.comm	_NDCR,8,3                       ; @NDCR
	.comm	_NDSR,8,3                       ; @NDSR
	.comm	_NDECCCTRL,8,3                  ; @NDECCCTRL
	.no_dead_strip	_marvell_nfc_reset
.subsections_via_symbols
