	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i9xx_update_pll_dividers
_i9xx_update_pll_dividers:              ## @i9xx_update_pll_dividers
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_to_intel_crtc
	movq	%rax, %r15
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_IS_PINEVIEW
	movl	(%r14), %ecx
	testq	%rax, %rax
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.1:
	movl	$65536, %edx                    ## imm = 0x10000
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movl	$65536, %eax                    ## imm = 0x10000
	movl	4(%r14), %ebx
	shll	$8, %ebx
	orl	%edx, %ebx
	orl	8(%r14), %ebx
	testq	%r12, %r12
	je	LBB0_7
## %bb.2:
	movl	(%r12), %ecx
	jmp	LBB0_5
LBB0_3:
	shll	$16, %ecx
	movl	4(%r14), %ebx
	shll	$8, %ebx
	orl	%ecx, %ebx
	orl	8(%r14), %ebx
	testq	%r12, %r12
	je	LBB0_7
## %bb.4:
	movl	(%r12), %eax
	movl	$16, %ecx
LBB0_5:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	4(%r12), %r14d
	shll	$8, %r14d
	orl	%eax, %r14d
	orl	8(%r12), %r14d
	jmp	LBB0_8
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r13d, %edi
	callq	_FP0
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	$0, 4(%r15)
	movq	_INTEL_OUTPUT_LVDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_intel_pipe_has_type
	movq	%rax, %r12
	movq	_i915_powersave@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	%r13d, %edi
	callq	_FP1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_12
## %bb.9:
	testq	%r12, %r12
	je	LBB0_12
## %bb.10:
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 4(%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	%eax, %edi
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_OUTPUT_LVDS,4,2          ## @INTEL_OUTPUT_LVDS
	.comm	_i915_powersave,8,3             ## @i915_powersave
	.no_dead_strip	_i9xx_update_pll_dividers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i9xx_update_pll_dividers
_i9xx_update_pll_dividers:              ; @i9xx_update_pll_dividers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	ldr	x24, [x0]
	bl	_to_intel_crtc
	mov	x19, x0
	ldr	w21, [x0]
	mov	x0, x24
	bl	_IS_PINEVIEW
	ldr	w8, [x23]
	cbz	x0, LBB0_3
; %bb.1:
	mov	w9, #65536
	lsl	w8, w9, w8
	ldp	w9, w10, [x23, #4]
	orr	w8, w8, w9, lsl #8
	orr	w23, w8, w10
	cbz	x20, LBB0_6
; %bb.2:
	ldr	w8, [x20]
	mov	w9, #65536
	b	LBB0_5
LBB0_3:
	ldp	w9, w10, [x23, #4]
	lsl	w9, w9, #8
	orr	w8, w9, w8, lsl #16
	orr	w23, w8, w10
	cbz	x20, LBB0_6
; %bb.4:
	ldr	w9, [x20]
	mov	w8, #16
LBB0_5:
	lsl	w8, w9, w8
	ldp	w9, w10, [x20, #4]
	orr	w8, w8, w9, lsl #8
	orr	w24, w8, w10
	b	LBB0_7
LBB0_6:
	mov	w24, #0
LBB0_7:
	mov	x0, x21
	bl	_FP0
	mov	x1, x23
	bl	_I915_WRITE
	str	wzr, [x19, #4]
Lloh0:
	adrp	x8, _INTEL_OUTPUT_LVDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_OUTPUT_LVDS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_intel_pipe_has_type
	mov	x22, x0
Lloh3:
	adrp	x8, _i915_powersave@GOTPAGE
Lloh4:
	ldr	x8, [x8, _i915_powersave@GOTPAGEOFF]
Lloh5:
	ldr	x25, [x8]
	mov	x0, x21
	bl	_FP1
	cbz	x20, LBB0_10
; %bb.8:
	cmp	x22, #0
	ccmp	x25, #0, #4, ne
	b.eq	LBB0_10
; %bb.9:
	mov	x1, x24
	bl	_I915_WRITE
	mov	w8, #1
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x1, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_I915_WRITE
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_OUTPUT_LVDS,4,2          ; @INTEL_OUTPUT_LVDS
	.comm	_i915_powersave,8,3             ; @i915_powersave
	.no_dead_strip	_i9xx_update_pll_dividers
.subsections_via_symbols
