	.file	"extr_imx-rngc.c_imx_rngc_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Can not get rng_clk\n"
.LC1:
	.string	"Couldn't get irq %d\n"
.LC2:
	.string	"Can't get interrupt working.\n"
.LC3:
	.string	"FSL RNGC self test failed.\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"FSL RNGC registering failed (%d)\n"
	.section	.rodata.str1.1
.LC5:
	.string	"Freescale RNGC registered.\n"
	.text
	.p2align 4
	.type	imx_rngc_probe, @function
imx_rngc_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 32
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	call	devm_kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	xor	esi, esi
	mov	rdi, rbp
	mov	rbx, rax
	call	devm_platform_ioremap_resource@PLT
	mov	DWORD PTR 28[rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L17
	xor	esi, esi
	mov	rdi, rbp
	call	devm_clk_get@PLT
	mov	DWORD PTR [rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L18
	xor	esi, esi
	mov	rdi, rbp
	call	platform_get_irq@PLT
	mov	r13d, eax
	test	eax, eax
	jle	.L19
	mov	edi, DWORD PTR [rbx]
	call	clk_prepare_enable@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L20
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, DWORD PTR 28[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	r8d, DWORD PTR 4[rbp]
	mov	edx, DWORD PTR imx_rngc_irq[rip]
	mov	r9, rbx
	xor	ecx, ecx
	mov	esi, r13d
	mov	rdi, rbp
	call	devm_request_irq@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L21
	lea	rdi, 24[rbx]
	call	init_completion@PLT
	mov	eax, DWORD PTR 4[rbp]
	mov	QWORD PTR 16[rbx], rbp
	mov	rsi, rbx
	mov	rdi, rbp
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR imx_rngc_init[rip]
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR imx_rngc_read[rip]
	mov	DWORD PTR 4[rbx], eax
	call	platform_set_drvdata@PLT
	mov	rdi, rbx
	call	imx_rngc_irq_mask_clear@PLT
	cmp	QWORD PTR self_test[rip], 0
	je	.L9
	mov	rdi, rbx
	call	imx_rngc_self_test@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L9
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	dev_err@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR [rbx]
	call	clk_disable_unprepare@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rdi, 4[rbx]
	call	hwrng_register@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L22
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	dev_info@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	edi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	mov	r12d, r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edx, eax
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	imx_rngc_probe, .-imx_rngc_probe
	.comm	self_test,8,8
	.comm	imx_rngc_read,4,4
	.comm	imx_rngc_irq,4,4
	.comm	imx_rngc_init,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_imx-rngc.c_imx_rngc_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can not get rng_clk\012\000"
	.align	2
.LC1:
	.ascii	"Couldn't get irq %d\012\000"
	.align	2
.LC2:
	.ascii	"Can't get interrupt working.\012\000"
	.align	2
.LC3:
	.ascii	"FSL RNGC self test failed.\012\000"
	.align	2
.LC4:
	.ascii	"FSL RNGC registering failed (%d)\012\000"
	.align	2
.LC5:
	.ascii	"Freescale RNGC registered.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	imx_rngc_probe, %function
imx_rngc_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L26
	mov	r1, #28
	ldr	r2, [r3]
	sub	sp, sp, #12
	mov	r5, r0
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L20
	mov	r1, #0
	mov	r0, r5
	bl	devm_platform_ioremap_resource
	str	r0, [r4, #24]
	bl	IS_ERR
	subs	r1, r0, #0
	ldrne	r0, [r4, #24]
	bne	.L18
	mov	r0, r5
	bl	devm_clk_get
	str	r0, [r4]
	bl	IS_ERR
	subs	r1, r0, #0
	mov	r0, r5
	bne	.L21
	bl	platform_get_irq
	subs	r7, r0, #0
	ble	.L22
	ldr	r0, [r4]
	bl	clk_prepare_enable
	subs	r6, r0, #0
	beq	.L23
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L21:
	ldr	r1, .L26+4
	bl	dev_err
	ldr	r0, [r4]
.L18:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	PTR_ERR
.L20:
	ldr	r3, .L26+8
	ldr	r0, [r3]
	rsb	r6, r0, #0
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L23:
	ldr	r0, [r5, #4]
	ldr	r2, .L26+12
	str	r4, [sp, #4]
	mov	r3, r6
	ldr	r2, [r2]
	mov	r1, r7
	str	r0, [sp]
	mov	r0, r5
	bl	devm_request_irq
	subs	r6, r0, #0
	bne	.L24
	add	r0, r4, #20
	bl	init_completion
	ldr	r2, .L26+16
	ldr	r3, .L26+20
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r5, #4]
	mov	r0, r5
	str	r3, [r4, #4]
	str	r1, [r4, #8]
	str	r2, [r4, #12]
	mov	r1, r4
	str	r5, [r4, #16]
	bl	platform_set_drvdata
	mov	r0, r4
	bl	imx_rngc_irq_mask_clear
	ldr	r3, .L26+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	mov	r0, r4
	bl	imx_rngc_self_test
	subs	r6, r0, #0
	beq	.L9
	ldr	r1, .L26+28
	ldr	r0, [r4, #16]
	bl	dev_err
.L8:
	ldr	r0, [r4]
	bl	clk_disable_unprepare
	b	.L1
.L9:
	add	r0, r4, #4
	bl	hwrng_register
	subs	r6, r0, #0
	mov	r0, r5
	bne	.L25
	ldr	r1, .L26+32
	bl	dev_info
	b	.L1
.L22:
	mov	r0, r5
	mov	r2, r7
	ldr	r1, .L26+36
	mov	r6, r7
	bl	dev_err
	b	.L1
.L25:
	mov	r2, r6
	ldr	r1, .L26+40
	bl	dev_err
	b	.L8
.L24:
	ldr	r1, .L26+44
	ldr	r0, [r4, #16]
	bl	dev_err
	b	.L8
.L27:
	.align	2
.L26:
	.word	GFP_KERNEL
	.word	.LC0
	.word	ENOMEM
	.word	imx_rngc_irq
	.word	imx_rngc_init
	.word	imx_rngc_read
	.word	self_test
	.word	.LC3
	.word	.LC5
	.word	.LC1
	.word	.LC4
	.word	.LC2
	.size	imx_rngc_probe, .-imx_rngc_probe
	.comm	self_test,4,4
	.comm	imx_rngc_read,4,4
	.comm	imx_rngc_irq,4,4
	.comm	imx_rngc_init,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
