	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar71xx_set_pll
_ar71xx_set_pll:                        ## @ar71xx_set_pll
	.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, %ebx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movl	%edi, %r12d
	movq	_AR71XX_PLL_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_KSEG1ADDR
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	addl	%eax, %r12d
	movl	%r12d, %edi
	callq	_readl
	movl	$3, %r15d
	movl	%ebx, %ecx
	shll	%cl, %r15d
	movl	%r15d, %r13d
	notl	%r13d
	andl	%r13d, %eax
	movl	$2, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	orl	%eax, %ebx
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_writel
	movl	$100, %edi
	callq	_udelay
	addl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_writel
	orl	%ebx, %r15d
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_writel
	movl	$100, %edi
	callq	_udelay
	andl	%r13d, %ebx
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_writel
	movl	$100, %edi
	callq	_udelay
	movl	%r14d, %edi
	callq	_readl
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debug                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR71XX_PLL_BASE,4,2            ## @AR71XX_PLL_BASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ar71xx: pll_reg %#x: %#x\n"

	.no_dead_strip	_ar71xx_set_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar71xx_set_pll
_ar71xx_set_pll:                        ; @ar71xx_set_pll
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _AR71XX_PLL_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR71XX_PLL_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_KSEG1ADDR
	mov	x23, x0
	add	w22, w0, w22
	mov	x0, x22
	bl	_readl
	mov	w8, #3
	lsl	w24, w8, w19
	bic	w8, w0, w24
	mov	w9, #2
	lsl	w9, w9, w19
	orr	w19, w8, w9
	mov	x0, x19
	mov	x1, x22
	bl	_writel
	mov	w0, #100
	bl	_udelay
	add	w21, w23, w21
	mov	x0, x20
	mov	x1, x21
	bl	_writel
	orr	w0, w19, w24
	mov	x1, x22
	bl	_writel
	mov	w0, #100
	bl	_udelay
	bic	w0, w19, w24
	mov	x1, x22
	bl	_writel
	mov	w0, #100
	bl	_udelay
	mov	x0, x21
	bl	_readl
	mov	x2, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_debug
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR71XX_PLL_BASE,4,2            ; @AR71XX_PLL_BASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ar71xx: pll_reg %#x: %#x\n"

	.no_dead_strip	_ar71xx_set_pll
.subsections_via_symbols
