	.file	"extr_main.c_brcms_b_core_phy_clk.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"wl%d: clk %d\n"
	.text
	.p2align 4
	.type	brcms_b_core_phy_clk, @function
brcms_b_core_phy_clk:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	ecx, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	lea	rsi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR 4[rdi]
	mov	edi, DWORD PTR 8[rdi]
	call	brcms_dbg_info@PLT
	cmp	DWORD PTR OFF[rip], ebx
	mov	DWORD PTR 0[rbp], ebx
	je	.L6
	mov	edx, DWORD PTR SICF_FGC[rip]
	mov	esi, DWORD PTR SICF_PRST[rip]
	mov	rdi, rbp
	or	esi, edx
	call	brcms_b_core_ioctl@PLT
	mov	edi, 1
	call	udelay@PLT
	mov	esi, DWORD PTR SICF_FGC[rip]
	xor	edx, edx
.L4:
	mov	rdi, rbp
	call	brcms_b_core_ioctl@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edi, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	udelay@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	esi, DWORD PTR SICF_GMODE[rip]
	mov	edx, DWORD PTR SICF_PRST[rip]
	mov	rdi, rbp
	or	edx, DWORD PTR SICF_FGC[rip]
	or	esi, edx
	call	brcms_b_core_ioctl@PLT
	mov	edi, 1
	call	udelay@PLT
	mov	edx, DWORD PTR SICF_PRST[rip]
	mov	esi, DWORD PTR SICF_FGC[rip]
	or	esi, edx
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	brcms_b_core_phy_clk, .-brcms_b_core_phy_clk
	.comm	SICF_PRST,4,4
	.comm	SICF_GMODE,4,4
	.comm	SICF_FGC,4,4
	.comm	OFF,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_main.c_brcms_b_core_phy_clk.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"wl%d: clk %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	brcms_b_core_phy_clk, %function
brcms_b_core_phy_clk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	mov	r3, r1
	ldr	r2, [r0, #4]
	ldr	r1, .L6
	ldr	r0, [r0, #8]
	bl	brcms_dbg_info
	ldr	r3, .L6+4
	str	r5, [r4]
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L5
	ldr	r3, .L6+8
	ldr	r5, .L6+12
	ldr	r1, [r3]
	ldr	r2, [r5]
	mov	r0, r4
	orr	r1, r2, r1
	bl	brcms_b_core_ioctl
	mov	r0, #1
	bl	udelay
	mov	r0, r4
	ldr	r1, [r5]
	mov	r2, #0
	bl	brcms_b_core_ioctl
	pop	{r4, r5, r6, lr}
	mov	r0, #1
	b	udelay
.L5:
	ldr	r6, .L6+8
	ldr	r5, .L6+12
	ldr	r1, .L6+16
	ldr	r3, [r5]
	ldr	r2, [r6]
	ldr	r1, [r1]
	orr	r2, r2, r3
	orr	r1, r2, r1
	mov	r0, r4
	bl	brcms_b_core_ioctl
	mov	r0, #1
	bl	udelay
	ldr	r2, [r6]
	ldr	r1, [r5]
	mov	r0, r4
	orr	r1, r2, r1
	bl	brcms_b_core_ioctl
	pop	{r4, r5, r6, lr}
	mov	r0, #1
	b	udelay
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	OFF
	.word	SICF_PRST
	.word	SICF_FGC
	.word	SICF_GMODE
	.size	brcms_b_core_phy_clk, .-brcms_b_core_phy_clk
	.comm	SICF_PRST,4,4
	.comm	SICF_GMODE,4,4
	.comm	SICF_FGC,4,4
	.comm	OFF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
