	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_dsm_init
_intel_dsm_init:                        ## @intel_dsm_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$-1, 4(%rdi)
	movq	_INTEL_DSM_FNS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rcx
	callq	___intel_dsm
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_mmc_hostname
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
LBB0_2:
	leaq	4(%rbx), %r15
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_debug
	movq	_INTEL_DSM_HS_CAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_dsm                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_DSM_FNS,4,2              ## @INTEL_DSM_FNS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: DSM not supported, error %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: DSM function mask %#x\n"

	.comm	_INTEL_DSM_HS_CAPS,4,2          ## @INTEL_DSM_HS_CAPS
	.no_dead_strip	_intel_dsm_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_dsm_init
_intel_dsm_init:                        ; @intel_dsm_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	mov	w8, #-1
	mov	x20, x0
	str	w8, [x20, #4]!
Lloh0:
	adrp	x8, _INTEL_DSM_FNS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_DSM_FNS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x3, x0
	bl	___intel_dsm
	mov	x22, x0
	mov	x0, x23
	bl	_mmc_hostname
	mov	x1, x0
	cbz	w22, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pr_debug
LBB0_2:
	ldr	w2, [x21]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
Lloh7:
	adrp	x8, _INTEL_DSM_HS_CAPS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INTEL_DSM_HS_CAPS@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x3, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_intel_dsm
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_DSM_FNS,4,2              ; @INTEL_DSM_FNS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: DSM not supported, error %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: DSM function mask %#x\n"

	.comm	_INTEL_DSM_HS_CAPS,4,2          ; @INTEL_DSM_HS_CAPS
	.no_dead_strip	_intel_dsm_init
.subsections_via_symbols
