	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_ACPI_HANDLE
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	_INTEL_DSM_REVISION_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_INTEL_DSM_FN_PLATFORM_MUX_INFO@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movq	_intel_dsm_guid@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %ecx
	callq	_acpi_check_dsm
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_intel_dsm_platform_mux_info
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no _DSM method for intel device\n"

	.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:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_ACPI_HANDLE
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
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	w8, [x8]
	mov	w9, #1
	lsl	w3, w9, w8
Lloh6:
	adrp	x1, _intel_dsm_guid@GOTPAGE
Lloh7:
	ldr	x1, [x1, _intel_dsm_guid@GOTPAGEOFF]
	mov	x0, x19
	bl	_acpi_check_dsm
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_intel_dsm_platform_mux_info
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no _DSM method for intel device\n"

	.no_dead_strip	_intel_dsm_pci_probe
.subsections_via_symbols
