	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_nand_create
_atmel_nand_create:                     ## @atmel_nand_create
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	leal	(,%rdx,8), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_property_count_elems_of_size
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	testl	%eax, %eax
	jle	LBB0_22
## %bb.1:
	movl	%eax, %r13d
	movq	_cs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edx
	callq	_struct_size
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_23
## %bb.2:
	movq	%rax, %rbx
	movl	%r13d, (%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %r9
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_devm_fwnode_get_index_gpiod_from_child
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_25
LBB0_4:
	movq	%r12, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%r12, 16(%rbx)
LBB0_6:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	incq	%r13
	addl	-88(%rbp), %r12d                ## 4-byte Folded Reload
	addq	$56, %r15
	cmpq	%r13, -80(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_29
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	leaq	-56(%rbp), %rdx
	callq	_of_address_to_resource
	testl	%eax, %eax
	jne	LBB0_26
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	leaq	-72(%rbp), %rcx
	callq	_of_property_read_u32_index
	testl	%eax, %eax
	jne	LBB0_26
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rcx
	movq	%rax, 48(%rcx,%r15)
	movl	-56(%rbp), %eax
	movl	%eax, 40(%rcx,%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-56(%rbp), %rsi
	callq	_devm_ioremap_resource
	movq	8(%rbx), %rcx
	movq	%rax, 32(%rcx,%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_28
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.7(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.8(%rip), %rsi
	movl	%r13d, %edx
	movq	%r14, %rcx
	leaq	L_.str.9(%rip), %r9
	callq	_devm_fwnode_get_index_gpiod_from_child
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_31
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_ATMEL_NAND_GPIO_RB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	%eax, 16(%rcx,%r15)
	movq	%rbx, 8(%rcx,%r15)
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rax
	movq	_ATMEL_NFC_MAX_RB_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_36
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_ATMEL_NAND_NATIVE_RB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%rbx), %rdx
	movl	%ecx, 16(%rdx,%r15)
	movq	%rax, 24(%rdx,%r15)
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_GPIOD_OUT_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.11(%rip), %rsi
	movl	%r13d, %edx
	movq	%r14, %rcx
	leaq	L_.str.12(%rip), %r9
	callq	_devm_fwnode_get_index_gpiod_from_child
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_30
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_7
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rbx, (%rax,%r15)
	jmp	LBB0_7
LBB0_22:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movl	%r14d, %edi
	jmp	LBB0_24
LBB0_23:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %edi
LBB0_24:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_25:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_PTR_ERR
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r12, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_CAST                       ## TAILCALL
LBB0_26:
	movl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%ebx, %edi
LBB0_27:
	callq	_ERR_PTR
	jmp	LBB0_34
LBB0_28:
	movl	%r13d, %eax
	movq	8(%rbx), %rcx
	imulq	$56, %rax, %rax
	movq	32(%rcx,%rax), %rdi
	jmp	LBB0_33
LBB0_29:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	addq	$4, %rdi
	movq	%r14, %rsi
	callq	_nand_set_flash_node
	jmp	LBB0_35
LBB0_30:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_PTR_ERR
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_32
LBB0_31:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_PTR_ERR
	leaq	L_.str.10(%rip), %rsi
LBB0_32:
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%rbx, %rdi
LBB0_33:
	callq	_ERR_CAST
LBB0_34:
	movq	%rax, %rbx
LBB0_35:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reg"

L_.str.1:                               ## @.str.1
	.asciz	"Missing or invalid reg property\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_cs,4,2                         ## @cs
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.2:                               ## @.str.2
	.asciz	"Failed to allocate NAND object\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"det"

	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
L_.str.4:                               ## @.str.4
	.asciz	"nand-det"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.5:                               ## @.str.5
	.asciz	"Failed to get detect gpio (err = %ld)\n"

L_.str.6:                               ## @.str.6
	.asciz	"Invalid reg property (err = %d)\n"

L_.str.7:                               ## @.str.7
	.asciz	"atmel,rb"

	.comm	_ATMEL_NFC_MAX_RB_ID,8,3        ## @ATMEL_NFC_MAX_RB_ID
	.comm	_ATMEL_NAND_NATIVE_RB,4,2       ## @ATMEL_NAND_NATIVE_RB
L_.str.8:                               ## @.str.8
	.asciz	"rb"

L_.str.9:                               ## @.str.9
	.asciz	"nand-rb"

L_.str.10:                              ## @.str.10
	.asciz	"Failed to get R/B gpio (err = %ld)\n"

	.comm	_ATMEL_NAND_GPIO_RB,4,2         ## @ATMEL_NAND_GPIO_RB
L_.str.11:                              ## @.str.11
	.asciz	"cs"

	.comm	_GPIOD_OUT_HIGH,4,2             ## @GPIOD_OUT_HIGH
L_.str.12:                              ## @.str.12
	.asciz	"nand-cs"

L_.str.13:                              ## @.str.13
	.asciz	"Failed to get CS gpio (err = %ld)\n"

	.no_dead_strip	_atmel_nand_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_nand_create
_atmel_nand_create:                     ; @atmel_nand_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	lsl	w2, w2, #3
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_of_property_count_elems_of_size
	ldr	w21, [x19]
	cmp	w0, #0
	b.le	LBB0_22
; %bb.1:
	mov	x25, x0
Lloh2:
	adrp	x8, _cs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cs@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x0
	bl	_struct_size
	mov	x1, x0
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_devm_kzalloc
	cbz	x0, LBB0_23
; %bb.2:
	mov	x21, x0
	str	w25, [x0]
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh13:
	adrp	x5, l_.str.4@PAGE
Lloh14:
	add	x5, x5, l_.str.4@PAGEOFF
	mov	w2, #0
	mov	x3, x20
	bl	_devm_fwnode_get_index_gpiod_from_child
	mov	x23, x0
	bl	_IS_ERR
Lloh15:
	adrp	x24, _ENOENT@GOTPAGE
Lloh16:
	ldr	x24, [x24, _ENOENT@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x23
	bl	_PTR_ERR
	ldr	w8, [x24]
	cmn	w0, w8
	b.ne	LBB0_25
LBB0_4:
	mov	x0, x23
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.5:
	str	x23, [x21, #16]
LBB0_6:
	mov	w24, #0
	mov	x23, #0
	mov	w28, w25
	mov	w26, #48
Lloh17:
	adrp	x25, l_.str@PAGE
Lloh18:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	add	w24, w24, w22
	add	x26, x26, #56
	cmp	x28, x23
	b.eq	LBB0_29
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #24
	mov	x0, x20
	mov	w1, #0
	bl	_of_address_to_resource
	cbnz	w0, LBB0_26
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x25
	mov	x2, x24
	bl	_of_property_read_u32_index
	cbnz	w0, LBB0_26
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [x21, #8]
	add	x9, x9, x26
	str	x8, [x9]
	ldr	w8, [sp, #24]
	stur	w8, [x9, #-8]
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_devm_ioremap_resource
	ldr	x8, [x21, #8]
	add	x8, x8, x26
	stur	x0, [x8, #-16]
	bl	_IS_ERR
	cbnz	x0, LBB0_28
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x2, sp, #16
	mov	x0, x20
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_of_property_read_u32
	cbz	w0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19]
Lloh21:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x23
	mov	x3, x20
Lloh26:
	adrp	x5, l_.str.9@PAGE
Lloh27:
	add	x5, x5, l_.str.9@PAGEOFF
	bl	_devm_fwnode_get_index_gpiod_from_child
	mov	x27, x0
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x27
	bl	_PTR_ERR
Lloh28:
	adrp	x8, _ENOENT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_31
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x27
	bl	_IS_ERR
	cbnz	x0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh31:
	adrp	x8, _ATMEL_NAND_GPIO_RB@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ATMEL_NAND_GPIO_RB@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	ldr	x9, [x21, #8]
	add	x9, x9, x26
	stur	w8, [x9, #-32]
	stur	x27, [x9, #-40]
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #16]
Lloh34:
	adrp	x9, _ATMEL_NFC_MAX_RB_ID@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ATMEL_NFC_MAX_RB_ID@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_36
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh37:
	adrp	x9, _ATMEL_NAND_NATIVE_RB@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ATMEL_NAND_NATIVE_RB@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	ldr	x10, [x21, #8]
	add	x10, x10, x26
	stur	w9, [x10, #-32]
	stur	x8, [x10, #-24]
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19]
Lloh40:
	adrp	x8, _GPIOD_OUT_HIGH@GOTPAGE
Lloh41:
	ldr	x8, [x8, _GPIOD_OUT_HIGH@GOTPAGEOFF]
Lloh42:
	ldr	w4, [x8]
Lloh43:
	adrp	x1, l_.str.11@PAGE
Lloh44:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x2, x23
	mov	x3, x20
Lloh45:
	adrp	x5, l_.str.12@PAGE
Lloh46:
	add	x5, x5, l_.str.12@PAGEOFF
	bl	_devm_fwnode_get_index_gpiod_from_child
	mov	x27, x0
	bl	_IS_ERR
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x27
	bl	_PTR_ERR
Lloh47:
	adrp	x8, _ENOENT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_30
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x27
	bl	_IS_ERR
	cbnz	x0, LBB0_7
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21, #8]
	add	x8, x8, x26
	stur	x27, [x8, #-48]
	b	LBB0_7
LBB0_22:
Lloh50:
	adrp	x1, l_.str.1@PAGE
Lloh51:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh52:
	adrp	x8, _EINVAL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:
	ldr	w0, [x19]
Lloh54:
	adrp	x1, l_.str.2@PAGE
Lloh55:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_24:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ERR_PTR
LBB0_25:
	ldr	w19, [x19]
	mov	x0, x23
	bl	_PTR_ERR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh58:
	adrp	x1, l_.str.5@PAGE
Lloh59:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ERR_CAST
LBB0_26:
	mov	x27, x0
	ldr	w0, [x19]
	str	x27, [sp]
Lloh60:
	adrp	x1, l_.str.6@PAGE
Lloh61:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_err
	mov	x0, x27
LBB0_27:
	bl	_ERR_PTR
	b	LBB0_34
LBB0_28:
	and	x8, x23, #0xffffffff
	ldr	x9, [x21, #8]
	mov	w10, #56
	madd	x8, x8, x10, x9
	ldr	x0, [x8, #32]
	b	LBB0_33
LBB0_29:
	add	x0, x21, #4
	mov	x1, x20
	bl	_nand_set_flash_node
	b	LBB0_35
LBB0_30:
	ldr	w19, [x19]
	mov	x0, x27
	bl	_PTR_ERR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh62:
	adrp	x1, l_.str.13@PAGE
Lloh63:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_32
LBB0_31:
	ldr	w19, [x19]
	mov	x0, x27
	bl	_PTR_ERR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh64:
	adrp	x1, l_.str.10@PAGE
Lloh65:
	add	x1, x1, l_.str.10@PAGEOFF
LBB0_32:
	mov	x0, x19
	bl	_dev_err
	mov	x0, x27
LBB0_33:
	bl	_ERR_CAST
LBB0_34:
	mov	x21, x0
LBB0_35:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_36:
Lloh66:
	adrp	x8, _EINVAL@GOTPAGE
Lloh67:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_27
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reg"

l_.str.1:                               ; @.str.1
	.asciz	"Missing or invalid reg property\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_cs,4,2                         ; @cs
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.2:                               ; @.str.2
	.asciz	"Failed to allocate NAND object\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"det"

	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
l_.str.4:                               ; @.str.4
	.asciz	"nand-det"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.5:                               ; @.str.5
	.asciz	"Failed to get detect gpio (err = %ld)\n"

l_.str.6:                               ; @.str.6
	.asciz	"Invalid reg property (err = %d)\n"

l_.str.7:                               ; @.str.7
	.asciz	"atmel,rb"

	.comm	_ATMEL_NFC_MAX_RB_ID,8,3        ; @ATMEL_NFC_MAX_RB_ID
	.comm	_ATMEL_NAND_NATIVE_RB,4,2       ; @ATMEL_NAND_NATIVE_RB
l_.str.8:                               ; @.str.8
	.asciz	"rb"

l_.str.9:                               ; @.str.9
	.asciz	"nand-rb"

l_.str.10:                              ; @.str.10
	.asciz	"Failed to get R/B gpio (err = %ld)\n"

	.comm	_ATMEL_NAND_GPIO_RB,4,2         ; @ATMEL_NAND_GPIO_RB
l_.str.11:                              ; @.str.11
	.asciz	"cs"

	.comm	_GPIOD_OUT_HIGH,4,2             ; @GPIOD_OUT_HIGH
l_.str.12:                              ; @.str.12
	.asciz	"nand-cs"

l_.str.13:                              ; @.str.13
	.asciz	"Failed to get CS gpio (err = %ld)\n"

	.no_dead_strip	_atmel_nand_create
.subsections_via_symbols
