	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sti_hdmi_disable
_sti_hdmi_disable:                      ## @sti_hdmi_disable
	.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	(%rdi), %rbx
	movq	_HDMI_CFG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_hdmi_read
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	movq	_HDMI_CFG_DEVICE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_hdmi_write
	movq	_HDMI_INT_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_hdmi_write
	movq	24(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	_HDMI_IFRAME_SLOT_AVI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_hdmi_infoframe_reset
	movq	_HDMI_IFRAME_SLOT_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_hdmi_infoframe_reset
	movq	_HDMI_IFRAME_SLOT_VENDOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_hdmi_infoframe_reset
	movq	_HDMI_DFLT_CHL0_DAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_hdmi_write
	movq	_HDMI_DFLT_CHL1_DAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_hdmi_write
	movq	_HDMI_DFLT_CHL2_DAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$96, %esi
	callq	_hdmi_write
	movl	16(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	12(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	8(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	$0, (%rbx)
	movl	4(%rbx), %edi
	movq	_CEC_PHYS_ADDR_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cec_notifier_set_phys_addr     ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_CFG,4,2                   ## @HDMI_CFG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_HDMI_CFG_DEVICE_EN,4,2         ## @HDMI_CFG_DEVICE_EN
	.comm	_HDMI_INT_CLR,4,2               ## @HDMI_INT_CLR
	.comm	_HDMI_IFRAME_SLOT_AVI,4,2       ## @HDMI_IFRAME_SLOT_AVI
	.comm	_HDMI_IFRAME_SLOT_AUDIO,4,2     ## @HDMI_IFRAME_SLOT_AUDIO
	.comm	_HDMI_IFRAME_SLOT_VENDOR,4,2    ## @HDMI_IFRAME_SLOT_VENDOR
	.comm	_HDMI_DFLT_CHL0_DAT,4,2         ## @HDMI_DFLT_CHL0_DAT
	.comm	_HDMI_DFLT_CHL1_DAT,4,2         ## @HDMI_DFLT_CHL1_DAT
	.comm	_HDMI_DFLT_CHL2_DAT,4,2         ## @HDMI_DFLT_CHL2_DAT
	.comm	_CEC_PHYS_ADDR_INVALID,4,2      ## @CEC_PHYS_ADDR_INVALID
	.no_dead_strip	_sti_hdmi_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sti_hdmi_disable
_sti_hdmi_disable:                      ; @sti_hdmi_disable
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x21, _HDMI_CFG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HDMI_CFG@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_hdmi_read
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
Lloh4:
	adrp	x8, _HDMI_CFG_DEVICE_EN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HDMI_CFG_DEVICE_EN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w1, w20, w8
	ldr	w2, [x21]
	mov	x0, x19
	bl	_hdmi_write
Lloh7:
	adrp	x8, _HDMI_INT_CLR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDMI_INT_CLR@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #-1
	bl	_hdmi_write
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
Lloh10:
	adrp	x8, _HDMI_IFRAME_SLOT_AVI@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HDMI_IFRAME_SLOT_AVI@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hdmi_infoframe_reset
Lloh13:
	adrp	x8, _HDMI_IFRAME_SLOT_AUDIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HDMI_IFRAME_SLOT_AUDIO@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hdmi_infoframe_reset
Lloh16:
	adrp	x8, _HDMI_IFRAME_SLOT_VENDOR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HDMI_IFRAME_SLOT_VENDOR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hdmi_infoframe_reset
Lloh19:
	adrp	x8, _HDMI_DFLT_CHL0_DAT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HDMI_DFLT_CHL0_DAT@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_hdmi_write
Lloh22:
	adrp	x8, _HDMI_DFLT_CHL1_DAT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HDMI_DFLT_CHL1_DAT@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_hdmi_write
Lloh25:
	adrp	x8, _HDMI_DFLT_CHL2_DAT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HDMI_DFLT_CHL2_DAT@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #96
	bl	_hdmi_write
	ldr	w0, [x19, #16]
	bl	_clk_disable_unprepare
	ldr	w0, [x19, #12]
	bl	_clk_disable_unprepare
	ldr	w0, [x19, #8]
	bl	_clk_disable_unprepare
	str	wzr, [x19]
	ldr	w0, [x19, #4]
Lloh28:
	adrp	x8, _CEC_PHYS_ADDR_INVALID@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CEC_PHYS_ADDR_INVALID@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	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	_cec_notifier_set_phys_addr
LBB0_2:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_CFG,4,2                   ; @HDMI_CFG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_HDMI_CFG_DEVICE_EN,4,2         ; @HDMI_CFG_DEVICE_EN
	.comm	_HDMI_INT_CLR,4,2               ; @HDMI_INT_CLR
	.comm	_HDMI_IFRAME_SLOT_AVI,4,2       ; @HDMI_IFRAME_SLOT_AVI
	.comm	_HDMI_IFRAME_SLOT_AUDIO,4,2     ; @HDMI_IFRAME_SLOT_AUDIO
	.comm	_HDMI_IFRAME_SLOT_VENDOR,4,2    ; @HDMI_IFRAME_SLOT_VENDOR
	.comm	_HDMI_DFLT_CHL0_DAT,4,2         ; @HDMI_DFLT_CHL0_DAT
	.comm	_HDMI_DFLT_CHL1_DAT,4,2         ; @HDMI_DFLT_CHL1_DAT
	.comm	_HDMI_DFLT_CHL2_DAT,4,2         ; @HDMI_DFLT_CHL2_DAT
	.comm	_CEC_PHYS_ADDR_INVALID,4,2      ; @CEC_PHYS_ADDR_INVALID
	.no_dead_strip	_sti_hdmi_disable
.subsections_via_symbols
