	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_hdmi_update_acr      ## -- Begin function evergreen_hdmi_update_acr
	.p2align	4, 0x90
_evergreen_hdmi_update_acr:             ## @evergreen_hdmi_update_acr
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	callq	_to_radeon_crtc
	cmpl	$9, (%rax)
	jl	LBB0_3
## %bb.2:
	movq	_HDMI_ACR_PACKET_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r15, %rdi
	movq	_HDMI_ACR_AUTO_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_4
LBB0_3:
	movq	_HDMI_ACR_PACKET_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r15, %rdi
	movq	_HDMI_ACR_SOURCE@GOTPCREL(%rip), %rax
	movq	_HDMI_ACR_AUTO_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
LBB0_4:
	callq	_WREG32
	movq	_HDMI_ACR_32_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	%r15, %rbx
	movl	20(%r14), %edi
	callq	_HDMI_ACR_CTS_32
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	_HDMI_ACR_32_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r15, %rdi
	movl	(%r14), %esi
	callq	_WREG32
	movq	_HDMI_ACR_44_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	%r15, %rbx
	movl	16(%r14), %edi
	callq	_HDMI_ACR_CTS_44
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	_HDMI_ACR_44_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r15, %rdi
	movl	4(%r14), %esi
	callq	_WREG32
	movq	_HDMI_ACR_48_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	%r15, %rbx
	movl	12(%r14), %edi
	callq	_HDMI_ACR_CTS_48
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	_HDMI_ACR_48_1@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	movl	8(%r14), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_ACR_PACKET_CONTROL,8,3    ## @HDMI_ACR_PACKET_CONTROL
	.comm	_HDMI_ACR_AUTO_SEND,4,2         ## @HDMI_ACR_AUTO_SEND
	.comm	_HDMI_ACR_SOURCE,4,2            ## @HDMI_ACR_SOURCE
	.comm	_HDMI_ACR_32_0,8,3              ## @HDMI_ACR_32_0
	.comm	_HDMI_ACR_32_1,8,3              ## @HDMI_ACR_32_1
	.comm	_HDMI_ACR_44_0,8,3              ## @HDMI_ACR_44_0
	.comm	_HDMI_ACR_44_1,8,3              ## @HDMI_ACR_44_1
	.comm	_HDMI_ACR_48_0,8,3              ## @HDMI_ACR_48_0
	.comm	_HDMI_ACR_48_1,8,3              ## @HDMI_ACR_48_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_hdmi_update_acr      ; -- Begin function evergreen_hdmi_update_acr
	.p2align	2
_evergreen_hdmi_update_acr:             ; @evergreen_hdmi_update_acr
	.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, x2
	mov	x20, x1
	ldr	x0, [x0]
	cbz	x0, LBB0_3
; %bb.1:
	bl	_to_radeon_crtc
	ldr	w8, [x0]
	cmp	w8, #9
	b.lt	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _HDMI_ACR_PACKET_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_ACR_PACKET_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, x20
Lloh3:
	adrp	x8, _HDMI_ACR_AUTO_SEND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_ACR_AUTO_SEND@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _HDMI_ACR_PACKET_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMI_ACR_PACKET_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _HDMI_ACR_SOURCE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HDMI_ACR_SOURCE@GOTPAGEOFF]
	add	x0, x8, x20
Lloh11:
	ldr	w8, [x9]
Lloh12:
	adrp	x9, _HDMI_ACR_AUTO_SEND@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HDMI_ACR_AUTO_SEND@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w9, w8
LBB0_4:
	bl	_WREG32
Lloh15:
	adrp	x8, _HDMI_ACR_32_0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HDMI_ACR_32_0@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x21, x8, x20
	ldr	w0, [x19, #20]
	bl	_HDMI_ACR_CTS_32
	mov	x1, x0
	mov	x0, x21
	bl	_WREG32
Lloh18:
	adrp	x8, _HDMI_ACR_32_1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HDMI_ACR_32_1@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x0, x8, x20
	ldr	w1, [x19]
	bl	_WREG32
Lloh21:
	adrp	x8, _HDMI_ACR_44_0@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HDMI_ACR_44_0@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x21, x8, x20
	ldr	w0, [x19, #16]
	bl	_HDMI_ACR_CTS_44
	mov	x1, x0
	mov	x0, x21
	bl	_WREG32
Lloh24:
	adrp	x8, _HDMI_ACR_44_1@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HDMI_ACR_44_1@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	add	x0, x8, x20
	ldr	w1, [x19, #4]
	bl	_WREG32
Lloh27:
	adrp	x8, _HDMI_ACR_48_0@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HDMI_ACR_48_0@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	add	x21, x8, x20
	ldr	w0, [x19, #12]
	bl	_HDMI_ACR_CTS_48
	mov	x1, x0
	mov	x0, x21
	bl	_WREG32
Lloh30:
	adrp	x8, _HDMI_ACR_48_1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _HDMI_ACR_48_1@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	add	x0, x8, x20
	ldr	w1, [x19, #8]
	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	_WREG32
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_ACR_PACKET_CONTROL,8,3    ; @HDMI_ACR_PACKET_CONTROL
	.comm	_HDMI_ACR_AUTO_SEND,4,2         ; @HDMI_ACR_AUTO_SEND
	.comm	_HDMI_ACR_SOURCE,4,2            ; @HDMI_ACR_SOURCE
	.comm	_HDMI_ACR_32_0,8,3              ; @HDMI_ACR_32_0
	.comm	_HDMI_ACR_32_1,8,3              ; @HDMI_ACR_32_1
	.comm	_HDMI_ACR_44_0,8,3              ; @HDMI_ACR_44_0
	.comm	_HDMI_ACR_44_1,8,3              ; @HDMI_ACR_44_1
	.comm	_HDMI_ACR_48_0,8,3              ; @HDMI_ACR_48_0
	.comm	_HDMI_ACR_48_1,8,3              ; @HDMI_ACR_48_1
.subsections_via_symbols
