	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcma_pmu_spuravoid_pllupdate   ## -- Begin function bcma_pmu_spuravoid_pllupdate
	.p2align	4, 0x90
_bcma_pmu_spuravoid_pllupdate:          ## @bcma_pmu_spuravoid_pllupdate
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rdi
	movl	(%rdi), %edx
	leal	-128(%rdx), %eax
	cmpl	$13, %eax
	ja	LBB0_21
## %bb.1:
	movl	%esi, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_BCMA_CC_PLLCTL_ADDR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_BCMA_CC_PMU_PLL_CTL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	$6, %edx
	movq	%r14, %rdi
	callq	_bcma_cc_write32
	movq	_BCMA_CC_PLLCTL_DATA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_bcma_cc_read32
	movq	_BCMA_CC_PMU1_PLL0_PC0_P1DIV_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movslq	%ebx, %rbx
	movq	_BCMA_CC_PMU1_PLL0_PC0_P1DIV_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	leaq	l___const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_p1div(%rip), %rdx
	movl	(%rdx,%rbx,4), %edx
	shll	%cl, %edx
	notl	%esi
	andl	%eax, %esi
	orl	%esi, %edx
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_bcma_cc_write32
	movl	(%r12), %esi
	movq	_BCMA_CC_PMU_PLL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	$6, %edx
	movq	%r14, %rdi
	callq	_bcma_cc_write32
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_bcma_cc_read32
	leaq	l___const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_ndiv(%rip), %rcx
	movl	(%rcx,%rbx,4), %edx
	movq	_BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_MASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	shll	%cl, %edx
	notl	%esi
	andl	%eax, %esi
	orl	%esi, %edx
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_bcma_cc_write32
	jmp	LBB0_19
LBB0_3:
	movq	_BCMA_CC_PMU_PLL_CTL0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	cmpl	$1, %ebx
	jne	LBB0_12
## %bb.4:
	movl	$290455648, %edx                ## imm = 0x11500060
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$135007238, %edx                ## imm = 0x80C0C06
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$257949696, %edx                ## imm = 0xF600000
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$536996132, %edx                ## imm = 0x2001E924
	jmp	LBB0_13
LBB0_5:
	movq	_BCMA_CC_PMU_PLL_CTL0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	cmpl	$1, %ebx
	jne	LBB0_14
## %bb.6:
	movl	$17825812, %edx                 ## imm = 0x1100014
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$67898374, %edx                 ## imm = 0x40C0C06
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$51644936, %edx                 ## imm = 0x3140A08
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$3355443, %edx                  ## imm = 0x333333
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$539764768, %edx                ## imm = 0x202C2820
	jmp	LBB0_17
LBB0_7:
	movq	_BCMA_CC_PMU_PLL_CTL0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	cmpl	$1, %ebx
	jne	LBB0_15
## %bb.8:
	movl	$290455568, %edx                ## imm = 0x11500010
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$789510, %edx                   ## imm = 0xC0C06
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$257952264, %edx                ## imm = 0xF600A08
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$536996128, %edx                ## imm = 0x2001E920
	jmp	LBB0_17
LBB0_9:
	movq	_BCMA_CC_PMU_PLL_CTL0@GOTPCREL(%rip), %rax
	cmpl	$1, %ebx
	je	LBB0_22
## %bb.10:
	cmpl	$2, %ebx
	jne	LBB0_23
## %bb.11:
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$290455572, %edx                ## imm = 0x11500014
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$264243720, %edx                ## imm = 0xFC00A08
	jmp	LBB0_18
LBB0_12:
	movl	$286261344, %edx                ## imm = 0x11100060
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$135007238, %edx                ## imm = 0x80C0C06
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$50331648, %edx                 ## imm = 0x3000000
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$536872384, %edx                ## imm = 0x200005C0
LBB0_13:
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-2004318187, %edx              ## imm = 0x88888815
	callq	_bcma_pmu_spuravoid_pll_write
	movl	$1536, %ebx                     ## imm = 0x600
	jmp	LBB0_20
LBB0_14:
	movl	$286261268, %edx                ## imm = 0x11100014
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$67898374, %edx                 ## imm = 0x40C0C06
	jmp	LBB0_16
LBB0_15:
	movl	$286261264, %edx                ## imm = 0x11100010
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$789510, %edx                   ## imm = 0xC0C06
LBB0_16:
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$50334216, %edx                 ## imm = 0x3000A08
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$536872384, %edx                ## imm = 0x200005C0
LBB0_17:
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-2004318187, %edx              ## imm = 0x88888815
LBB0_18:
	callq	_bcma_pmu_spuravoid_pll_write
LBB0_19:
	movl	$1024, %ebx                     ## imm = 0x400
LBB0_20:
	movq	_BCMA_CC_PMU_CTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_bcma_cc_read32
	orl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bcma_cc_write32                ## TAILCALL
LBB0_21:
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_bcma_err
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_22:
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$290455572, %edx                ## imm = 0x11500014
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$257952264, %edx                ## imm = 0xF600A08
	jmp	LBB0_18
LBB0_23:
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$286261268, %edx                ## imm = 0x11100014
	callq	_bcma_pmu_spuravoid_pll_write
	movq	_BCMA_CC_PMU_PLL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$50334216, %edx                 ## imm = 0x3000A08
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_p1div
l___const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_p1div:
	.long	1                               ## 0x1
	.long	5                               ## 0x5
	.long	5                               ## 0x5

	.p2align	2                               ## @__const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_ndiv
l___const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_ndiv:
	.long	48                              ## 0x30
	.long	246                             ## 0xf6
	.long	252                             ## 0xfc

	.comm	_BCMA_CC_PLLCTL_ADDR,4,2        ## @BCMA_CC_PLLCTL_ADDR
	.comm	_BCMA_CC_PMU_PLL_CTL0,4,2       ## @BCMA_CC_PMU_PLL_CTL0
	.comm	_BCMA_CC_PLLCTL_DATA,4,2        ## @BCMA_CC_PLLCTL_DATA
	.comm	_BCMA_CC_PMU1_PLL0_PC0_P1DIV_MASK,4,2 ## @BCMA_CC_PMU1_PLL0_PC0_P1DIV_MASK
	.comm	_BCMA_CC_PMU1_PLL0_PC0_P1DIV_SHIFT,4,2 ## @BCMA_CC_PMU1_PLL0_PC0_P1DIV_SHIFT
	.comm	_BCMA_CC_PMU_PLL_CTL2,4,2       ## @BCMA_CC_PMU_PLL_CTL2
	.comm	_BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_MASK,4,2 ## @BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_MASK
	.comm	_BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_SHIFT,4,2 ## @BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_SHIFT
	.comm	_BCMA_CC_PMU_PLL_CTL1,4,2       ## @BCMA_CC_PMU_PLL_CTL1
	.comm	_BCMA_CC_PMU_PLL_CTL3,4,2       ## @BCMA_CC_PMU_PLL_CTL3
	.comm	_BCMA_CC_PMU_PLL_CTL4,4,2       ## @BCMA_CC_PMU_PLL_CTL4
	.comm	_BCMA_CC_PMU_PLL_CTL5,4,2       ## @BCMA_CC_PMU_PLL_CTL5
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown spuravoidance settings for chip 0x%04X, not changing PLL\n"

	.comm	_BCMA_CC_PMU_CTL,4,2            ## @BCMA_CC_PMU_CTL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcma_pmu_spuravoid_pllupdate   ; -- Begin function bcma_pmu_spuravoid_pllupdate
	.p2align	2
_bcma_pmu_spuravoid_pllupdate:          ; @bcma_pmu_spuravoid_pllupdate
	.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	x19, x0
	ldr	x8, [x0]
	ldr	x0, [x8]
	ldr	w2, [x0]
	sub	w8, w2, #128
	cmp	w8, #13
	b.hi	LBB0_21
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x21, _BCMA_CC_PLLCTL_ADDR@GOTPAGE
Lloh3:
	ldr	x21, [x21, _BCMA_CC_PLLCTL_ADDR@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL0@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	add	w2, w8, #6
	mov	x0, x19
	bl	_bcma_cc_write32
Lloh7:
	adrp	x22, _BCMA_CC_PLLCTL_DATA@GOTPAGE
Lloh8:
	ldr	x22, [x22, _BCMA_CC_PLLCTL_DATA@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_bcma_cc_read32
Lloh9:
	adrp	x8, _BCMA_CC_PMU1_PLL0_PC0_P1DIV_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BCMA_CC_PMU1_PLL0_PC0_P1DIV_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	bic	w8, w0, w8
	sbfiz	x20, x20, #2, #32
Lloh12:
	adrp	x9, l___const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_p1div@PAGE
Lloh13:
	add	x9, x9, l___const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_p1div@PAGEOFF
	ldr	w9, [x9, x20]
Lloh14:
	adrp	x10, _BCMA_CC_PMU1_PLL0_PC0_P1DIV_SHIFT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _BCMA_CC_PMU1_PLL0_PC0_P1DIV_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w9, w8
	ldr	w1, [x22]
	mov	x0, x19
	bl	_bcma_cc_write32
	ldr	w1, [x21]
Lloh17:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	add	w2, w8, #6
	mov	x0, x19
	bl	_bcma_cc_write32
	ldr	w1, [x22]
	mov	x0, x19
	bl	_bcma_cc_read32
Lloh20:
	adrp	x8, _BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh23:
	adrp	x9, l___const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_ndiv@PAGE
Lloh24:
	add	x9, x9, l___const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_ndiv@PAGEOFF
	ldr	w9, [x9, x20]
Lloh25:
	adrp	x10, _BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_SHIFT@GOTPAGE
Lloh26:
	ldr	x10, [x10, _BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_SHIFT@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w9, w8
	ldr	w1, [x22]
	mov	x0, x19
	bl	_bcma_cc_write32
	b	LBB0_19
LBB0_3:
Lloh28:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL0@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL0@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	cmp	w20, #1
	b.ne	LBB0_12
; %bb.4:
	mov	w8, #20
	movk	w8, #4432, lsl #16
	add	w2, w8, #76
	mov	x0, x19
	bl	_bcma_pmu_spuravoid_pll_write
Lloh31:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGE
Lloh32:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3078
	movk	w2, #2060, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh34:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #257949696
	bl	_bcma_pmu_spuravoid_pll_write
Lloh37:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL3@GOTPAGE
Lloh38:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL3@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_bcma_pmu_spuravoid_pll_write
Lloh40:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL4@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL4@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	w8, #59680
	movk	w8, #8193, lsl #16
	orr	w2, w8, #0x4
	mov	x0, x19
	b	LBB0_13
LBB0_5:
	mov	w21, #2568
	movk	w21, #768, lsl #16
Lloh43:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL0@GOTPAGE
Lloh44:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL0@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	cmp	w20, #1
	b.ne	LBB0_14
; %bb.6:
	mov	w2, #20
	movk	w2, #272, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh46:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGE
Lloh47:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3078
	movk	w2, #1036, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh49:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGE
Lloh50:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	add	w2, w21, #320, lsl #12          ; =1310720
	mov	x0, x19
	bl	_bcma_pmu_spuravoid_pll_write
Lloh52:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL3@GOTPAGE
Lloh53:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL3@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #13107
	movk	w2, #51, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh55:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL4@GOTPAGE
Lloh56:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL4@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #10272
	movk	w2, #8236, lsl #16
	b	LBB0_17
LBB0_7:
	mov	w8, #20
	movk	w8, #4368, lsl #16
Lloh58:
	adrp	x9, _BCMA_CC_PMU_PLL_CTL0@GOTPAGE
Lloh59:
	ldr	x9, [x9, _BCMA_CC_PMU_PLL_CTL0@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x9]
	cmp	w20, #1
	b.ne	LBB0_15
; %bb.8:
	mov	w9, #4194300
	add	w2, w8, w9
	mov	x0, x19
	bl	_bcma_pmu_spuravoid_pll_write
Lloh61:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGE
Lloh62:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3078
	movk	w2, #12, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh64:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGE
Lloh65:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2568
	movk	w2, #3936, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh67:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL3@GOTPAGE
Lloh68:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL3@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_bcma_pmu_spuravoid_pll_write
Lloh70:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL4@GOTPAGE
Lloh71:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL4@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #59680
	movk	w2, #8193, lsl #16
	b	LBB0_17
LBB0_9:
Lloh73:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL0@GOTPAGE
Lloh74:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL0@GOTPAGEOFF]
	cmp	w20, #1
	b.eq	LBB0_22
; %bb.10:
	cmp	w20, #2
	b.ne	LBB0_23
; %bb.11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #20
	movk	w2, #4432, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh75:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGE
Lloh76:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	w8, #2568
	movk	w8, #3936, lsl #16
	add	w2, w8, #1536, lsl #12          ; =6291456
	mov	x0, x19
	b	LBB0_18
LBB0_12:
	mov	w8, #20
	movk	w8, #4368, lsl #16
	add	w2, w8, #76
	mov	x0, x19
	bl	_bcma_pmu_spuravoid_pll_write
Lloh78:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGE
Lloh79:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3078
	movk	w2, #2060, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh81:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGE
Lloh82:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #50331648
	bl	_bcma_pmu_spuravoid_pll_write
Lloh84:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL3@GOTPAGE
Lloh85:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL3@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_bcma_pmu_spuravoid_pll_write
Lloh87:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL4@GOTPAGE
Lloh88:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL4@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1472
	movk	w2, #8192, lsl #16
LBB0_13:
	bl	_bcma_pmu_spuravoid_pll_write
Lloh90:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL5@GOTPAGE
Lloh91:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL5@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #34837
	movk	w2, #34952, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
	mov	w20, #1536
	b	LBB0_20
LBB0_14:
	mov	w2, #20
	movk	w2, #4368, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh93:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGE
Lloh94:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3078
	movk	w2, #1036, lsl #16
	b	LBB0_16
LBB0_15:
	sub	w2, w8, #4
	mov	x0, x19
	bl	_bcma_pmu_spuravoid_pll_write
Lloh96:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGE
Lloh97:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL1@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3078
	movk	w2, #12, lsl #16
LBB0_16:
	bl	_bcma_pmu_spuravoid_pll_write
Lloh99:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGE
Lloh100:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGEOFF]
Lloh101:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2568
	movk	w2, #768, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh102:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL3@GOTPAGE
Lloh103:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL3@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_bcma_pmu_spuravoid_pll_write
Lloh105:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL4@GOTPAGE
Lloh106:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL4@GOTPAGEOFF]
Lloh107:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1472
	movk	w2, #8192, lsl #16
LBB0_17:
	bl	_bcma_pmu_spuravoid_pll_write
Lloh108:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL5@GOTPAGE
Lloh109:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL5@GOTPAGEOFF]
Lloh110:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #34837
	movk	w2, #34952, lsl #16
LBB0_18:
	bl	_bcma_pmu_spuravoid_pll_write
LBB0_19:
	mov	w20, #1024
LBB0_20:
Lloh111:
	adrp	x21, _BCMA_CC_PMU_CTL@GOTPAGE
Lloh112:
	ldr	x21, [x21, _BCMA_CC_PMU_CTL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_bcma_cc_read32
	orr	w2, w0, w20
	ldr	w1, [x21]
	mov	x0, x19
	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_cc_write32
LBB0_21:
Lloh113:
	adrp	x1, l_.str@PAGE
Lloh114:
	add	x1, x1, l_.str@PAGEOFF
	bl	_bcma_err
	mov	w20, #0
	b	LBB0_20
LBB0_22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #20
	movk	w2, #4432, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh115:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGE
Lloh116:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGEOFF]
Lloh117:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2568
	movk	w2, #3936, lsl #16
	b	LBB0_18
LBB0_23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #20
	movk	w2, #4368, lsl #16
	bl	_bcma_pmu_spuravoid_pll_write
Lloh118:
	adrp	x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGE
Lloh119:
	ldr	x8, [x8, _BCMA_CC_PMU_PLL_CTL2@GOTPAGEOFF]
Lloh120:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2568
	movk	w2, #768, lsl #16
	b	LBB0_18
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh111, Lloh112
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.p2align	2                               ; @__const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_p1div
l___const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_p1div:
	.long	1                               ; 0x1
	.long	5                               ; 0x5
	.long	5                               ; 0x5

	.p2align	2                               ; @__const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_ndiv
l___const.bcma_pmu_spuravoid_pllupdate.bcm5357_bcm43236_ndiv:
	.long	48                              ; 0x30
	.long	246                             ; 0xf6
	.long	252                             ; 0xfc

	.comm	_BCMA_CC_PLLCTL_ADDR,4,2        ; @BCMA_CC_PLLCTL_ADDR
	.comm	_BCMA_CC_PMU_PLL_CTL0,4,2       ; @BCMA_CC_PMU_PLL_CTL0
	.comm	_BCMA_CC_PLLCTL_DATA,4,2        ; @BCMA_CC_PLLCTL_DATA
	.comm	_BCMA_CC_PMU1_PLL0_PC0_P1DIV_MASK,4,2 ; @BCMA_CC_PMU1_PLL0_PC0_P1DIV_MASK
	.comm	_BCMA_CC_PMU1_PLL0_PC0_P1DIV_SHIFT,4,2 ; @BCMA_CC_PMU1_PLL0_PC0_P1DIV_SHIFT
	.comm	_BCMA_CC_PMU_PLL_CTL2,4,2       ; @BCMA_CC_PMU_PLL_CTL2
	.comm	_BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_MASK,4,2 ; @BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_MASK
	.comm	_BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_SHIFT,4,2 ; @BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_SHIFT
	.comm	_BCMA_CC_PMU_PLL_CTL1,4,2       ; @BCMA_CC_PMU_PLL_CTL1
	.comm	_BCMA_CC_PMU_PLL_CTL3,4,2       ; @BCMA_CC_PMU_PLL_CTL3
	.comm	_BCMA_CC_PMU_PLL_CTL4,4,2       ; @BCMA_CC_PMU_PLL_CTL4
	.comm	_BCMA_CC_PMU_PLL_CTL5,4,2       ; @BCMA_CC_PMU_PLL_CTL5
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown spuravoidance settings for chip 0x%04X, not changing PLL\n"

	.comm	_BCMA_CC_PMU_CTL,4,2            ; @BCMA_CC_PMU_CTL
.subsections_via_symbols
