	.file	"extr_bcm2835_cpufreq.c_bcm2835_cpufreq_identify.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/"
.LC1:
	.string	"driver=%p, parent=%p\n"
.LC2:
	.string	"bcm2835_cpufreq"
.LC3:
	.string	"add child failed\n"
	.text
	.p2align 4
	.type	bcm2835_cpufreq_identify, @function
bcm2835_cpufreq_identify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	lea	rdi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	OF_finddevice@PLT
	mov	rbx, QWORD PTR compat_data[rip]
	mov	rsi, QWORD PTR 8[rbx]
	test	rsi, rsi
	je	.L2
	mov	ebp, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rsi, QWORD PTR 24[rbx]
	add	rbx, 16
	test	rsi, rsi
	je	.L2
.L3:
	mov	edi, ebp
	call	ofw_bus_node_is_compatible@PLT
	test	rax, rax
	je	.L13
.L2:
	cmp	QWORD PTR [rbx], 0
	jne	.L14
.L1:
	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
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edx, r12d
	mov	rsi, r13
	lea	rdi, .LC1[rip]
	call	DPRINTF@PLT
	mov	edx, -1
	lea	rsi, .LC2[rip]
	mov	edi, r12d
	call	device_find_child@PLT
	test	rax, rax
	jne	.L1
	xor	esi, esi
	mov	ecx, -1
	lea	rdx, .LC2[rip]
	mov	edi, r12d
	call	BUS_ADD_CHILD@PLT
	test	rax, rax
	jne	.L1
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edi, r12d
	lea	rsi, .LC3[rip]
	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	device_printf@PLT
	.cfi_endproc
.LFE0:
	.size	bcm2835_cpufreq_identify, .-bcm2835_cpufreq_identify
	.comm	compat_data,8,8
	.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_bcm2835_cpufreq.c_bcm2835_cpufreq_identify.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/\000"
	.align	2
.LC1:
	.ascii	"driver=%p, parent=%p\012\000"
	.align	2
.LC2:
	.ascii	"bcm2835_cpufreq\000"
	.align	2
.LC3:
	.ascii	"add child failed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bcm2835_cpufreq_identify, %function
bcm2835_cpufreq_identify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	ldr	r0, .L14
	mov	r6, r1
	bl	OF_finddevice
	ldr	r3, .L14+4
	ldr	r4, [r3]
	ldr	r1, [r4, #4]
	cmp	r1, #0
	beq	.L2
	mov	r5, r0
	b	.L3
.L13:
	ldr	r1, [r4, #12]
	add	r4, r4, #8
	cmp	r1, #0
	beq	.L2
.L3:
	mov	r0, r5
	bl	ofw_bus_node_is_compatible
	cmp	r0, #0
	beq	.L13
.L2:
	ldr	r3, [r4]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, r7
	mov	r2, r6
	ldr	r0, .L14+8
	bl	DPRINTF
	ldr	r1, .L14+12
	mvn	r2, #0
	mov	r0, r6
	bl	device_find_child
	subs	r1, r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mvn	r3, #0
	mov	r0, r6
	ldr	r2, .L14+12
	bl	BUS_ADD_CHILD
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, .L14+16
	b	device_printf
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	compat_data
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	bcm2835_cpufreq_identify, .-bcm2835_cpufreq_identify
	.comm	compat_data,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
