	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function power_on_explicit
_power_on_explicit:                     ## @power_on_explicit
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_HDMI_RES_GROUP_CEA@GOTPCREL(%rip), %rcx
	movq	_HDMI_RES_GROUP_DMT@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rax
	cmoveq	%rdi, %rax
	cmpq	%rbx, (%rcx)
	movl	%edx, %r12d
	movl	%esi, %r15d
	leaq	L_.str.1(%rip), %r13
	cmoveq	%r13, %rax
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movl	%r15d, %edx
	callq	_LOG_STD
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_vc_tv_hdmi_power_on_explicit
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_HDMI_RES_GROUP_DMT@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %r14
	movq	_HDMI_RES_GROUP_CEA@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	cmoveq	%r13, %r14
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_LOG_ERR
LBB0_2:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Powering on HDMI with explicit settings (%s mode %u)"

	.comm	_HDMI_RES_GROUP_CEA,8,3         ## @HDMI_RES_GROUP_CEA
L_.str.1:                               ## @.str.1
	.asciz	"CEA"

	.comm	_HDMI_RES_GROUP_DMT,8,3         ## @HDMI_RES_GROUP_DMT
L_.str.2:                               ## @.str.2
	.asciz	"DMT"

L_.str.3:                               ## @.str.3
	.asciz	"CUSTOM"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to power on HDMI with explicit settings (%s mode %u)"

	.no_dead_strip	_power_on_explicit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function power_on_explicit
_power_on_explicit:                     ; @power_on_explicit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _HDMI_RES_GROUP_CEA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HDMI_RES_GROUP_CEA@GOTPAGEOFF]
Lloh2:
	adrp	x23, _HDMI_RES_GROUP_DMT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _HDMI_RES_GROUP_DMT@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x23]
Lloh4:
	adrp	x24, l_.str.3@PAGE
Lloh5:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh6:
	adrp	x25, l_.str.2@PAGE
Lloh7:
	add	x25, x25, l_.str.2@PAGEOFF
	cmp	x9, x0
	csel	x9, x25, x24, eq
Lloh8:
	adrp	x26, l_.str.1@PAGE
Lloh9:
	add	x26, x26, l_.str.1@PAGEOFF
	cmp	x8, x0
	csel	x1, x26, x9, eq
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_LOG_STD
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_vc_tv_hdmi_power_on_explicit
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x9, x20
	csel	x9, x25, x24, eq
	cmp	x8, x20
	csel	x1, x26, x9, eq
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x19
	bl	_LOG_ERR
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Powering on HDMI with explicit settings (%s mode %u)"

	.comm	_HDMI_RES_GROUP_CEA,8,3         ; @HDMI_RES_GROUP_CEA
l_.str.1:                               ; @.str.1
	.asciz	"CEA"

	.comm	_HDMI_RES_GROUP_DMT,8,3         ; @HDMI_RES_GROUP_DMT
l_.str.2:                               ; @.str.2
	.asciz	"DMT"

l_.str.3:                               ; @.str.3
	.asciz	"CUSTOM"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to power on HDMI with explicit settings (%s mode %u)"

	.no_dead_strip	_power_on_explicit
.subsections_via_symbols
