	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stac_toggle_power_map
_stac_toggle_power_map:                 ## @stac_toggle_power_map
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %r9
	movl	(%r9), %r8d
	testq	%r8, %r8
	je	LBB0_6
## %bb.1:
	movq	8(%r9), %r10
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%r10,%rax,8)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%rax, %r8
	jne	LBB0_2
	jmp	LBB0_6
LBB0_4:
	movl	16(%r9), %r10d
	movl	%r10d, %esi
	btrl	%eax, %esi
	movl	%r10d, %r8d
	btsl	%eax, %r8d
	testl	%edx, %edx
	cmovnel	%esi, %r8d
	cmpl	%r10d, %r8d
	je	LBB0_6
## %bb.5:
	movl	%r8d, 16(%r9)
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.7:
	movl	(%rdi), %esi
	movq	_AC_VERB_IDT_SET_POWER_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	popq	%rbp
	jmp	_snd_hda_codec_write            ## TAILCALL
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_VERB_IDT_SET_POWER_MAP,4,2  ## @AC_VERB_IDT_SET_POWER_MAP
	.no_dead_strip	_stac_toggle_power_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stac_toggle_power_map
_stac_toggle_power_map:                 ; @stac_toggle_power_map
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	cbz	w9, LBB0_7
; %bb.1:
	mov	x10, #0
	ldr	x11, [x8, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x10, lsl #3]
	cmp	x12, x1
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_2
	b	LBB0_7
LBB0_4:
	mov	w9, #1
	lsl	w9, w9, w10
	ldr	w10, [x8, #16]
	bic	w11, w10, w9
	orr	w9, w10, w9
	cmp	w2, #0
	csel	w4, w9, w11, eq
	cmp	w4, w10
	b.eq	LBB0_7
; %bb.5:
	str	w4, [x8, #16]
	cbz	w3, LBB0_7
; %bb.6:
	ldr	w1, [x0]
Lloh0:
	adrp	x8, _AC_VERB_IDT_SET_POWER_MAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_VERB_IDT_SET_POWER_MAP@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w2, #0
	b	_snd_hda_codec_write
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_VERB_IDT_SET_POWER_MAP,4,2  ; @AC_VERB_IDT_SET_POWER_MAP
	.no_dead_strip	_stac_toggle_power_map
.subsections_via_symbols
