	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_dsm_platform_mux_info
_intel_dsm_platform_mux_info:           ## @intel_dsm_platform_mux_info
	.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	_INTEL_DSM_REVISION_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_INTEL_DSM_FN_PLATFORM_MUX_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ACPI_TYPE_PACKAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_intel_dsm_guid@GOTPCREL(%rip), %rsi
	xorl	%r8d, %r8d
	callq	_acpi_evaluate_dsm_typed
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_DRIVER
	cmpl	$2, (%rbx)
	jl	LBB0_4
## %bb.2:
	movl	$1, %r15d
	movl	$24, %r12d
	leaq	L_.str.6(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r12), %r13
	movq	(%r13), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_DRIVER
	movq	16(%r13), %rax
	movl	(%rax), %edi
	callq	_intel_dsm_port_name
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_DRIVER
	movq	16(%r13), %rax
	movl	4(%rax), %edi
	callq	_intel_dsm_mux_type
	leaq	L_.str.4(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_DRIVER
	movq	16(%r13), %rax
	movl	8(%rax), %edi
	callq	_intel_dsm_mux_type
	leaq	L_.str.5(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_DRIVER
	movq	16(%r13), %rax
	movl	12(%rax), %edi
	callq	_intel_dsm_mux_type
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_DRIVER
	incq	%r15
	movslq	(%rbx), %rax
	addq	$16, %r12
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ACPI_FREE                      ## TAILCALL
LBB0_5:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_DEBUG_DRIVER               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_intel_dsm_guid,4,2             ## @intel_dsm_guid
	.comm	_INTEL_DSM_REVISION_ID,4,2      ## @INTEL_DSM_REVISION_ID
	.comm	_INTEL_DSM_FN_PLATFORM_MUX_INFO,4,2 ## @INTEL_DSM_FN_PLATFORM_MUX_INFO
	.comm	_ACPI_TYPE_PACKAGE,4,2          ## @ACPI_TYPE_PACKAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to evaluate _DSM\n"

L_.str.1:                               ## @.str.1
	.asciz	"MUX info connectors: %lld\n"

L_.str.2:                               ## @.str.2
	.asciz	"Connector id: 0x%016llx\n"

L_.str.3:                               ## @.str.3
	.asciz	"  port id: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"  display mux info: %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"  aux/dc mux info: %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"  hpd mux info: %s\n"

	.no_dead_strip	_intel_dsm_platform_mux_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_dsm_platform_mux_info
_intel_dsm_platform_mux_info:           ; @intel_dsm_platform_mux_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _INTEL_DSM_REVISION_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_DSM_REVISION_ID@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _INTEL_DSM_FN_PLATFORM_MUX_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTEL_DSM_FN_PLATFORM_MUX_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _ACPI_TYPE_PACKAGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_TYPE_PACKAGE@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
Lloh9:
	adrp	x1, _intel_dsm_guid@GOTPAGE
Lloh10:
	ldr	x1, [x1, _intel_dsm_guid@GOTPAGEOFF]
	mov	x4, #0
	bl	_acpi_evaluate_dsm_typed
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.2:
	mov	w25, #1
	mov	w26, #24
Lloh13:
	adrp	x20, l_.str.2@PAGE
Lloh14:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh15:
	adrp	x21, l_.str.3@PAGE
Lloh16:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh17:
	adrp	x22, l_.str.4@PAGE
Lloh18:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh19:
	adrp	x23, l_.str.5@PAGE
Lloh20:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh21:
	adrp	x24, l_.str.6@PAGE
Lloh22:
	add	x24, x24, l_.str.6@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x27, [x8, x26]
	ldr	x8, [x27]
	str	x8, [sp]
	mov	x0, x20
	bl	_DRM_DEBUG_DRIVER
	ldr	x8, [x27, #16]
	ldr	w0, [x8]
	bl	_intel_dsm_port_name
	str	x0, [sp]
	mov	x0, x21
	bl	_DRM_DEBUG_DRIVER
	ldr	x8, [x27, #16]
	ldr	w0, [x8, #4]
	bl	_intel_dsm_mux_type
	str	x0, [sp]
	mov	x0, x22
	bl	_DRM_DEBUG_DRIVER
	ldr	x8, [x27, #16]
	ldr	w0, [x8, #8]
	bl	_intel_dsm_mux_type
	str	x0, [sp]
	mov	x0, x23
	bl	_DRM_DEBUG_DRIVER
	ldr	x8, [x27, #16]
	ldr	w0, [x8, #12]
	bl	_intel_dsm_mux_type
	str	x0, [sp]
	mov	x0, x24
	bl	_DRM_DEBUG_DRIVER
	add	x25, x25, #1
	ldrsw	x8, [x19]
	add	x26, x26, #16
	cmp	x25, x8
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ACPI_FREE
LBB0_5:
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_DRM_DEBUG_DRIVER
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_intel_dsm_guid,4,2             ; @intel_dsm_guid
	.comm	_INTEL_DSM_REVISION_ID,4,2      ; @INTEL_DSM_REVISION_ID
	.comm	_INTEL_DSM_FN_PLATFORM_MUX_INFO,4,2 ; @INTEL_DSM_FN_PLATFORM_MUX_INFO
	.comm	_ACPI_TYPE_PACKAGE,4,2          ; @ACPI_TYPE_PACKAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to evaluate _DSM\n"

l_.str.1:                               ; @.str.1
	.asciz	"MUX info connectors: %lld\n"

l_.str.2:                               ; @.str.2
	.asciz	"Connector id: 0x%016llx\n"

l_.str.3:                               ; @.str.3
	.asciz	"  port id: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"  display mux info: %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"  aux/dc mux info: %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"  hpd mux info: %s\n"

	.no_dead_strip	_intel_dsm_platform_mux_info
.subsections_via_symbols
