	.file	"extr_st_slim_rproc.c_slim_clk_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	slim_clk_get, @function
slim_clk_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, 8
	.cfi_def_cfa_offset 64
	mov	eax, DWORD PTR ST_SLIM_MAX_CLK[rip]
	test	eax, eax
	jle	.L2
	mov	rbp, rdi
	mov	r13, rsi
	xor	ebx, ebx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR ST_SLIM_MAX_CLK[rip], ebx
	jle	.L2
.L7:
	mov	r15, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR 0[r13]
	mov	esi, ebx
	movsx	r14, ebx
	lea	r12, 0[0+rbx*8]
	call	of_clk_get@PLT
	add	r15, r12
	mov	QWORD PTR [r15], rax
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rax+rbx*8]
	call	IS_ERR@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rax+r12]
	call	PTR_ERR@PLT
	mov	r13d, eax
	add	eax, DWORD PTR EPROBE_DEFER[rip]
	je	.L13
	mov	rax, QWORD PTR 0[rbp]
	xor	r13d, r13d
	mov	QWORD PTR [rax+r12], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	xor	r13d, r13d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L13:
	.cfi_restore_state
	lea	eax, -1[r14]
	test	r14d, r14d
	je	.L1
	cdqe
	lea	r12, 0[0+rax*8]
	lea	eax, -1[rbx]
	sub	r14, rax
	lea	rbx, -16[0+r14*8]
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rax+r12]
	sub	r12, 8
	call	clk_put@PLT
	cmp	r12, rbx
	jne	.L8
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	slim_clk_get, .-slim_clk_get
	.comm	ST_SLIM_MAX_CLK,4,4
	.comm	EPROBE_DEFER,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_st_slim_rproc.c_slim_clk_get.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	slim_clk_get, %function
slim_clk_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L14
	ldr	r3, [r8]
	cmp	r3, #0
	ble	.L2
	mov	r5, r0
	mov	r7, r1
	mov	r4, #0
	b	.L7
.L3:
	ldr	r3, [r8]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L2
.L7:
	mov	r1, r4
	ldr	r0, [r7]
	ldr	r6, [r5]
	bl	of_clk_get
	ldr	r3, [r5]
	str	r0, [r6, r4, lsl #2]
	ldr	r0, [r3, r4, lsl #2]
	bl	IS_ERR
	cmp	r0, #0
	lsl	r6, r4, #2
	beq	.L3
	ldr	r3, [r5]
	ldr	r0, [r3, r6]
	bl	PTR_ERR
	ldr	r3, .L14+4
	mov	r7, r0
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L13
	mov	r3, #0
	mov	r7, r3
	ldr	r2, [r5]
	mov	r0, r7
	str	r3, [r2, r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r7, #0
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	cmp	r4, #0
	sub	r4, r4, #1
	beq	.L1
.L5:
	ldr	r3, [r5]
	ldr	r0, [r3, r4, lsl #2]
	sub	r4, r4, #1
	bl	clk_put
	cmn	r4, #1
	bne	.L5
	b	.L1
.L15:
	.align	2
.L14:
	.word	ST_SLIM_MAX_CLK
	.word	EPROBE_DEFER
	.size	slim_clk_get, .-slim_clk_get
	.comm	ST_SLIM_MAX_CLK,4,4
	.comm	EPROBE_DEFER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
