	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc32xx_nand_probe
_lpc32xx_nand_probe:                    ## @lpc32xx_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$192, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	%r12, 184(%rax)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 32(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.34:
	movl	32(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_33:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%rbx), %eax
	movl	%eax, 176(%r14)
	leaq	40(%r14), %r15
	movq	%r15, %rdi
	callq	_nand_to_mtd
	movq	%rax, %rbx
	cmpl	$0, (%r12)
	je	LBB0_5
## %bb.6:
	movq	%r12, %rdi
	callq	_lpc32xx_parse_dt
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_8
LBB0_9:
	movl	(%rax), %r13d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	je	LBB0_33
## %bb.10:
	movl	%r13d, %edi
	callq	_gpio_is_valid
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_gpio_request
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	8(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_9
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_13:
	movq	%r14, %rdi
	callq	_lpc32xx_wp_disable
	movq	%r12, %rdi
	callq	_dev_get_platdata
	movl	%eax, 36(%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_nand_set_controller_data
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_nand_set_flash_node
	movq	%r12, 8(%rbx)
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_clk_get
	movl	%eax, 16(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_32
LBB0_15:
	movl	16(%r14), %edi
	callq	_clk_prepare_enable
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_31
## %bb.16:
	movq	_lpc32xx_nand_cmd_ctrl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%r14)
	movq	_lpc32xx_nand_device_ready@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r14)
	movl	$25, 48(%r14)
	movl	32(%r14), %edi
	callq	_MLC_DATA
	movq	%rax, 80(%r14)
	movl	32(%r14), %edi
	callq	_MLC_DATA
	movq	%rax, 72(%r14)
	movq	%r14, %rdi
	callq	_lpc32xx_nand_setup
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	_lpc32xx_ecc_enable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 168(%r14)
	movq	_lpc32xx_read_page@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 160(%r14)
	movq	%rax, 152(%r14)
	movq	_lpc32xx_write_page_lowlevel@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 144(%r14)
	movq	%rax, 136(%r14)
	movq	_lpc32xx_write_oob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 132(%r14)
	movq	_lpc32xx_read_oob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%r14)
	movabsq	$42949672964, %rax              ## imm = 0xA00000004
	movq	%rax, 120(%r14)
	movq	_lpc32xx_waitfunc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	movq	_NAND_NO_SUBPAGE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r14)
	movq	_NAND_BBT_USE_FLASH@GOTPCREL(%rip), %rax
	movq	_NAND_BBT_NO_OOB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 40(%r14)
	movq	_lpc32xx_nand_bbt@GOTPCREL(%rip), %rax
	movq	%rax, 104(%r14)
	movq	_lpc32xx_nand_bbt_mirror@GOTPCREL(%rip), %rax
	movq	%rax, 96(%r14)
	movq	_use_dma@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.17:
	movq	%r14, %rdi
	callq	_lpc32xx_dma_setup
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_30
LBB0_19:
	movl	32(%r14), %edi
	callq	_MLC_IRQ_SR
	movl	%eax, %edi
	callq	_readb
	leaq	28(%r14), %rdi
	callq	_init_completion
	movq	%r14, %rdi
	addq	$24, %rdi
	callq	_init_completion
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, (%r14)
	testq	%rax, %rax
	js	LBB0_20
## %bb.21:
	movq	_IRQF_TRIGGER_HIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_DRV_NAME@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	_lpc3xxx_nand_irq@GOTPCREL(%rip), %esi
	movq	%rax, %rdi
	movq	%r14, %r8
	callq	_request_irq
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_28
LBB0_20:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_28
LBB0_23:
	movq	%r13, %r12
	movq	_lpc32xx_nand_controller_ops@GOTPCREL(%rip), %rax
	movq	%rax, 56(%r14)
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_nand_scan
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_27
## %bb.24:
	movl	(%r12), %eax
	movl	%eax, (%rbx)
	movq	8(%r14), %rax
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	callq	_mtd_device_register
	testl	%eax, %eax
	je	LBB0_25
## %bb.26:
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_nand_cleanup
LBB0_27:
	movq	(%r14), %rdi
	movq	%r14, %rsi
	callq	_free_irq
LBB0_28:
	movq	_use_dma@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_30
## %bb.29:
	movl	20(%r14), %edi
	callq	_dma_release_channel
LBB0_30:
	movl	16(%r14), %edi
	callq	_clk_disable_unprepare
LBB0_31:
	movl	16(%r14), %edi
	callq	_clk_put
LBB0_32:
	movq	%r14, %rdi
	callq	_lpc32xx_wp_enable
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_gpio_free
	jmp	LBB0_33
LBB0_25:
	xorl	%r13d, %r13d
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing or bad NAND config from device tree\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.1:                               ## @.str.1
	.asciz	"NAND WP"

L_.str.2:                               ## @.str.2
	.asciz	"GPIO not available\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.3:                               ## @.str.3
	.asciz	"Clock initialization failure\n"

	.comm	_lpc32xx_nand_cmd_ctrl,4,2      ## @lpc32xx_nand_cmd_ctrl
	.comm	_lpc32xx_nand_device_ready,4,2  ## @lpc32xx_nand_device_ready
	.comm	_lpc32xx_ecc_enable,4,2         ## @lpc32xx_ecc_enable
	.comm	_lpc32xx_read_page,8,3          ## @lpc32xx_read_page
	.comm	_lpc32xx_write_page_lowlevel,8,3 ## @lpc32xx_write_page_lowlevel
	.comm	_lpc32xx_write_oob,4,2          ## @lpc32xx_write_oob
	.comm	_lpc32xx_read_oob,4,2           ## @lpc32xx_read_oob
	.comm	_lpc32xx_waitfunc,4,2           ## @lpc32xx_waitfunc
	.comm	_NAND_NO_SUBPAGE_WRITE,4,2      ## @NAND_NO_SUBPAGE_WRITE
	.comm	_NAND_BBT_USE_FLASH,4,2         ## @NAND_BBT_USE_FLASH
	.comm	_NAND_BBT_NO_OOB,4,2            ## @NAND_BBT_NO_OOB
	.comm	_lpc32xx_nand_bbt,4,2           ## @lpc32xx_nand_bbt
	.comm	_lpc32xx_nand_bbt_mirror,4,2    ## @lpc32xx_nand_bbt_mirror
	.comm	_use_dma,8,3                    ## @use_dma
	.comm	_EIO,4,2                        ## @EIO
L_.str.4:                               ## @.str.4
	.asciz	"failed to get platform irq\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_lpc3xxx_nand_irq,4,2           ## @lpc3xxx_nand_irq
	.comm	_IRQF_TRIGGER_HIGH,4,2          ## @IRQF_TRIGGER_HIGH
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
L_.str.5:                               ## @.str.5
	.asciz	"Error requesting NAND IRQ\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_lpc32xx_nand_controller_ops,4,2 ## @lpc32xx_nand_controller_ops
	.no_dead_strip	_lpc32xx_nand_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function lpc32xx_nand_probe
lCPI0_0:
	.long	4                               ; 0x4
	.long	10                              ; 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lpc32xx_nand_probe:                    ; @lpc32xx_nand_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #192
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #184]
Lloh3:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_devm_ioremap_resource
	str	w0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x19, #32]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_5:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w8, [x21]
	str	w8, [x19, #176]
	add	x21, x19, #40
	mov	x0, x21
	bl	_nand_to_mtd
	mov	x22, x0
	ldr	w8, [x20]
	cbz	w8, LBB0_12
; %bb.7:
	mov	x0, x20
	bl	_lpc32xx_parse_dt
	str	x0, [x19, #8]
	cbz	x0, LBB0_13
LBB0_8:
	ldr	w23, [x0]
Lloh8:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmn	w23, w8
	b.eq	LBB0_5
; %bb.9:
	mov	x0, x23
	bl	_gpio_is_valid
	cbz	x0, LBB0_14
; %bb.10:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_gpio_request
	cbz	x0, LBB0_14
; %bb.11:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh15:
	adrp	x8, _EBUSY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_12:
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_8
LBB0_13:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh19:
	adrp	x8, _ENOENT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_4
LBB0_14:
	mov	x0, x19
	bl	_lpc32xx_wp_disable
	mov	x0, x20
	bl	_dev_get_platdata
	str	w0, [x19, #36]
	mov	x0, x21
	mov	x1, x19
	bl	_nand_set_controller_data
	ldr	w1, [x20]
	mov	x0, x21
	bl	_nand_set_flash_node
	str	x20, [x22, #8]
	mov	x0, x20
	mov	x1, #0
	bl	_clk_get
	str	w0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.15:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh23:
	adrp	x8, _ENOENT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_33
LBB0_16:
	ldr	w0, [x19, #16]
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_32
; %bb.17:
Lloh26:
	adrp	x8, _lpc32xx_nand_cmd_ctrl@GOTPAGE
Lloh27:
	ldr	x8, [x8, _lpc32xx_nand_cmd_ctrl@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _lpc32xx_nand_device_ready@GOTPAGE
Lloh30:
	ldr	x9, [x9, _lpc32xx_nand_device_ready@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #88]
	mov	w8, #25
	str	w8, [x19, #48]
	ldr	w0, [x19, #32]
	bl	_MLC_DATA
	str	x0, [x19, #80]
	ldr	w0, [x19, #32]
	bl	_MLC_DATA
	str	x0, [x19, #72]
	mov	x0, x19
	bl	_lpc32xx_nand_setup
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
Lloh32:
	adrp	x8, _lpc32xx_ecc_enable@GOTPAGE
Lloh33:
	ldr	x8, [x8, _lpc32xx_ecc_enable@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [x19, #168]
Lloh35:
	adrp	x8, _lpc32xx_read_page@GOTPAGE
Lloh36:
	ldr	x8, [x8, _lpc32xx_read_page@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #152]
Lloh38:
	adrp	x8, _lpc32xx_write_page_lowlevel@GOTPAGE
Lloh39:
	ldr	x8, [x8, _lpc32xx_write_page_lowlevel@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #136]
Lloh41:
	adrp	x8, _lpc32xx_write_oob@GOTPAGE
Lloh42:
	ldr	x8, [x8, _lpc32xx_write_oob@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _lpc32xx_read_oob@GOTPAGE
Lloh45:
	ldr	x9, [x9, _lpc32xx_read_oob@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #128]
Lloh47:
	adrp	x8, lCPI0_0@PAGE
Lloh48:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh49:
	adrp	x8, _lpc32xx_waitfunc@GOTPAGE
Lloh50:
	ldr	x8, [x8, _lpc32xx_waitfunc@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	str	w8, [x19, #64]
Lloh52:
	adrp	x8, _NAND_NO_SUBPAGE_WRITE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _NAND_NO_SUBPAGE_WRITE@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	str	w8, [x19, #112]
Lloh55:
	adrp	x8, _NAND_BBT_USE_FLASH@GOTPAGE
Lloh56:
	ldr	x8, [x8, _NAND_BBT_USE_FLASH@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
Lloh58:
	adrp	x9, _NAND_BBT_NO_OOB@GOTPAGE
Lloh59:
	ldr	x9, [x9, _NAND_BBT_NO_OOB@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #40]
Lloh61:
	adrp	x8, _lpc32xx_nand_bbt@GOTPAGE
Lloh62:
	ldr	x8, [x8, _lpc32xx_nand_bbt@GOTPAGEOFF]
Lloh63:
	adrp	x9, _lpc32xx_nand_bbt_mirror@GOTPAGE
Lloh64:
	ldr	x9, [x9, _lpc32xx_nand_bbt_mirror@GOTPAGEOFF]
	str	d0, [x19, #120]
	stp	x9, x8, [x19, #96]
Lloh65:
	adrp	x24, _use_dma@GOTPAGE
Lloh66:
	ldr	x24, [x24, _use_dma@GOTPAGEOFF]
	ldr	x8, [x24]
	cbz	x8, LBB0_20
; %bb.18:
	mov	x0, x19
	bl	_lpc32xx_dma_setup
	cbz	w0, LBB0_20
; %bb.19:
Lloh67:
	adrp	x8, _EIO@GOTPAGE
Lloh68:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_31
LBB0_20:
	ldr	w0, [x19, #32]
	bl	_MLC_IRQ_SR
	bl	_readb
	add	x0, x19, #28
	bl	_init_completion
	add	x0, x19, #24
	bl	_init_completion
	mov	x0, x20
	mov	w1, #0
	bl	_platform_get_irq
	str	x0, [x19]
	tbnz	x0, #63, LBB0_23
; %bb.21:
Lloh70:
	adrp	x8, _IRQF_TRIGGER_HIGH@GOTPAGE
Lloh71:
	ldr	x8, [x8, _IRQF_TRIGGER_HIGH@GOTPAGEOFF]
Lloh72:
	ldr	w2, [x8]
Lloh73:
	adrp	x25, _DRV_NAME@GOTPAGE
Lloh74:
	ldr	x25, [x25, _DRV_NAME@GOTPAGEOFF]
	ldr	w3, [x25]
Lloh75:
	adrp	x1, _lpc3xxx_nand_irq@GOTPAGE
Lloh76:
	ldr	x1, [x1, _lpc3xxx_nand_irq@GOTPAGEOFF]
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x4, x19
	bl	_request_irq
	cbz	x0, LBB0_25
; %bb.22:
Lloh77:
	adrp	x1, l_.str.5@PAGE
Lloh78:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh79:
	adrp	x8, _ENXIO@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:
Lloh81:
	adrp	x1, l_.str.4@PAGE
Lloh82:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh83:
	adrp	x8, _EINVAL@GOTPAGE
Lloh84:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_24:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_29
LBB0_25:
Lloh85:
	adrp	x8, _lpc32xx_nand_controller_ops@GOTPAGE
Lloh86:
	ldr	x8, [x8, _lpc32xx_nand_controller_ops@GOTPAGEOFF]
	str	x8, [x19, #56]
	mov	x0, x21
	mov	w1, #1
	bl	_nand_scan
	mov	x23, x0
	cbnz	w0, LBB0_28
; %bb.26:
	ldr	w8, [x25]
	str	w8, [x22]
	ldr	x8, [x19, #8]
	ldp	w2, w1, [x8, #4]
	mov	x0, x22
	bl	_mtd_device_register
	mov	x23, x0
	cbz	w0, LBB0_5
; %bb.27:
	mov	x0, x21
	bl	_nand_cleanup
LBB0_28:
	ldr	x0, [x19]
	mov	x1, x19
	bl	_free_irq
LBB0_29:
	ldr	x8, [x24]
	cbz	x8, LBB0_31
; %bb.30:
	ldr	w0, [x19, #20]
	bl	_dma_release_channel
LBB0_31:
	ldr	w0, [x19, #16]
	bl	_clk_disable_unprepare
LBB0_32:
	ldr	w0, [x19, #16]
	bl	_clk_put
LBB0_33:
	mov	x0, x19
	bl	_lpc32xx_wp_enable
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_gpio_free
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdrp	Lloh47, Lloh49
	.loh AdrpLdr	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing or bad NAND config from device tree\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.1:                               ; @.str.1
	.asciz	"NAND WP"

l_.str.2:                               ; @.str.2
	.asciz	"GPIO not available\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.3:                               ; @.str.3
	.asciz	"Clock initialization failure\n"

	.comm	_lpc32xx_nand_cmd_ctrl,4,2      ; @lpc32xx_nand_cmd_ctrl
	.comm	_lpc32xx_nand_device_ready,4,2  ; @lpc32xx_nand_device_ready
	.comm	_lpc32xx_ecc_enable,4,2         ; @lpc32xx_ecc_enable
	.comm	_lpc32xx_read_page,8,3          ; @lpc32xx_read_page
	.comm	_lpc32xx_write_page_lowlevel,8,3 ; @lpc32xx_write_page_lowlevel
	.comm	_lpc32xx_write_oob,4,2          ; @lpc32xx_write_oob
	.comm	_lpc32xx_read_oob,4,2           ; @lpc32xx_read_oob
	.comm	_lpc32xx_waitfunc,4,2           ; @lpc32xx_waitfunc
	.comm	_NAND_NO_SUBPAGE_WRITE,4,2      ; @NAND_NO_SUBPAGE_WRITE
	.comm	_NAND_BBT_USE_FLASH,4,2         ; @NAND_BBT_USE_FLASH
	.comm	_NAND_BBT_NO_OOB,4,2            ; @NAND_BBT_NO_OOB
	.comm	_lpc32xx_nand_bbt,4,2           ; @lpc32xx_nand_bbt
	.comm	_lpc32xx_nand_bbt_mirror,4,2    ; @lpc32xx_nand_bbt_mirror
	.comm	_use_dma,8,3                    ; @use_dma
	.comm	_EIO,4,2                        ; @EIO
l_.str.4:                               ; @.str.4
	.asciz	"failed to get platform irq\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_lpc3xxx_nand_irq,4,2           ; @lpc3xxx_nand_irq
	.comm	_IRQF_TRIGGER_HIGH,4,2          ; @IRQF_TRIGGER_HIGH
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
l_.str.5:                               ; @.str.5
	.asciz	"Error requesting NAND IRQ\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_lpc32xx_nand_controller_ops,4,2 ; @lpc32xx_nand_controller_ops
	.no_dead_strip	_lpc32xx_nand_probe
.subsections_via_symbols
