	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_hdmi_cable
_show_hdmi_cable:                       ## @show_hdmi_cable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	$0, -24(%rbp)
	movq	_WMAX_METHOD_HDMI_CABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	leaq	-28(%rbp), %rdx
	callq	_alienware_wmax_command
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_err
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rdx
LBB0_6:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_scnprintf
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMAX_METHOD_HDMI_CABLE,4,2     ## @WMAX_METHOD_HDMI_CABLE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[unconnected] connected unknown\n"

L_.str.1:                               ## @.str.1
	.asciz	"unconnected [connected] unknown\n"

L_.str.2:                               ## @.str.2
	.asciz	"alienware-wmi: unknown HDMI cable status: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"unconnected connected [unknown]\n"

	.no_dead_strip	_show_hdmi_cable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_hdmi_cable
_show_hdmi_cable:                       ; @show_hdmi_cable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	str	wzr, [sp, #8]
Lloh0:
	adrp	x8, _WMAX_METHOD_HDMI_CABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMAX_METHOD_HDMI_CABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	add	x2, sp, #12
	bl	_alienware_wmax_command
	mov	x20, x0
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_5
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_pr_err
Lloh7:
	adrp	x2, l_.str.3@PAGE
Lloh8:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
LBB0_6:
Lloh11:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_scnprintf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_WMAX_METHOD_HDMI_CABLE,4,2     ; @WMAX_METHOD_HDMI_CABLE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[unconnected] connected unknown\n"

l_.str.1:                               ; @.str.1
	.asciz	"unconnected [connected] unknown\n"

l_.str.2:                               ; @.str.2
	.asciz	"alienware-wmi: unknown HDMI cable status: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"unconnected connected [unknown]\n"

	.no_dead_strip	_show_hdmi_cable
.subsections_via_symbols
