	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hsw_get_aux_clock_divider
_hsw_get_aux_clock_divider:             ## @hsw_get_aux_clock_divider
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_dp_to_i915
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_dp_to_dig_port
	movq	(%rax), %rax
	movq	_AUX_CH_A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_HAS_PCH_LPT_H
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	cmpl	$1, %r14d
	movl	$72, %ecx
	cmovnel	%eax, %ecx
	testl	%r14d, %r14d
	movl	$63, %eax
	cmovnel	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ilk_get_aux_clock_divider      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AUX_CH_A,8,3                   ## @AUX_CH_A
	.no_dead_strip	_hsw_get_aux_clock_divider
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hsw_get_aux_clock_divider
_hsw_get_aux_clock_divider:             ; @hsw_get_aux_clock_divider
	.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, x1
	mov	x20, x0
	bl	_dp_to_i915
	mov	x21, x0
	mov	x0, x20
	bl	_dp_to_dig_port
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AUX_CH_A@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AUX_CH_A@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_HAS_PCH_LPT_H
	cbz	x0, LBB0_3
; %bb.2:
	mov	w8, #72
	cmp	w19, #1
	csel	w8, w8, wzr, eq
	mov	w9, #63
	cmp	w19, #0
	csel	w0, w9, w8, eq
	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
LBB0_3:
	mov	x0, x20
	mov	x1, 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	_ilk_get_aux_clock_divider
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AUX_CH_A,8,3                   ; @AUX_CH_A
	.no_dead_strip	_hsw_get_aux_clock_divider
.subsections_via_symbols
