	.file	"extr_core.c_venus_clks_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	venus_clks_get, @function
venus_clks_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 8[rdi]
	mov	r13, QWORD PTR 16[rdi]
	mov	QWORD PTR 8[rsp], rax
	mov	eax, DWORD PTR 0[r13]
	test	eax, eax
	je	.L5
	mov	r12, rdi
	xor	ebp, ebp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	ebp, 1
	cmp	DWORD PTR 0[r13], ebp
	jbe	.L5
.L4:
	mov	rax, QWORD PTR 8[r13]
	mov	ebx, ebp
	mov	r15, QWORD PTR [r12]
	mov	rdi, QWORD PTR 8[rsp]
	lea	r14, 0[0+rbx*4]
	mov	esi, DWORD PTR [rax+rbx*4]
	add	r15, r14
	call	devm_clk_get@PLT
	mov	DWORD PTR [r15], eax
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	IS_ERR@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR [rax+r14]
	add	rsp, 24
	.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
.L5:
	.cfi_restore_state
	add	rsp, 24
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	venus_clks_get, .-venus_clks_get
	.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_core.c_venus_clks_get.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	venus_clks_get, %function
venus_clks_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r0, #8]
	ldr	r8, [r0, #4]
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L5
	mov	r5, r0
	mov	r4, #0
	b	.L4
.L3:
	ldr	r3, [r6]
	cmp	r3, r4
	bls	.L5
.L4:
	ldr	r3, [r6, #4]
	mov	r0, r8
	ldr	r1, [r3, r4, lsl #2]
	ldr	r7, [r5]
	bl	devm_clk_get
	ldr	r3, [r5]
	str	r0, [r7, r4, lsl #2]
	ldr	r0, [r3, r4, lsl #2]
	bl	IS_ERR
	cmp	r0, #0
	lsl	r3, r4, #2
	add	r4, r4, #1
	beq	.L3
	ldr	r2, [r5]
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r2, r3]
	b	PTR_ERR
.L5:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
	.size	venus_clks_get, .-venus_clks_get
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
