	.file	"extr_sunxi_sid.c_sunxi_sid_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sunxi-sid"
	.text
	.p2align 4
	.type	sunxi_sid_probe, @function
sunxi_sid_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	esi, 16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	call	devm_kzalloc@PLT
	test	rax, rax
	je	.L12
	mov	rdi, rbp
	mov	r12, rax
	call	of_device_get_match_data@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	test	rbx, rbx
	je	.L1
	mov	eax, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, rbp
	mov	DWORD PTR 8[r12], eax
	call	platform_get_resource@PLT
	mov	rdi, rbp
	mov	rsi, rax
	call	devm_ioremap_resource@PLT
	mov	QWORD PTR [r12], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L15
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 48
	mov	rdi, rbp
	mov	r15d, DWORD PTR [rbx]
	call	devm_kzalloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L12
	mov	QWORD PTR 40[rax], rbp
	lea	rax, .LC0[rip]
	cmp	QWORD PTR 8[rbx], 0
	mov	QWORD PTR 0[r13], rax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 8[r13], 1
	mov	DWORD PTR 12[r13], eax
	movabs	rax, 17179869185
	mov	QWORD PTR 16[r13], rax
	mov	QWORD PTR 32[r13], r12
	jne	.L10
	mov	rax, QWORD PTR sunxi_sid_read@GOTPCREL[rip]
.L7:
	mov	QWORD PTR 24[r13], rax
	mov	rdi, rbp
	mov	rsi, r13
	call	devm_nvmem_register@PLT
	mov	rdi, rax
	mov	r14, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L16
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, r15d
	call	kzalloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L12
	mov	ecx, r15d
	mov	rdx, rax
	xor	esi, esi
	mov	rdi, r12
	call	[QWORD PTR 24[r13]]
	mov	esi, r15d
	mov	rdi, rbx
	call	add_device_randomness@PLT
	mov	rdi, rbx
	call	kfree@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	platform_set_drvdata@PLT
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR sun8i_sid_read_by_reg@GOTPCREL[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, QWORD PTR [r12]
.L13:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, r14
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	sunxi_sid_probe, .-sunxi_sid_probe
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.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_sunxi_sid.c_sunxi_sid_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sunxi-sid\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sunxi_sid_probe, %function
sunxi_sid_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L17
	mov	r1, #8
	ldr	r2, [r8]
	mov	r4, r0
	bl	devm_kzalloc
	subs	r5, r0, #0
	beq	.L12
	mov	r0, r4
	bl	of_device_get_match_data
	subs	r6, r0, #0
	beq	.L14
	ldr	r3, .L17+4
	ldr	r2, [r6, #8]
	ldr	r1, [r3]
	str	r2, [r5, #4]
	mov	r0, r4
	mov	r2, #0
	bl	platform_get_resource
	mov	r1, r0
	mov	r0, r4
	bl	devm_ioremap_resource
	str	r0, [r5]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L15
	mov	r1, #32
	mov	r0, r4
	ldr	r2, [r8]
	ldr	r9, [r6]
	bl	devm_kzalloc
	subs	r7, r0, #0
	beq	.L12
	ldr	r0, [r6, #4]
	ldr	r2, .L17+8
	cmp	r0, #0
	ldr	r3, .L17+12
	mov	r0, #4
	moveq	r3, r2
	mov	r2, #1
	ldr	r1, [r6]
	str	r3, [r7, #20]
	str	r1, [r7, #8]
	ldr	r1, .L17+16
	str	r2, [r7, #4]
	str	r2, [r7, #12]
	str	r0, [r7, #16]
	str	r1, [r7]
	mov	r0, r4
	mov	r1, r7
	str	r4, [r7, #28]
	str	r5, [r7, #24]
	bl	devm_nvmem_register
	mov	r10, r0
	bl	IS_ERR
	subs	r6, r0, #0
	bne	.L16
	ldr	r1, [r8]
	mov	r0, r9
	bl	kzalloc
	subs	r8, r0, #0
	beq	.L12
	mov	r3, r9
	mov	r2, r8
	mov	r1, r6
	mov	r0, r5
	ldr	r7, [r7, #20]
	blx	r7
	mov	r1, r9
	mov	r0, r8
	bl	add_device_randomness
	mov	r0, r8
	bl	kfree
	mov	r1, r10
	mov	r0, r4
	bl	platform_set_drvdata
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	ldr	r3, .L17+20
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r3, .L17+24
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	mov	r0, r10
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	PTR_ERR
.L15:
	ldr	r0, [r5]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	PTR_ERR
.L18:
	.align	2
.L17:
	.word	GFP_KERNEL
	.word	IORESOURCE_MEM
	.word	sunxi_sid_read
	.word	sun8i_sid_read_by_reg
	.word	.LC0
	.word	EINVAL
	.word	ENOMEM
	.size	sunxi_sid_probe, .-sunxi_sid_probe
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
