	.file	"extr_gcc-ipq806x.c_gcc_ipq806x_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cxo"
.LC1:
	.string	"cxo_board"
.LC2:
	.string	"pxo"
.LC3:
	.string	"pxo_board"
	.text
	.p2align 4
	.type	gcc_ipq806x_probe, @function
gcc_ipq806x_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	ecx, 25000000
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	qcom_cc_register_board_clk@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L6
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	ecx, 25000000
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	qcom_cc_register_board_clk@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	lea	rsi, gcc_ipq806x_desc[rip]
	mov	rdi, rbp
	call	qcom_cc_probe@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rdi, rbp
	xor	esi, esi
	call	dev_get_regmap@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L7
	mov	ecx, 1073742848
	mov	edx, -64
	mov	esi, 12708
	mov	rdi, rax
	call	regmap_update_bits@PLT
	mov	rdi, rbp
	mov	edx, 12416
	mov	esi, 12720
	call	regmap_write@PLT
	mov	rdi, rbp
	mov	edx, 8
	mov	esi, 15544
	call	regmap_write@PLT
	mov	rdi, rbp
	mov	edx, 8
	mov	esi, 15576
	call	regmap_write@PLT
	mov	rdi, rbp
	mov	edx, 8
	mov	esi, 15608
	call	regmap_write@PLT
	mov	edx, 8
	mov	esi, 15640
	mov	rdi, rbp
	call	regmap_write@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	gcc_ipq806x_probe, .-gcc_ipq806x_probe
	.comm	gcc_ipq806x_desc,4,4
	.comm	ENODEV,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_gcc-ipq806x.c_gcc_ipq806x_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cxo\000"
	.align	2
.LC1:
	.ascii	"cxo_board\000"
	.align	2
.LC2:
	.ascii	"pxo\000"
	.align	2
.LC3:
	.ascii	"pxo_board\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gcc_ipq806x_probe, %function
gcc_ipq806x_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L8
	ldr	r2, .L8+4
	ldr	r1, .L8+8
	mov	r5, r0
	bl	qcom_cc_register_board_clk
	subs	r4, r0, #0
	beq	.L6
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, r5
	ldr	r3, .L8
	ldr	r2, .L8+12
	ldr	r1, .L8+16
	bl	qcom_cc_register_board_clk
	subs	r4, r0, #0
	bne	.L1
	mov	r0, r5
	ldr	r1, .L8+20
	bl	qcom_cc_probe
	subs	r4, r0, #0
	bne	.L1
	mov	r0, r5
	mov	r1, r4
	bl	dev_get_regmap
	subs	r5, r0, #0
	beq	.L7
	ldr	r3, .L8+24
	mvn	r2, #63
	ldr	r1, .L8+28
	bl	regmap_update_bits
	mov	r2, #12416
	mov	r0, r5
	ldr	r1, .L8+32
	bl	regmap_write
	mov	r2, #8
	mov	r0, r5
	ldr	r1, .L8+36
	bl	regmap_write
	mov	r2, #8
	mov	r0, r5
	ldr	r1, .L8+40
	bl	regmap_write
	mov	r2, #8
	mov	r0, r5
	ldr	r1, .L8+44
	bl	regmap_write
	mov	r0, r5
	mov	r2, #8
	ldr	r1, .L8+48
	bl	regmap_write
	b	.L1
.L7:
	ldr	r3, .L8+52
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L9:
	.align	2
.L8:
	.word	25000000
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	gcc_ipq806x_desc
	.word	1073742848
	.word	12708
	.word	12720
	.word	15544
	.word	15576
	.word	15608
	.word	15640
	.word	ENODEV
	.size	gcc_ipq806x_probe, .-gcc_ipq806x_probe
	.comm	gcc_ipq806x_desc,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
