	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cafe_nand_resume
_cafe_nand_resume:                      ## @cafe_nand_resume
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_pci_get_drvdata
	movq	(%rax), %r14
	movq	_NAND_RESET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_cafe_writel
	movl	(%rbx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cafe_writel
	movq	_NAND_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_cafe_writel
	movq	_timing@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	_NAND_TIMING1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_cafe_writel
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	movq	_NAND_TIMING2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_cafe_writel
	movq	(%rbx), %rax
	movl	8(%rax), %esi
	movq	_NAND_TIMING3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_cafe_writel
	movq	_GLOBAL_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_cafe_readl
	movl	%eax, %ebx
	andl	$-28688, %ebx                   ## imm = 0x8FF0
	leal	28677(%rbx), %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_cafe_writel
	orl	$28682, %ebx                    ## imm = 0x700A
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_cafe_writel
	movq	_NAND_DMA_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cafe_writel
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	$28678, %esi                    ## imm = 0x7006
	callq	_cafe_writel
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	$28682, %esi                    ## imm = 0x700A
	callq	_cafe_writel
	movl	(%r14), %esi
	movq	_NAND_DMA_ADDR0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_cafe_writel
	movq	_NAND_DMA_ADDR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cafe_writel
	movq	_GLOBAL_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$-2147483641, %esi              ## imm = 0x80000007
	callq	_cafe_writel
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_RESET,4,2                 ## @NAND_RESET
	.comm	_NAND_IRQ_MASK,4,2              ## @NAND_IRQ_MASK
	.comm	_timing,8,3                     ## @timing
	.comm	_NAND_TIMING1,4,2               ## @NAND_TIMING1
	.comm	_NAND_TIMING2,4,2               ## @NAND_TIMING2
	.comm	_NAND_TIMING3,4,2               ## @NAND_TIMING3
	.comm	_GLOBAL_CTRL,4,2                ## @GLOBAL_CTRL
	.comm	_NAND_DMA_CTRL,4,2              ## @NAND_DMA_CTRL
	.comm	_NAND_DMA_ADDR0,4,2             ## @NAND_DMA_ADDR0
	.comm	_NAND_DMA_ADDR1,4,2             ## @NAND_DMA_ADDR1
	.comm	_GLOBAL_IRQ_MASK,4,2            ## @GLOBAL_IRQ_MASK
	.no_dead_strip	_cafe_nand_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cafe_nand_resume
_cafe_nand_resume:                      ; @cafe_nand_resume
	.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
	bl	_pci_get_drvdata
	ldr	x19, [x0]
Lloh0:
	adrp	x20, _NAND_RESET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NAND_RESET@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #1
	bl	_cafe_writel
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #0
	bl	_cafe_writel
Lloh2:
	adrp	x8, _NAND_IRQ_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NAND_IRQ_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #-1
	bl	_cafe_writel
Lloh5:
	adrp	x20, _timing@GOTPAGE
Lloh6:
	ldr	x20, [x20, _timing@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _NAND_TIMING1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NAND_TIMING1@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_cafe_writel
	ldr	x8, [x20]
	ldr	w1, [x8, #4]
Lloh10:
	adrp	x8, _NAND_TIMING2@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NAND_TIMING2@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_cafe_writel
	ldr	x8, [x20]
	ldr	w1, [x8, #8]
Lloh13:
	adrp	x8, _NAND_TIMING3@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NAND_TIMING3@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_cafe_writel
Lloh16:
	adrp	x20, _GLOBAL_CTRL@GOTPAGE
Lloh17:
	ldr	x20, [x20, _GLOBAL_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_cafe_readl
	mov	w8, #-28688
	and	w21, w0, w8
	mov	w8, #28677
	orr	w1, w21, w8
	ldr	w2, [x20]
	mov	x0, x19
	bl	_cafe_writel
	mov	w8, #28682
	orr	w1, w21, w8
	ldr	w2, [x20]
	mov	x0, x19
	bl	_cafe_writel
Lloh18:
	adrp	x8, _NAND_DMA_CTRL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NAND_DMA_CTRL@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_cafe_writel
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #28678
	bl	_cafe_writel
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #28682
	bl	_cafe_writel
	ldr	w1, [x19]
Lloh21:
	adrp	x8, _NAND_DMA_ADDR0@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NAND_DMA_ADDR0@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_cafe_writel
Lloh24:
	adrp	x8, _NAND_DMA_ADDR1@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NAND_DMA_ADDR1@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_cafe_writel
Lloh27:
	adrp	x8, _GLOBAL_IRQ_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GLOBAL_IRQ_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #-2147483641
	bl	_cafe_writel
	mov	w0, #0
	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	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_RESET,4,2                 ; @NAND_RESET
	.comm	_NAND_IRQ_MASK,4,2              ; @NAND_IRQ_MASK
	.comm	_timing,8,3                     ; @timing
	.comm	_NAND_TIMING1,4,2               ; @NAND_TIMING1
	.comm	_NAND_TIMING2,4,2               ; @NAND_TIMING2
	.comm	_NAND_TIMING3,4,2               ; @NAND_TIMING3
	.comm	_GLOBAL_CTRL,4,2                ; @GLOBAL_CTRL
	.comm	_NAND_DMA_CTRL,4,2              ; @NAND_DMA_CTRL
	.comm	_NAND_DMA_ADDR0,4,2             ; @NAND_DMA_ADDR0
	.comm	_NAND_DMA_ADDR1,4,2             ; @NAND_DMA_ADDR1
	.comm	_GLOBAL_IRQ_MASK,4,2            ; @GLOBAL_IRQ_MASK
	.no_dead_strip	_cafe_nand_resume
.subsections_via_symbols
