	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atombios_crtc_program_pll
_atombios_crtc_program_pll:             ## @atombios_crtc_program_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movq	(%rdi), %rax
	movq	(%rax), %r12
	movq	_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SetPixelClock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movl	%eax, %r13d
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movl	(%r12), %edi
	leaq	-112(%rbp), %rdx
	leaq	-108(%rbp), %rcx
	movl	%r13d, %esi
	callq	_atom_parse_cmd_header
	testl	%eax, %eax
	je	LBB0_39
## %bb.1:
	movl	-112(%rbp), %esi
	movl	-108(%rbp), %edx
	cmpl	$1, %esi
	jne	LBB0_37
## %bb.2:
	leal	-1(%rdx), %eax
	cmpl	$5, %eax
	ja	LBB0_36
## %bb.3:
	movl	24(%rbp), %esi
	movl	16(%rbp), %r10d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_ATOM_DISABLE@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_39
LBB0_5:
	movslq	%r14d, %rax
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$34, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%esi, %r15d
	movl	%r10d, %r14d
	callq	_cpu_to_le16
	movq	%rax, -64(%rbp)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, -72(%rbp)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, -80(%rbp)
	movl	32(%rbp), %eax
	movl	%eax, -104(%rbp)
	movl	40(%rbp), %eax
	movl	%eax, -100(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -96(%rbp)
	movl	%ebx, -92(%rbp)
	movl	$1, -88(%rbp)
	jmp	LBB0_35
LBB0_37:
	leaq	L_.str(%rip), %rdi
LBB0_38:
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_DRM_ERROR
	jmp	LBB0_39
LBB0_6:
	movslq	%r14d, %rax
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$34, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r10d, %r14d
	callq	_cpu_to_le16
	movq	%rax, -64(%rbp)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, -72(%rbp)
	movl	24(%rbp), %edi
	callq	_cpu_to_le16
	movq	%rax, -80(%rbp)
	movl	32(%rbp), %eax
	movl	%eax, -104(%rbp)
	movl	40(%rbp), %eax
	movl	%eax, -100(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -96(%rbp)
	movq	_ATOM_CRTC2@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_7
## %bb.8:
	movq	_PIXEL_CLOCK_MISC_CRTC_SEL_CRTC2@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_36:
	leaq	L_.str(%rip), %rdi
	movl	$1, %esi
	jmp	LBB0_38
LBB0_13:
	movl	%ebx, -104(%rbp)
	movslq	%r14d, %rax
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$34, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%esi, %r14d
	movl	%r10d, %ebx
	callq	_cpu_to_le16
	movq	%rax, -56(%rbp)
	movl	%ebx, -100(%rbp)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, -64(%rbp)
	imull	$100000, 32(%rbp), %edi         ## imm = 0x186A0
	callq	_cpu_to_le32
	movq	%rax, -72(%rbp)
	movl	40(%rbp), %eax
	movl	%eax, -96(%rbp)
	movl	$0, -80(%rbp)
	xorl	%eax, %eax
	cmpl	$0, 56(%rbp)
	je	LBB0_14
## %bb.15:
	movq	_ATOM_EXTERNAL_SS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	64(%rbp), %rdx
	testl	%ecx, (%rdx)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	je	LBB0_17
## %bb.16:
	movq	_PIXEL_CLOCK_V5_MISC_REF_DIV_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	jmp	LBB0_17
LBB0_25:
	shll	$24, %ebx
	movslq	%r14d, %rax
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$34, %rdi
	addl	%eax, %edi
	orl	%ebx, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%esi, %r14d
	movl	%r10d, %ebx
	callq	_cpu_to_le32
	movq	%rax, -64(%rbp)
	movl	%ebx, -104(%rbp)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, -72(%rbp)
	imull	$100000, 32(%rbp), %edi         ## imm = 0x186A0
	callq	_cpu_to_le32
	movq	%rax, -80(%rbp)
	movl	40(%rbp), %eax
	movl	%eax, -100(%rbp)
	movl	$0, -84(%rbp)
	xorl	%eax, %eax
	cmpl	$0, 56(%rbp)
	je	LBB0_26
## %bb.27:
	movq	_ATOM_EXTERNAL_SS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	64(%rbp), %rdx
	testl	%ecx, (%rdx)
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	48(%rbp), %edx
	je	LBB0_29
## %bb.28:
	movq	_PIXEL_CLOCK_V6_MISC_REF_DIV_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	jmp	LBB0_29
LBB0_7:
	movq	_PIXEL_CLOCK_MISC_CRTC_SEL_CRTC1@GOTPCREL(%rip), %rax
LBB0_9:
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	56(%rbp), %ecx
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	testl	%ecx, %ecx
	movq	64(%rbp), %rsi
	je	LBB0_12
## %bb.10:
	movq	_ATOM_EXTERNAL_SS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rsi)
	je	LBB0_12
## %bb.11:
	movq	_PIXEL_CLOCK_MISC_REF_DIV_SRC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -84(%rbp)
LBB0_12:
	movl	%edx, -92(%rbp)
	movl	%r15d, -88(%rbp)
	jmp	LBB0_35
LBB0_14:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
LBB0_17:
	movq	_ATOM_ENCODER_MODE_HDMI@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	movl	48(%rbp), %edi
	jne	LBB0_24
## %bb.18:
	cmpl	$10, %edi
	jne	LBB0_19
## %bb.20:
	movq	_PIXEL_CLOCK_V5_MISC_HDMI_32BPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_21
LBB0_26:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	48(%rbp), %edx
LBB0_29:
	movq	_ATOM_ENCODER_MODE_HDMI@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_34
## %bb.30:
	addl	$-10, %edx
	cmpl	$6, %edx
	ja	LBB0_31
## %bb.32:
	movslq	%edx, %rcx
	leaq	l_switch.table.atombios_crtc_program_pll(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_33
LBB0_19:
	movq	_PIXEL_CLOCK_V5_MISC_HDMI_24BPP@GOTPCREL(%rip), %rcx
LBB0_21:
	cmpl	$12, %edi
	jne	LBB0_23
## %bb.22:
	movq	_PIXEL_CLOCK_V5_MISC_HDMI_30BPP@GOTPCREL(%rip), %rcx
LBB0_23:
	orl	(%rcx), %eax
	movl	%eax, -80(%rbp)
LBB0_24:
	movl	%esi, -92(%rbp)
	movl	%r15d, -88(%rbp)
	movl	%edx, -84(%rbp)
	jmp	LBB0_35
LBB0_31:
	movq	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP@GOTPCREL(%rip), %rcx
LBB0_33:
	orl	(%rcx), %eax
	movl	%eax, -84(%rbp)
LBB0_34:
	movl	%edi, -96(%rbp)
	movl	%r15d, -92(%rbp)
	movl	%esi, -88(%rbp)
LBB0_35:
	movl	(%r12), %edi
	leaq	-104(%rbp), %rdx
	movl	%r13d, %esi
	callq	_atom_execute_table
LBB0_39:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_36
	.long	L0_0_set_13
	.long	L0_0_set_25
	.end_data_region
                                        ## -- End function
	.comm	_COMMAND,4,2                    ## @COMMAND
	.comm	_SetPixelClock,4,2              ## @SetPixelClock
	.comm	_ATOM_DISABLE,4,2               ## @ATOM_DISABLE
	.comm	_ATOM_CRTC2,4,2                 ## @ATOM_CRTC2
	.comm	_PIXEL_CLOCK_MISC_CRTC_SEL_CRTC2,4,2 ## @PIXEL_CLOCK_MISC_CRTC_SEL_CRTC2
	.comm	_PIXEL_CLOCK_MISC_CRTC_SEL_CRTC1,4,2 ## @PIXEL_CLOCK_MISC_CRTC_SEL_CRTC1
	.comm	_ATOM_EXTERNAL_SS_MASK,4,2      ## @ATOM_EXTERNAL_SS_MASK
	.comm	_PIXEL_CLOCK_MISC_REF_DIV_SRC,4,2 ## @PIXEL_CLOCK_MISC_REF_DIV_SRC
	.comm	_PIXEL_CLOCK_V5_MISC_REF_DIV_SRC,4,2 ## @PIXEL_CLOCK_V5_MISC_REF_DIV_SRC
	.comm	_ATOM_ENCODER_MODE_HDMI,4,2     ## @ATOM_ENCODER_MODE_HDMI
	.comm	_PIXEL_CLOCK_V5_MISC_HDMI_24BPP,4,2 ## @PIXEL_CLOCK_V5_MISC_HDMI_24BPP
	.comm	_PIXEL_CLOCK_V5_MISC_HDMI_32BPP,4,2 ## @PIXEL_CLOCK_V5_MISC_HDMI_32BPP
	.comm	_PIXEL_CLOCK_V5_MISC_HDMI_30BPP,4,2 ## @PIXEL_CLOCK_V5_MISC_HDMI_30BPP
	.comm	_PIXEL_CLOCK_V6_MISC_REF_DIV_SRC,4,2 ## @PIXEL_CLOCK_V6_MISC_REF_DIV_SRC
	.comm	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP,4,2 ## @PIXEL_CLOCK_V6_MISC_HDMI_24BPP
	.comm	_PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6,4,2 ## @PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6
	.comm	_PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6,4,2 ## @PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6
	.comm	_PIXEL_CLOCK_V6_MISC_HDMI_48BPP,4,2 ## @PIXEL_CLOCK_V6_MISC_HDMI_48BPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown table version %d %d\n"

	.no_dead_strip	_atombios_crtc_program_pll
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.atombios_crtc_program_pll
l_switch.table.atombios_crtc_program_pll:
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_48BPP

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atombios_crtc_program_pll
_atombios_crtc_program_pll:             ; @atombios_crtc_program_pll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x7
	mov	x25, x6
	mov	x26, x5
	mov	x22, x4
	mov	x21, x3
	mov	x20, x2
	mov	x24, x1
	ldr	x8, [x0]
	ldr	x27, [x8]
Lloh0:
	adrp	x8, _COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SetPixelClock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SetPixelClock@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x19, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	w0, [x27]
	add	x2, sp, #76
	add	x3, sp, #72
	mov	x1, x19
	bl	_atom_parse_cmd_header
	cbz	w0, LBB0_31
; %bb.1:
	ldp	w2, w1, [sp, #72]
	cmp	w1, #1
	b.ne	LBB0_6
; %bb.2:
	sub	w8, w2, #1
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.3:
	ldr	x15, [x29, #32]
	ldp	w13, w28, [x29, #24]
	ldp	w14, w12, [x29, #16]
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh8:
	adrp	x8, _ATOM_DISABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATOM_DISABLE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w26
	b.eq	LBB0_31
LBB0_5:
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w26, w8
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w0, w8, w9, asr #2
	mov	x21, x12
	mov	x22, x14
	bl	_cpu_to_le16
	str	x0, [sp, #56]
	mov	x0, x25
	bl	_cpu_to_le16
	str	x0, [sp, #48]
	mov	x0, x23
	bl	_cpu_to_le16
	str	x0, [sp, #40]
	stp	w22, w21, [sp, #16]
	stp	w20, w24, [sp, #24]
	mov	w8, #1
	str	w8, [sp, #32]
	b	LBB0_30
LBB0_6:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	_DRM_ERROR
	b	LBB0_31
LBB0_8:
	str	x15, [sp, #8]                   ; 8-byte Folded Spill
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w26, w8
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w0, w8, w9, asr #2
	str	w12, [sp, #4]                   ; 4-byte Folded Spill
	mov	x26, x14
	bl	_cpu_to_le16
	str	x0, [sp, #56]
	mov	x0, x25
	bl	_cpu_to_le16
	str	x0, [sp, #48]
	mov	x0, x23
	bl	_cpu_to_le16
	str	x0, [sp, #40]
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	stp	w26, w8, [sp, #16]
	str	w20, [sp, #24]
Lloh13:
	adrp	x8, _ATOM_CRTC2@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ATOM_CRTC2@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _PIXEL_CLOCK_MISC_CRTC_SEL_CRTC2@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PIXEL_CLOCK_MISC_CRTC_SEL_CRTC2@GOTPAGEOFF]
Lloh18:
	adrp	x10, _PIXEL_CLOCK_MISC_CRTC_SEL_CRTC1@GOTPAGE
Lloh19:
	ldr	x10, [x10, _PIXEL_CLOCK_MISC_CRTC_SEL_CRTC1@GOTPAGEOFF]
	cmp	w8, w24
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [sp, #36]
	cbz	w28, LBB0_11
; %bb.9:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _ATOM_EXTERNAL_SS_MASK@GOTPAGE
Lloh21:
	ldr	x10, [x10, _ATOM_EXTERNAL_SS_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_11
; %bb.10:
Lloh23:
	adrp	x9, _PIXEL_CLOCK_MISC_REF_DIV_SRC@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PIXEL_CLOCK_MISC_REF_DIV_SRC@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #36]
LBB0_11:
	stp	w22, w21, [sp, #28]
	b	LBB0_30
LBB0_12:
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #1
	b	LBB0_7
LBB0_13:
	str	x15, [sp, #8]                   ; 8-byte Folded Spill
	str	w13, [sp, #4]                   ; 4-byte Folded Spill
	str	w24, [sp, #16]
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w26, w8
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w0, w8, w9, asr #2
	mov	x24, x12
	mov	x26, x14
	bl	_cpu_to_le16
	str	x0, [sp, #64]
	str	w25, [sp, #20]
	mov	x0, x23
	bl	_cpu_to_le16
	str	x0, [sp, #56]
	mov	w8, #34464
	movk	w8, #1, lsl #16
	mul	w0, w26, w8
	bl	_cpu_to_le32
	str	x0, [sp, #48]
	str	w24, [sp, #24]
	str	wzr, [sp, #40]
	cbz	w28, LBB0_19
; %bb.14:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _ATOM_EXTERNAL_SS_MASK@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ATOM_EXTERNAL_SS_MASK@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.15:
Lloh31:
	adrp	x8, _PIXEL_CLOCK_V5_MISC_REF_DIV_SRC@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PIXEL_CLOCK_V5_MISC_REF_DIV_SRC@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	b	LBB0_20
LBB0_16:
	str	x15, [sp, #8]                   ; 8-byte Folded Spill
	str	w13, [sp, #4]                   ; 4-byte Folded Spill
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w26, w8
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w8, w8, w9, asr #2
	orr	w0, w8, w24, lsl #24
	mov	x24, x12
	mov	x26, x14
	bl	_cpu_to_le32
	str	x0, [sp, #56]
	str	w25, [sp, #16]
	mov	x0, x23
	bl	_cpu_to_le16
	str	x0, [sp, #48]
	mov	w8, #34464
	movk	w8, #1, lsl #16
	mul	w0, w26, w8
	bl	_cpu_to_le32
	str	x0, [sp, #40]
	str	w24, [sp, #20]
	str	wzr, [sp, #36]
	cbz	w28, LBB0_23
; %bb.17:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _ATOM_EXTERNAL_SS_MASK@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ATOM_EXTERNAL_SS_MASK@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.18:
Lloh37:
	adrp	x8, _PIXEL_CLOCK_V6_MISC_REF_DIV_SRC@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PIXEL_CLOCK_V6_MISC_REF_DIV_SRC@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	str	w8, [sp, #36]
	b	LBB0_24
LBB0_19:
	mov	w8, #0
LBB0_20:
	ldr	w12, [sp, #4]                   ; 4-byte Folded Reload
Lloh40:
	adrp	x9, _ATOM_ENCODER_MODE_HDMI@GOTPAGE
Lloh41:
	ldr	x9, [x9, _ATOM_ENCODER_MODE_HDMI@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_22
; %bb.21:
Lloh43:
	adrp	x9, _PIXEL_CLOCK_V5_MISC_HDMI_30BPP@GOTPAGE
Lloh44:
	ldr	x9, [x9, _PIXEL_CLOCK_V5_MISC_HDMI_30BPP@GOTPAGEOFF]
Lloh45:
	adrp	x10, _PIXEL_CLOCK_V5_MISC_HDMI_32BPP@GOTPAGE
Lloh46:
	ldr	x10, [x10, _PIXEL_CLOCK_V5_MISC_HDMI_32BPP@GOTPAGEOFF]
Lloh47:
	adrp	x11, _PIXEL_CLOCK_V5_MISC_HDMI_24BPP@GOTPAGE
Lloh48:
	ldr	x11, [x11, _PIXEL_CLOCK_V5_MISC_HDMI_24BPP@GOTPAGEOFF]
	cmp	w12, #10
	csel	x10, x10, x11, eq
	cmp	w12, #12
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #40]
LBB0_22:
	stp	w22, w21, [sp, #28]
	str	w20, [sp, #36]
	b	LBB0_30
LBB0_23:
	mov	w8, #0
LBB0_24:
	ldr	w10, [sp, #4]                   ; 4-byte Folded Reload
Lloh49:
	adrp	x9, _ATOM_ENCODER_MODE_HDMI@GOTPAGE
Lloh50:
	ldr	x9, [x9, _ATOM_ENCODER_MODE_HDMI@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_29
; %bb.25:
	sub	w9, w10, #10
	cmp	w9, #6
	b.hi	LBB0_27
; %bb.26:
Lloh52:
	adrp	x10, l_switch.table.atombios_crtc_program_pll@PAGE
Lloh53:
	add	x10, x10, l_switch.table.atombios_crtc_program_pll@PAGEOFF
	ldr	x9, [x10, w9, sxtw #3]
	b	LBB0_28
LBB0_27:
Lloh54:
	adrp	x9, _PIXEL_CLOCK_V6_MISC_HDMI_24BPP@GOTPAGE
Lloh55:
	ldr	x9, [x9, _PIXEL_CLOCK_V6_MISC_HDMI_24BPP@GOTPAGEOFF]
LBB0_28:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #36]
LBB0_29:
	stp	w22, w21, [sp, #24]
	str	w20, [sp, #32]
LBB0_30:
	ldr	w0, [x27]
	add	x2, sp, #16
	mov	x1, x19
	bl	_atom_execute_table
LBB0_31:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
                                        ; -- End function
	.comm	_COMMAND,4,2                    ; @COMMAND
	.comm	_SetPixelClock,4,2              ; @SetPixelClock
	.comm	_ATOM_DISABLE,4,2               ; @ATOM_DISABLE
	.comm	_ATOM_CRTC2,4,2                 ; @ATOM_CRTC2
	.comm	_PIXEL_CLOCK_MISC_CRTC_SEL_CRTC2,4,2 ; @PIXEL_CLOCK_MISC_CRTC_SEL_CRTC2
	.comm	_PIXEL_CLOCK_MISC_CRTC_SEL_CRTC1,4,2 ; @PIXEL_CLOCK_MISC_CRTC_SEL_CRTC1
	.comm	_ATOM_EXTERNAL_SS_MASK,4,2      ; @ATOM_EXTERNAL_SS_MASK
	.comm	_PIXEL_CLOCK_MISC_REF_DIV_SRC,4,2 ; @PIXEL_CLOCK_MISC_REF_DIV_SRC
	.comm	_PIXEL_CLOCK_V5_MISC_REF_DIV_SRC,4,2 ; @PIXEL_CLOCK_V5_MISC_REF_DIV_SRC
	.comm	_ATOM_ENCODER_MODE_HDMI,4,2     ; @ATOM_ENCODER_MODE_HDMI
	.comm	_PIXEL_CLOCK_V5_MISC_HDMI_24BPP,4,2 ; @PIXEL_CLOCK_V5_MISC_HDMI_24BPP
	.comm	_PIXEL_CLOCK_V5_MISC_HDMI_32BPP,4,2 ; @PIXEL_CLOCK_V5_MISC_HDMI_32BPP
	.comm	_PIXEL_CLOCK_V5_MISC_HDMI_30BPP,4,2 ; @PIXEL_CLOCK_V5_MISC_HDMI_30BPP
	.comm	_PIXEL_CLOCK_V6_MISC_REF_DIV_SRC,4,2 ; @PIXEL_CLOCK_V6_MISC_REF_DIV_SRC
	.comm	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP,4,2 ; @PIXEL_CLOCK_V6_MISC_HDMI_24BPP
	.comm	_PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6,4,2 ; @PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6
	.comm	_PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6,4,2 ; @PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6
	.comm	_PIXEL_CLOCK_V6_MISC_HDMI_48BPP,4,2 ; @PIXEL_CLOCK_V6_MISC_HDMI_48BPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown table version %d %d\n"

	.no_dead_strip	_atombios_crtc_program_pll
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.atombios_crtc_program_pll
l_switch.table.atombios_crtc_program_pll:
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_24BPP
	.quad	_PIXEL_CLOCK_V6_MISC_HDMI_48BPP

.subsections_via_symbols
