	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_dsm_pci_probe
_intel_dsm_pci_probe:                   ## @intel_dsm_pci_probe
	.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
	callq	_DEVICE_ACPI_HANDLE
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdx
	movq	%rax, %rdi
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	callq	_DRM_DEBUG_KMS
	jmp	LBB0_7
LBB0_3:
	movq	_INTEL_DSM_FN_SUPPORTED_FUNCTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_intel_dsm
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movq	_intel_dsm_priv@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	xorl	%eax, %eax
	callq	_intel_dsm_platform_mux_info
	movl	$1, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_DSM"

L_.str.1:                               ## @.str.1
	.asciz	"no _DSM method for intel device\n"

	.comm	_INTEL_DSM_FN_SUPPORTED_FUNCTIONS,4,2 ## @INTEL_DSM_FN_SUPPORTED_FUNCTIONS
L_.str.2:                               ## @.str.2
	.asciz	"failed to get supported _DSM functions\n"

	.comm	_intel_dsm_priv,8,3             ## @intel_dsm_priv
	.no_dead_strip	_intel_dsm_pci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_dsm_pci_probe
_intel_dsm_pci_probe:                   ; @intel_dsm_pci_probe
	.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
	bl	_DEVICE_ACPI_HANDLE
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_acpi_get_handle
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_3:
	bl	_DRM_DEBUG_KMS
	mov	w0, #0
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x8, _INTEL_DSM_FN_SUPPORTED_FUNCTIONS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _INTEL_DSM_FN_SUPPORTED_FUNCTIONS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_intel_dsm
	tbnz	w0, #31, LBB0_7
; %bb.5:
Lloh7:
	adrp	x8, _intel_dsm_priv@GOTPAGE
Lloh8:
	ldr	x8, [x8, _intel_dsm_priv@GOTPAGEOFF]
Lloh9:
	str	x19, [x8]
	bl	_intel_dsm_platform_mux_info
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_DSM"

l_.str.1:                               ; @.str.1
	.asciz	"no _DSM method for intel device\n"

	.comm	_INTEL_DSM_FN_SUPPORTED_FUNCTIONS,4,2 ; @INTEL_DSM_FN_SUPPORTED_FUNCTIONS
l_.str.2:                               ; @.str.2
	.asciz	"failed to get supported _DSM functions\n"

	.comm	_intel_dsm_priv,8,3             ; @intel_dsm_priv
	.no_dead_strip	_intel_dsm_pci_probe
.subsections_via_symbols
