	.file	"extr_nand-controller.c_atmel_nand_controller_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Could not retrieve NFC caps\n"
.LC1:
	.string	"atmel,sama5d3-nfc"
.LC2:
	.string	"atmel,nand-has-dma"
.LC3:
	.string	"atmel,nand-addr-offset"
	.text
	.p2align 4
	.type	atmel_nand_controller_probe, @function
atmel_nand_controller_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	test	rax, rax
	je	.L2
	mov	rbp, QWORD PTR [rax]
.L3:
	test	rbp, rbp
	je	.L17
	cmp	QWORD PTR 16[rbp], 0
	jne	.L18
.L6:
	mov	rax, QWORD PTR 0[rbp]
	mov	rsi, rbp
	mov	rdi, r12
	call	[QWORD PTR [rax]]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edi, DWORD PTR [r12]
	lea	rsi, .LC1[rip]
	mov	DWORD PTR 4[rsp], 21
	call	of_get_compatible_child@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L7
	call	of_node_put@PLT
	lea	rbp, atmel_sama5_nand_caps[rip]
.L7:
	mov	eax, DWORD PTR 8[rbp]
	mov	edi, DWORD PTR [r12]
	test	eax, eax
	je	.L20
.L8:
	lea	rdx, 4[rsp]
	lea	rsi, .LC3[rip]
	call	of_property_read_u32@PLT
	cmp	DWORD PTR 4[rsp], 21
	lea	rax, atmel_sam9261_nand_caps[rip]
	cmovne	rbp, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rsi, .LC2[rip]
	call	of_property_read_bool@PLT
	mov	edi, DWORD PTR [r12]
	test	rax, rax
	je	.L8
	lea	rbp, atmel_sam9g45_nand_caps[rip]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L2:
	call	of_device_get_match_data@PLT
	mov	rbp, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	atmel_nand_controller_probe, .-atmel_nand_controller_probe
	.comm	atmel_sama5_nand_caps,24,16
	.comm	atmel_sam9g45_nand_caps,24,16
	.comm	atmel_sam9261_nand_caps,24,16
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_nand-controller.c_atmel_nand_controller_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not retrieve NFC caps\012\000"
	.align	2
.LC1:
	.ascii	"atmel,sama5d3-nfc\000"
	.align	2
.LC2:
	.ascii	"atmel,nand-has-dma\000"
	.align	2
.LC3:
	.ascii	"atmel,nand-addr-offset\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atmel_nand_controller_probe, %function
atmel_nand_controller_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0, #4]
	ldr	r2, .L26
	sub	sp, sp, #12
	cmp	r3, #0
	mov	r5, r0
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	beq	.L2
	ldr	r4, [r3]
.L3:
	cmp	r4, #0
	beq	.L22
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L23
.L6:
	ldr	r3, [r4]
	mov	r0, r5
	mov	r1, r4
	ldr	r3, [r3]
	blx	r3
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L23:
	mov	r3, #21
	ldr	r1, .L26+4
	ldr	r0, [r5]
	str	r3, [sp]
	bl	of_get_compatible_child
	cmp	r0, #0
	beq	.L7
	bl	of_node_put
	ldr	r4, .L26+8
.L7:
	ldr	r3, [r4, #4]
	ldr	r0, [r5]
	cmp	r3, #0
	beq	.L25
.L8:
	mov	r2, sp
	ldr	r1, .L26+12
	bl	of_property_read_u32
	ldr	r2, [sp]
	ldr	r3, .L26+16
	cmp	r2, #21
	movne	r4, r3
	b	.L6
.L25:
	ldr	r1, .L26+20
	bl	of_property_read_bool
	cmp	r0, #0
	ldrne	r4, .L26+24
	ldr	r0, [r5]
	b	.L8
.L2:
	bl	of_device_get_match_data
	mov	r4, r0
	b	.L3
.L22:
	mov	r0, r5
	ldr	r1, .L26+28
	bl	dev_err
	ldr	r3, .L26+32
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L24:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC4
	.word	.LC1
	.word	atmel_sama5_nand_caps
	.word	.LC3
	.word	atmel_sam9261_nand_caps
	.word	.LC2
	.word	atmel_sam9g45_nand_caps
	.word	.LC0
	.word	EINVAL
	.size	atmel_nand_controller_probe, .-atmel_nand_controller_probe
	.comm	atmel_sama5_nand_caps,12,4
	.comm	atmel_sam9g45_nand_caps,12,4
	.comm	atmel_sam9261_nand_caps,12,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
