	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcma_core_pll_ctl              ## -- Begin function bcma_core_pll_ctl
	.p2align	4, 0x90
_bcma_core_pll_ctl:                     ## @bcma_core_pll_ctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_BCMA_CLKCTLST_EXTRESREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	%esi, %edi
	callq	_WARN_ON
	movq	_BCMA_CLKCTLST_EXTRESST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	%r14d, %edi
	callq	_WARN_ON
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.1:
	movq	_BCMA_CLKCTLST@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_bcma_set32
	movl	$10000, %ebx                    ## imm = 0x2710
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_bcma_read32
	notl	%eax
	testl	%eax, %r14d
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$10, %edi
	callq	_udelay
	decl	%ebx
	jne	LBB0_2
## %bb.4:
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bcma_err                       ## TAILCALL
LBB0_5:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bcma_warn                      ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMA_CLKCTLST_EXTRESREQ,4,2    ## @BCMA_CLKCTLST_EXTRESREQ
	.comm	_BCMA_CLKCTLST_EXTRESST,4,2     ## @BCMA_CLKCTLST_EXTRESST
	.comm	_BCMA_CLKCTLST,4,2              ## @BCMA_CLKCTLST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PLL enable timeout\n"

L_.str.1:                               ## @.str.1
	.asciz	"Disabling PLL not supported yet!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcma_core_pll_ctl              ; -- Begin function bcma_core_pll_ctl
	.p2align	2
_bcma_core_pll_ctl:                     ; @bcma_core_pll_ctl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _BCMA_CLKCTLST_EXTRESREQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCMA_CLKCTLST_EXTRESREQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w0, w1, w8
	bl	_WARN_ON
Lloh3:
	adrp	x8, _BCMA_CLKCTLST_EXTRESST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCMA_CLKCTLST_EXTRESST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w0, w20, w8
	bl	_WARN_ON
	cbz	w22, LBB0_5
; %bb.1:
Lloh6:
	adrp	x22, _BCMA_CLKCTLST@GOTPAGE
Lloh7:
	ldr	x22, [x22, _BCMA_CLKCTLST@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_bcma_set32
	mov	w21, #10000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_bcma_read32
	bics	wzr, w20, w0
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #10
	bl	_udelay
	subs	w21, w21, #1
	b.ne	LBB0_2
; %bb.4:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_bcma_err
LBB0_5:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_bcma_warn
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMA_CLKCTLST_EXTRESREQ,4,2    ; @BCMA_CLKCTLST_EXTRESREQ
	.comm	_BCMA_CLKCTLST_EXTRESST,4,2     ; @BCMA_CLKCTLST_EXTRESST
	.comm	_BCMA_CLKCTLST,4,2              ; @BCMA_CLKCTLST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PLL enable timeout\n"

l_.str.1:                               ; @.str.1
	.asciz	"Disabling PLL not supported yet!\n"

.subsections_via_symbols
