	.file	"extr_r9a06g032-clocks.c_r9a06g032_attach_dev.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"#clock-cells"
.LC1:
	.string	"clocks"
	.text
	.p2align 4
	.type	r9a06g032_attach_dev, @function
r9a06g032_attach_dev:
.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
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, .LC0[rip]
	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
	xor	ebx, ebx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	r13, QWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	r15, 16[rsp]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r8, r15
	mov	ecx, ebx
	mov	rdx, r12
	mov	rdi, r13
	lea	rsi, .LC1[rip]
	call	of_parse_phandle_with_args@PLT
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR 0[rbp]
	cmp	QWORD PTR 16[rsp], rax
	jne	.L3
	mov	rax, QWORD PTR 24[rsp]
	movsx	rax, DWORD PTR [rax]
	cmp	DWORD PTR R9A06G032_CLOCK_COUNT[rip], eax
	jle	.L5
	mov	rdx, QWORD PTR r9a06g032_clocks[rip]
	cmp	QWORD PTR [rdx+rax*8], 0
	jne	.L13
.L5:
	add	ebx, 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rsi, r14
	mov	rdi, r15
	call	create_add_module_clock@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	DWORD PTR 12[rsp], eax
	call	of_node_put@PLT
	mov	r8d, DWORD PTR 12[rsp]
	test	r8d, r8d
	je	.L5
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
	xor	r8d, r8d
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	r9a06g032_attach_dev, .-r9a06g032_attach_dev
	.comm	r9a06g032_clocks,8,8
	.comm	R9A06G032_CLOCK_COUNT,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_r9a06g032-clocks.c_r9a06g032_attach_dev.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"#clock-cells\000"
	.align	2
.LC1:
	.ascii	"clocks\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	r9a06g032_attach_dev, %function
r9a06g032_attach_dev:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L18
	sub	sp, sp, #36
	str	r1, [sp, #12]
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r10, #0
	ldr	r8, [r1]
	ldr	r7, .L18+4
	ldr	r6, .L18+8
	ldr	r9, .L18+12
	ldr	fp, .L18+16
	add	r4, sp, #20
.L3:
	mov	r3, r10
	mov	r2, r7
	mov	r1, r6
	mov	r0, r8
	str	r4, [sp]
	bl	of_parse_phandle_with_args
	cmp	r0, #0
	bne	.L15
	ldr	r2, [sp, #20]
	ldr	r3, [r5]
	cmp	r2, r3
	bne	.L3
	ldr	r3, [sp, #24]
	ldr	r2, [r9]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L5
	ldr	r2, [fp]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L16
.L5:
	add	r10, r10, #1
	b	.L3
.L16:
	ldr	r1, [sp, #12]
	mov	r0, r4
	bl	create_add_module_clock
	str	r0, [sp, #8]
	ldr	r0, [sp, #20]
	bl	of_node_put
	ldr	r2, [sp, #8]
	cmp	r2, #0
	beq	.L5
.L1:
	ldr	r3, .L18
	ldr	r1, [r3]
	ldr	r3, [sp, #28]
	eors	r1, r3, r1
	mov	r3, #0
	bne	.L17
	mov	r0, r2
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	mov	r2, #0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	R9A06G032_CLOCK_COUNT
	.word	r9a06g032_clocks
	.size	r9a06g032_attach_dev, .-r9a06g032_attach_dev
	.comm	r9a06g032_clocks,4,4
	.comm	R9A06G032_CLOCK_COUNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
