	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smapi_set_DSP_power_state      ## -- Begin function smapi_set_DSP_power_state
	.p2align	4, 0x90
_smapi_set_DSP_power_state:             ## @smapi_set_DSP_power_state
	.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
	movl	%edi, %ebx
	movq	_TRACE_SMAPI@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_PRINTK_2
	xorl	%ecx, %ecx
	testl	%ebx, %ebx
	setne	%cl
	leaq	-18(%rbp), %rax
	leaq	-20(%rbp), %rbx
	leaq	-22(%rbp), %r10
	leaq	-24(%rbp), %r11
	leaq	-28(%rbp), %r8
	leaq	-26(%rbp), %r9
	movl	$18689, %edi                    ## imm = 0x4901
	xorl	%esi, %esi
	xorl	%edx, %edx
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	pushq	%r11
	callq	_smapi_request
	addq	$32, %rsp
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_PRINTK_2
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_TRACE_SMAPI,4,2                ## @TRACE_SMAPI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smapi::smapi_set_DSP_power_state entry bOn %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"smapi::smapi_set_DSP_power_state exit bRC %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smapi_set_DSP_power_state      ; -- Begin function smapi_set_DSP_power_state
	.p2align	2
_smapi_set_DSP_power_state:             ; @smapi_set_DSP_power_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x20, _TRACE_SMAPI@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TRACE_SMAPI@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_PRINTK_2
	cmp	w19, #0
	cset	w3, ne
	add	x8, sp, #20
	add	x9, sp, #22
	stp	x9, x8, [sp]
	sub	x4, x29, #18
	sub	x5, x29, #20
	sub	x6, x29, #22
	add	x7, sp, #24
	mov	w0, #18689
	mov	w1, #0
	mov	w2, #0
	bl	_smapi_request
	mov	x19, x0
	ldr	w0, [x20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_PRINTK_2
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_TRACE_SMAPI,4,2                ; @TRACE_SMAPI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"smapi::smapi_set_DSP_power_state entry bOn %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"smapi::smapi_set_DSP_power_state exit bRC %x\n"

.subsections_via_symbols
