	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_conf_init
_hdmi_conf_init:                        ## @hdmi_conf_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_HDMI_INTC_CON@GOTPCREL(%rip), %rax
	movq	_HDMI_INTC_EN_GLOBAL@GOTPCREL(%rip), %rdx
	movq	_HDMI_INTC_EN_HPD_PLUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movl	(%rax), %esi
	movq	_HDMI_INTC_EN_HPD_UNPLUG@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	xorl	%edx, %edx
	callq	_hdmi_reg_writemask
	movq	_HDMI_MODE_SEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_HDMI_MODE_HDMI_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HDMI_MODE_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	callq	_hdmi_reg_writemask
	movq	_HDMI_CON_2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_hdmi_reg_writeb
	movq	_HDMI_CON_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HDMI_BLUE_SCR_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_hdmi_reg_writemask
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	movq	_HDMI_MODE_DVI_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	callq	_hdmi_reg_writemask
	movl	(%r12), %esi
	movq	_HDMI_VID_PREAMBLE_DIS@GOTPCREL(%rip), %rax
	movq	_HDMI_GUARD_BAND_DIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_hdmi_reg_writeb
LBB0_2:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_HDMI_TYPE13@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_HDMI_V13_BLUE_SCREEN_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$18, %edx
	callq	_hdmi_reg_writeb
	movq	_HDMI_V13_BLUE_SCREEN_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$52, %edx
	callq	_hdmi_reg_writeb
	movq	_HDMI_V13_BLUE_SCREEN_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$86, %edx
	callq	_hdmi_reg_writeb
	movq	_HDMI_V13_AVI_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_hdmi_reg_writeb
	xorl	%edi, %edi
	callq	_HDMI_V13_AVI_BYTE
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_hdmi_reg_writeb
	movq	_HDMI_CON_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$512, %edx                      ## imm = 0x200
	movl	$544, %ecx                      ## imm = 0x220
	callq	_hdmi_reg_writemask
	movq	_HDMI_V13_SPD_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_hdmi_reg_writeb
	movq	_HDMI_V13_AUI_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_hdmi_reg_writeb
	movq	_HDMI_V13_ACR_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_reg_writeb                ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	callq	_hdmi_reg_infoframes
	movq	_HDMI_CON_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	movl	$96, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_reg_writemask             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_INTC_CON,4,2              ## @HDMI_INTC_CON
	.comm	_HDMI_INTC_EN_GLOBAL,4,2        ## @HDMI_INTC_EN_GLOBAL
	.comm	_HDMI_INTC_EN_HPD_PLUG,4,2      ## @HDMI_INTC_EN_HPD_PLUG
	.comm	_HDMI_INTC_EN_HPD_UNPLUG,4,2    ## @HDMI_INTC_EN_HPD_UNPLUG
	.comm	_HDMI_MODE_SEL,4,2              ## @HDMI_MODE_SEL
	.comm	_HDMI_MODE_HDMI_EN,4,2          ## @HDMI_MODE_HDMI_EN
	.comm	_HDMI_MODE_MASK,4,2             ## @HDMI_MODE_MASK
	.comm	_HDMI_CON_2,4,2                 ## @HDMI_CON_2
	.comm	_HDMI_CON_0,4,2                 ## @HDMI_CON_0
	.comm	_HDMI_BLUE_SCR_EN,4,2           ## @HDMI_BLUE_SCR_EN
	.comm	_HDMI_MODE_DVI_EN,4,2           ## @HDMI_MODE_DVI_EN
	.comm	_HDMI_VID_PREAMBLE_DIS,4,2      ## @HDMI_VID_PREAMBLE_DIS
	.comm	_HDMI_GUARD_BAND_DIS,4,2        ## @HDMI_GUARD_BAND_DIS
	.comm	_HDMI_TYPE13,8,3                ## @HDMI_TYPE13
	.comm	_HDMI_V13_BLUE_SCREEN_0,4,2     ## @HDMI_V13_BLUE_SCREEN_0
	.comm	_HDMI_V13_BLUE_SCREEN_1,4,2     ## @HDMI_V13_BLUE_SCREEN_1
	.comm	_HDMI_V13_BLUE_SCREEN_2,4,2     ## @HDMI_V13_BLUE_SCREEN_2
	.comm	_HDMI_V13_AVI_CON,4,2           ## @HDMI_V13_AVI_CON
	.comm	_HDMI_CON_1,4,2                 ## @HDMI_CON_1
	.comm	_HDMI_V13_SPD_CON,4,2           ## @HDMI_V13_SPD_CON
	.comm	_HDMI_V13_AUI_CON,4,2           ## @HDMI_V13_AUI_CON
	.comm	_HDMI_V13_ACR_CON,4,2           ## @HDMI_V13_ACR_CON
	.no_dead_strip	_hdmi_conf_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_conf_init
_hdmi_conf_init:                        ; @hdmi_conf_init
	.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, x0
Lloh0:
	adrp	x8, _HDMI_INTC_CON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_INTC_CON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _HDMI_INTC_EN_GLOBAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_INTC_EN_GLOBAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _HDMI_INTC_EN_HPD_PLUG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HDMI_INTC_EN_HPD_PLUG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _HDMI_INTC_EN_HPD_UNPLUG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HDMI_INTC_EN_HPD_UNPLUG@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	w2, #0
	bl	_hdmi_reg_writemask
Lloh12:
	adrp	x20, _HDMI_MODE_SEL@GOTPAGE
Lloh13:
	ldr	x20, [x20, _HDMI_MODE_SEL@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh14:
	adrp	x8, _HDMI_MODE_HDMI_EN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HDMI_MODE_HDMI_EN@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x22, _HDMI_MODE_MASK@GOTPAGE
Lloh18:
	ldr	x22, [x22, _HDMI_MODE_MASK@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x19
	bl	_hdmi_reg_writemask
Lloh19:
	adrp	x21, _HDMI_CON_2@GOTPAGE
Lloh20:
	ldr	x21, [x21, _HDMI_CON_2@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_hdmi_reg_writeb
Lloh21:
	adrp	x8, _HDMI_CON_0@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HDMI_CON_0@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _HDMI_BLUE_SCR_EN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HDMI_BLUE_SCR_EN@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_hdmi_reg_writemask
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w1, [x20]
Lloh27:
	adrp	x8, _HDMI_MODE_DVI_EN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HDMI_MODE_DVI_EN@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	bl	_hdmi_reg_writemask
Lloh30:
	adrp	x8, _HDMI_VID_PREAMBLE_DIS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _HDMI_VID_PREAMBLE_DIS@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _HDMI_GUARD_BAND_DIS@GOTPAGE
Lloh34:
	ldr	x9, [x9, _HDMI_GUARD_BAND_DIS@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_hdmi_reg_writeb
LBB0_2:
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh36:
	adrp	x9, _HDMI_TYPE13@GOTPAGE
Lloh37:
	ldr	x9, [x9, _HDMI_TYPE13@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh39:
	adrp	x8, _HDMI_V13_BLUE_SCREEN_0@GOTPAGE
Lloh40:
	ldr	x8, [x8, _HDMI_V13_BLUE_SCREEN_0@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #18
	bl	_hdmi_reg_writeb
Lloh42:
	adrp	x8, _HDMI_V13_BLUE_SCREEN_1@GOTPAGE
Lloh43:
	ldr	x8, [x8, _HDMI_V13_BLUE_SCREEN_1@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #52
	bl	_hdmi_reg_writeb
Lloh45:
	adrp	x8, _HDMI_V13_BLUE_SCREEN_2@GOTPAGE
Lloh46:
	ldr	x8, [x8, _HDMI_V13_BLUE_SCREEN_2@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #86
	bl	_hdmi_reg_writeb
Lloh48:
	adrp	x8, _HDMI_V13_AVI_CON@GOTPAGE
Lloh49:
	ldr	x8, [x8, _HDMI_V13_AVI_CON@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_hdmi_reg_writeb
	mov	w0, #0
	bl	_HDMI_V13_AVI_BYTE
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_hdmi_reg_writeb
Lloh51:
	adrp	x8, _HDMI_CON_1@GOTPAGE
Lloh52:
	ldr	x8, [x8, _HDMI_CON_1@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #512
	mov	w3, #544
	bl	_hdmi_reg_writemask
Lloh54:
	adrp	x8, _HDMI_V13_SPD_CON@GOTPAGE
Lloh55:
	ldr	x8, [x8, _HDMI_V13_SPD_CON@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_hdmi_reg_writeb
Lloh57:
	adrp	x8, _HDMI_V13_AUI_CON@GOTPAGE
Lloh58:
	ldr	x8, [x8, _HDMI_V13_AUI_CON@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_hdmi_reg_writeb
Lloh60:
	adrp	x8, _HDMI_V13_ACR_CON@GOTPAGE
Lloh61:
	ldr	x8, [x8, _HDMI_V13_ACR_CON@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	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	_hdmi_reg_writeb
LBB0_4:
	mov	x0, x19
	bl	_hdmi_reg_infoframes
Lloh63:
	adrp	x8, _HDMI_CON_1@GOTPAGE
Lloh64:
	ldr	x8, [x8, _HDMI_CON_1@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #96
	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	_hdmi_reg_writemask
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_INTC_CON,4,2              ; @HDMI_INTC_CON
	.comm	_HDMI_INTC_EN_GLOBAL,4,2        ; @HDMI_INTC_EN_GLOBAL
	.comm	_HDMI_INTC_EN_HPD_PLUG,4,2      ; @HDMI_INTC_EN_HPD_PLUG
	.comm	_HDMI_INTC_EN_HPD_UNPLUG,4,2    ; @HDMI_INTC_EN_HPD_UNPLUG
	.comm	_HDMI_MODE_SEL,4,2              ; @HDMI_MODE_SEL
	.comm	_HDMI_MODE_HDMI_EN,4,2          ; @HDMI_MODE_HDMI_EN
	.comm	_HDMI_MODE_MASK,4,2             ; @HDMI_MODE_MASK
	.comm	_HDMI_CON_2,4,2                 ; @HDMI_CON_2
	.comm	_HDMI_CON_0,4,2                 ; @HDMI_CON_0
	.comm	_HDMI_BLUE_SCR_EN,4,2           ; @HDMI_BLUE_SCR_EN
	.comm	_HDMI_MODE_DVI_EN,4,2           ; @HDMI_MODE_DVI_EN
	.comm	_HDMI_VID_PREAMBLE_DIS,4,2      ; @HDMI_VID_PREAMBLE_DIS
	.comm	_HDMI_GUARD_BAND_DIS,4,2        ; @HDMI_GUARD_BAND_DIS
	.comm	_HDMI_TYPE13,8,3                ; @HDMI_TYPE13
	.comm	_HDMI_V13_BLUE_SCREEN_0,4,2     ; @HDMI_V13_BLUE_SCREEN_0
	.comm	_HDMI_V13_BLUE_SCREEN_1,4,2     ; @HDMI_V13_BLUE_SCREEN_1
	.comm	_HDMI_V13_BLUE_SCREEN_2,4,2     ; @HDMI_V13_BLUE_SCREEN_2
	.comm	_HDMI_V13_AVI_CON,4,2           ; @HDMI_V13_AVI_CON
	.comm	_HDMI_CON_1,4,2                 ; @HDMI_CON_1
	.comm	_HDMI_V13_SPD_CON,4,2           ; @HDMI_V13_SPD_CON
	.comm	_HDMI_V13_AUI_CON,4,2           ; @HDMI_V13_AUI_CON
	.comm	_HDMI_V13_ACR_CON,4,2           ; @HDMI_V13_ACR_CON
	.no_dead_strip	_hdmi_conf_init
.subsections_via_symbols
