	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cafe_nand_probe
_cafe_nand_probe:                       ## @cafe_nand_probe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	sarl	$8, %eax
	movq	_PCI_CLASS_MEMORY_FLASH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.3:
	movq	%rdi, %r13
	callq	_pci_enable_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_29
## %bb.4:
	movq	%r13, %rdi
	callq	_pci_set_master
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$104, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r14
	movq	%rax, %rbx
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_nand_to_mtd
	movq	%rax, %r15
	leaq	8(%r13), %r12
	movq	%r12, 8(%rax)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_nand_set_controller_data
	movq	%r13, 88(%r14)
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_pci_iomap
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	_cafe_mul@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$12, %edi
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$8, %r8d
	callq	_init_rs_non_canonical
	movl	%eax, 96(%r14)
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_cafe_nand_cmdfunc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r14)
	movq	_cafe_device_ready@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	movq	_cafe_read_byte@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r14)
	movq	_cafe_read_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	_cafe_write_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r14)
	movq	_cafe_select_chip@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	_nand_get_set_features_notsupp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r14)
	movq	%rax, 32(%r14)
	movq	$0, 24(%r14)
	movq	_NAND_BBT_USE_FLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r14)
	movq	_skipbbt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.11:
	movq	_NAND_SKIP_BBTSCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 72(%r14)
	movq	_cafe_nand_block_bad@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
LBB0_12:
	movq	_numtimings@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_15
## %bb.13:
	cmpl	$3, %edx
	je	LBB0_15
## %bb.14:
	movq	88(%r14), %rdi
	addq	$8, %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_warn
	movl	(%rbx), %edx
LBB0_15:
	cmpl	$3, %edx
	jne	LBB0_17
## %bb.16:
	movq	88(%r14), %rdi
	addq	$8, %rdi
	movq	_timing@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	movl	8(%rax), %r8d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_19
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_warn
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_28
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_27
LBB0_17:
	movq	_NAND_TIMING1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_cafe_readl
	movq	_timing@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	movq	_NAND_TIMING2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_cafe_readl
	movq	(%r15), %rcx
	movl	%eax, 4(%rcx)
	movq	_NAND_TIMING3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_cafe_readl
	movq	(%r15), %rcx
	movl	%eax, 8(%rcx)
	movl	(%rcx), %edx
	movl	4(%rcx), %ecx
	movl	%edx, %esi
	orl	%eax, %esi
	movq	88(%r14), %rdi
	addq	$8, %rdi
	orl	%ecx, %esi
	je	LBB0_20
## %bb.18:
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %r8d
LBB0_19:
	xorl	%eax, %eax
	callq	_cafe_dev_dbg
LBB0_21:
	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	_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	_NAND_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_cafe_writel
	movl	4(%r13), %edi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_cafe_nand_interrupt@GOTPCREL(%rip), %rsi
	leaq	L_.str.5(%rip), %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movl	%eax, %ebx
	movl	4(%r13), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_warn
	jmp	LBB0_27
LBB0_23:
	movq	_GLOBAL_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r15
	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
	xorl	%ebx, %ebx
	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
	movq	_GLOBAL_IRQ_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	$-2147483641, %esi              ## imm = 0x80000007
	callq	_cafe_writel
	movq	88(%r14), %r15
	addq	$8, %r15
	movq	_GLOBAL_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_cafe_readl
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_cafe_readl
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_cafe_dev_dbg
	movq	$0, 80(%r14)
	movq	_cafe_nand_controller_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %esi
	callq	_nand_scan
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_26
## %bb.24:
	movq	%r13, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_pci_set_drvdata
	leaq	L_.str.8(%rip), %rax
	movq	%rax, (%r15)
	movq	_part_probes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_mtd_device_parse_register
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_29
## %bb.25:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_nand_cleanup
LBB0_26:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_cafe_readl
	andl	$-2, %eax
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_cafe_writel
	movl	4(%r13), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_free_irq
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_27:
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_pci_iounmap
LBB0_28:
	movq	%r14, %rdi
	callq	_kfree
                                        ## kill: def $ebx killed $ebx def $rbx
	jmp	LBB0_29
LBB0_20:
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_warn
	movq	(%r15), %rax
	movl	$-1, 8(%rax)
	movq	$-1, (%rax)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_CLASS_MEMORY_FLASH,4,2     ## @PCI_CLASS_MEMORY_FLASH
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to iomap\n"

	.comm	_cafe_mul,4,2                   ## @cafe_mul
	.comm	_cafe_nand_cmdfunc,4,2          ## @cafe_nand_cmdfunc
	.comm	_cafe_device_ready,4,2          ## @cafe_device_ready
	.comm	_cafe_read_byte,4,2             ## @cafe_read_byte
	.comm	_cafe_read_buf,4,2              ## @cafe_read_buf
	.comm	_cafe_write_buf,4,2             ## @cafe_write_buf
	.comm	_cafe_select_chip,4,2           ## @cafe_select_chip
	.comm	_nand_get_set_features_notsupp,8,3 ## @nand_get_set_features_notsupp
	.comm	_NAND_BBT_USE_FLASH,4,2         ## @NAND_BBT_USE_FLASH
	.comm	_skipbbt,8,3                    ## @skipbbt
	.comm	_NAND_SKIP_BBTSCAN,4,2          ## @NAND_SKIP_BBTSCAN
	.comm	_cafe_nand_block_bad,4,2        ## @cafe_nand_block_bad
	.comm	_numtimings,4,2                 ## @numtimings
L_.str.1:                               ## @.str.1
	.asciz	"%d timing register values ignored; precisely three are required\n"

L_.str.2:                               ## @.str.2
	.asciz	"Using provided timings (%08x %08x %08x)\n"

	.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
L_.str.3:                               ## @.str.3
	.asciz	"Timing registers already set (%08x %08x %08x)\n"

L_.str.4:                               ## @.str.4
	.asciz	"Timing registers unset; using most conservative defaults\n"

	.comm	_NAND_RESET,4,2                 ## @NAND_RESET
	.comm	_NAND_IRQ_MASK,4,2              ## @NAND_IRQ_MASK
	.comm	_cafe_nand_interrupt,4,2        ## @cafe_nand_interrupt
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.5:                               ## @.str.5
	.asciz	"CAFE NAND"

L_.str.6:                               ## @.str.6
	.asciz	"Could not register IRQ %d\n"

	.comm	_GLOBAL_CTRL,4,2                ## @GLOBAL_CTRL
	.comm	_NAND_DMA_CTRL,4,2              ## @NAND_DMA_CTRL
	.comm	_GLOBAL_IRQ_MASK,4,2            ## @GLOBAL_IRQ_MASK
L_.str.7:                               ## @.str.7
	.asciz	"Control %x, IRQ mask %x\n"

	.comm	_cafe_nand_controller_ops,4,2   ## @cafe_nand_controller_ops
L_.str.8:                               ## @.str.8
	.asciz	"cafe_nand"

	.comm	_part_probes,4,2                ## @part_probes
	.no_dead_strip	_cafe_nand_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cafe_nand_probe
_cafe_nand_probe:                       ; @cafe_nand_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _PCI_CLASS_MEMORY_FLASH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_CLASS_MEMORY_FLASH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w8, asr #8
	b.ne	LBB0_12
; %bb.1:
	mov	x19, x0
	bl	_pci_enable_device
	mov	x24, x0
	cbnz	w0, LBB0_14
; %bb.2:
	mov	x0, x19
	bl	_pci_set_master
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #104
	bl	_kzalloc
	cbz	x0, LBB0_15
; %bb.3:
	mov	x20, x0
	add	x22, x0, #8
	mov	x0, x22
	bl	_nand_to_mtd
	mov	x21, x0
	add	x23, x19, #8
	str	x23, [x0, #8]
	mov	x0, x22
	mov	x1, x20
	bl	_nand_set_controller_data
	str	x19, [x20, #88]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_pci_iomap
	str	w0, [x20]
	cbz	w0, LBB0_16
; %bb.4:
Lloh6:
	adrp	x1, _cafe_mul@GOTPAGE
Lloh7:
	ldr	x1, [x1, _cafe_mul@GOTPAGEOFF]
	mov	w0, #12
	mov	w2, #0
	mov	w3, #1
	mov	w4, #8
	bl	_init_rs_non_canonical
	str	w0, [x20, #96]
	cbz	w0, LBB0_17
; %bb.5:
Lloh8:
	adrp	x8, _cafe_nand_cmdfunc@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cafe_nand_cmdfunc@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _cafe_device_ready@GOTPAGE
Lloh12:
	ldr	x9, [x9, _cafe_device_ready@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #64]
Lloh14:
	adrp	x8, _cafe_read_byte@GOTPAGE
Lloh15:
	ldr	x8, [x8, _cafe_read_byte@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _cafe_read_buf@GOTPAGE
Lloh18:
	ldr	x9, [x9, _cafe_read_buf@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #56]
Lloh20:
	adrp	x8, _cafe_write_buf@GOTPAGE
Lloh21:
	ldr	x8, [x8, _cafe_write_buf@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _cafe_select_chip@GOTPAGE
Lloh24:
	ldr	x9, [x9, _cafe_select_chip@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _nand_get_set_features_notsupp@GOTPAGE
Lloh27:
	ldr	x10, [x10, _nand_get_set_features_notsupp@GOTPAGEOFF]
	stp	w9, w8, [x20, #48]
Lloh28:
	ldr	x8, [x10]
	str	x8, [x20, #40]
Lloh29:
	adrp	x9, _NAND_BBT_USE_FLASH@GOTPAGE
Lloh30:
	ldr	x9, [x9, _NAND_BBT_USE_FLASH@GOTPAGEOFF]
	stp	xzr, x8, [x20, #24]
Lloh31:
	ldr	w8, [x9]
	str	w8, [x20, #76]
Lloh32:
	adrp	x8, _skipbbt@GOTPAGE
Lloh33:
	ldr	x8, [x8, _skipbbt@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh35:
	adrp	x8, _NAND_SKIP_BBTSCAN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NAND_SKIP_BBTSCAN@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	ldr	w9, [x20, #72]
	orr	w8, w9, w8
	str	w8, [x20, #72]
Lloh38:
	adrp	x8, _cafe_nand_block_bad@GOTPAGE
Lloh39:
	ldr	x8, [x8, _cafe_nand_block_bad@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x20, #16]
LBB0_7:
Lloh41:
	adrp	x24, _numtimings@GOTPAGE
Lloh42:
	ldr	x24, [x24, _numtimings@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	w8, LBB0_10
; %bb.8:
	cmp	w8, #3
	b.eq	LBB0_10
; %bb.9:
	ldr	x9, [x20, #88]
	add	x0, x9, #8
	str	x8, [sp]
Lloh43:
	adrp	x1, l_.str.1@PAGE
Lloh44:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
	ldr	w8, [x24]
LBB0_10:
Lloh45:
	adrp	x24, _timing@GOTPAGE
Lloh46:
	ldr	x24, [x24, _timing@GOTPAGEOFF]
Lloh47:
	adrp	x27, _NAND_TIMING1@GOTPAGE
Lloh48:
	ldr	x27, [x27, _NAND_TIMING1@GOTPAGEOFF]
Lloh49:
	adrp	x26, _NAND_TIMING2@GOTPAGE
Lloh50:
	ldr	x26, [x26, _NAND_TIMING2@GOTPAGEOFF]
Lloh51:
	adrp	x25, _NAND_TIMING3@GOTPAGE
Lloh52:
	ldr	x25, [x25, _NAND_TIMING3@GOTPAGEOFF]
	cmp	w8, #3
	b.ne	LBB0_18
; %bb.11:
	ldr	x8, [x20, #88]
	add	x0, x8, #8
	ldr	x8, [x24]
	ldp	w2, w3, [x8]
	ldr	w8, [x8, #8]
	str	x8, [sp]
Lloh53:
	adrp	x1, l_.str.2@PAGE
Lloh54:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_cafe_dev_dbg
	b	LBB0_21
LBB0_12:
Lloh55:
	adrp	x8, _ENODEV@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_14:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
Lloh57:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_16:
Lloh59:
	adrp	x1, l_.str@PAGE
Lloh60:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_dev_warn
Lloh61:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_28
LBB0_17:
Lloh64:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_27
LBB0_18:
	ldr	w1, [x27]
	mov	x0, x20
	bl	_cafe_readl
	ldr	x8, [x24]
	str	w0, [x8]
	ldr	w1, [x26]
	mov	x0, x20
	bl	_cafe_readl
	ldr	x8, [x24]
	str	w0, [x8, #4]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_cafe_readl
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x24]
	str	w0, [x8, #8]
	ldp	w2, w3, [x8]
	orr	w9, w2, w0
	ldr	x8, [x20, #88]
	add	x8, x8, #8
	orr	w9, w9, w3
	cbz	w9, LBB0_20
; %bb.19:
	str	x0, [sp]
Lloh67:
	adrp	x1, l_.str.3@PAGE
Lloh68:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x8
	bl	_cafe_dev_dbg
	b	LBB0_21
LBB0_20:
Lloh69:
	adrp	x1, l_.str.4@PAGE
Lloh70:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x8
	bl	_dev_warn
	ldr	x8, [x24]
	mov	w9, #-1
	str	w9, [x8, #8]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x8]
LBB0_21:
Lloh71:
	adrp	x28, _NAND_RESET@GOTPAGE
Lloh72:
	ldr	x28, [x28, _NAND_RESET@GOTPAGEOFF]
	ldr	w2, [x28]
	mov	x0, x20
	mov	w1, #1
	bl	_cafe_writel
	ldr	w2, [x28]
	mov	x0, x20
	mov	w1, #0
	bl	_cafe_writel
	ldr	x8, [x24]
	ldr	w1, [x8]
	ldr	w2, [x27]
	mov	x0, x20
	bl	_cafe_writel
	ldr	x8, [x24]
	ldr	w1, [x8, #4]
	ldr	w2, [x26]
	mov	x0, x20
	bl	_cafe_writel
	ldr	x8, [x24]
	ldr	w1, [x8, #8]
	ldr	w2, [x25]
	mov	x0, x20
	bl	_cafe_writel
Lloh73:
	adrp	x8, _NAND_IRQ_MASK@GOTPAGE
Lloh74:
	ldr	x8, [x8, _NAND_IRQ_MASK@GOTPAGEOFF]
Lloh75:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #-1
	bl	_cafe_writel
	ldr	w0, [x19, #4]
Lloh76:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh77:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh78:
	ldr	w2, [x8]
Lloh79:
	adrp	x1, _cafe_nand_interrupt@GOTPAGE
Lloh80:
	ldr	x1, [x1, _cafe_nand_interrupt@GOTPAGEOFF]
Lloh81:
	adrp	x3, l_.str.5@PAGE
Lloh82:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x4, x21
	bl	_request_irq
	cbz	w0, LBB0_23
; %bb.22:
	mov	x24, x0
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh83:
	adrp	x1, l_.str.6@PAGE
Lloh84:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x23
	bl	_dev_warn
	b	LBB0_27
LBB0_23:
Lloh85:
	adrp	x24, _GLOBAL_CTRL@GOTPAGE
Lloh86:
	ldr	x24, [x24, _GLOBAL_CTRL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_cafe_readl
	mov	w8, #-28688
	and	w23, w0, w8
	mov	w8, #28677
	orr	w1, w23, w8
	ldr	w2, [x24]
	mov	x0, x20
	bl	_cafe_writel
	mov	w8, #28682
	orr	w1, w23, w8
	ldr	w2, [x24]
	mov	x0, x20
	bl	_cafe_writel
Lloh87:
	adrp	x8, _NAND_DMA_CTRL@GOTPAGE
Lloh88:
	ldr	x8, [x8, _NAND_DMA_CTRL@GOTPAGEOFF]
Lloh89:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_cafe_writel
	ldr	w2, [x24]
	mov	x0, x20
	mov	w1, #28678
	bl	_cafe_writel
	ldr	w2, [x24]
	mov	x0, x20
	mov	w1, #28682
	bl	_cafe_writel
Lloh90:
	adrp	x25, _GLOBAL_IRQ_MASK@GOTPAGE
Lloh91:
	ldr	x25, [x25, _GLOBAL_IRQ_MASK@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x20
	mov	w1, #-2147483641
	bl	_cafe_writel
	ldr	x8, [x20, #88]
	add	x23, x8, #8
	ldr	w1, [x24]
	mov	x0, x20
	bl	_cafe_readl
	mov	x24, x0
	ldr	w1, [x25]
	mov	x0, x20
	bl	_cafe_readl
	mov	x3, x0
Lloh92:
	adrp	x1, l_.str.7@PAGE
Lloh93:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	mov	x2, x24
	bl	_cafe_dev_dbg
	str	xzr, [x20, #80]
Lloh94:
	adrp	x8, _cafe_nand_controller_ops@GOTPAGE
Lloh95:
	ldr	x8, [x8, _cafe_nand_controller_ops@GOTPAGEOFF]
	str	x8, [x20, #8]
	mov	x0, x22
	mov	w1, #2
	bl	_nand_scan
	mov	x24, x0
	cbnz	w0, LBB0_26
; %bb.24:
	mov	x0, x19
	mov	x1, x21
	bl	_pci_set_drvdata
Lloh96:
	adrp	x8, l_.str.8@PAGE
Lloh97:
	add	x8, x8, l_.str.8@PAGEOFF
	str	x8, [x21]
Lloh98:
	adrp	x8, _part_probes@GOTPAGE
Lloh99:
	ldr	x8, [x8, _part_probes@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_mtd_device_parse_register
	mov	x24, x0
	cbz	w0, LBB0_14
; %bb.25:
	mov	x0, x22
	bl	_nand_cleanup
LBB0_26:
	ldr	w1, [x25]
	mov	x0, x20
	bl	_cafe_readl
	and	w1, w0, #0xfffffffe
	ldr	w2, [x25]
	mov	x0, x20
	bl	_cafe_writel
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_free_irq
LBB0_27:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pci_iounmap
LBB0_28:
	mov	x0, x20
	bl	_kfree
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_CLASS_MEMORY_FLASH,4,2     ; @PCI_CLASS_MEMORY_FLASH
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to iomap\n"

	.comm	_cafe_mul,4,2                   ; @cafe_mul
	.comm	_cafe_nand_cmdfunc,4,2          ; @cafe_nand_cmdfunc
	.comm	_cafe_device_ready,4,2          ; @cafe_device_ready
	.comm	_cafe_read_byte,4,2             ; @cafe_read_byte
	.comm	_cafe_read_buf,4,2              ; @cafe_read_buf
	.comm	_cafe_write_buf,4,2             ; @cafe_write_buf
	.comm	_cafe_select_chip,4,2           ; @cafe_select_chip
	.comm	_nand_get_set_features_notsupp,8,3 ; @nand_get_set_features_notsupp
	.comm	_NAND_BBT_USE_FLASH,4,2         ; @NAND_BBT_USE_FLASH
	.comm	_skipbbt,8,3                    ; @skipbbt
	.comm	_NAND_SKIP_BBTSCAN,4,2          ; @NAND_SKIP_BBTSCAN
	.comm	_cafe_nand_block_bad,4,2        ; @cafe_nand_block_bad
	.comm	_numtimings,4,2                 ; @numtimings
l_.str.1:                               ; @.str.1
	.asciz	"%d timing register values ignored; precisely three are required\n"

l_.str.2:                               ; @.str.2
	.asciz	"Using provided timings (%08x %08x %08x)\n"

	.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
l_.str.3:                               ; @.str.3
	.asciz	"Timing registers already set (%08x %08x %08x)\n"

l_.str.4:                               ; @.str.4
	.asciz	"Timing registers unset; using most conservative defaults\n"

	.comm	_NAND_RESET,4,2                 ; @NAND_RESET
	.comm	_NAND_IRQ_MASK,4,2              ; @NAND_IRQ_MASK
	.comm	_cafe_nand_interrupt,4,2        ; @cafe_nand_interrupt
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.5:                               ; @.str.5
	.asciz	"CAFE NAND"

l_.str.6:                               ; @.str.6
	.asciz	"Could not register IRQ %d\n"

	.comm	_GLOBAL_CTRL,4,2                ; @GLOBAL_CTRL
	.comm	_NAND_DMA_CTRL,4,2              ; @NAND_DMA_CTRL
	.comm	_GLOBAL_IRQ_MASK,4,2            ; @GLOBAL_IRQ_MASK
l_.str.7:                               ; @.str.7
	.asciz	"Control %x, IRQ mask %x\n"

	.comm	_cafe_nand_controller_ops,4,2   ; @cafe_nand_controller_ops
l_.str.8:                               ; @.str.8
	.asciz	"cafe_nand"

	.comm	_part_probes,4,2                ; @part_probes
	.no_dead_strip	_cafe_nand_probe
.subsections_via_symbols
