	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alc882_gpio_mute
_alc882_gpio_mute:                      ## @alc882_gpio_mute
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	movq	_AC_VERB_GET_GPIO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	movl	%eax, %r14d
	btrl	%r15d, %r14d
	btsl	%r15d, %eax
	testl	%r12d, %r12d
	cmovel	%eax, %r14d
	movl	(%rbx), %esi
	movq	_AC_VERB_GET_GPIO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	movl	%eax, %r12d
	btsl	%r15d, %r12d
	movl	(%rbx), %esi
	movq	_AC_VERB_GET_GPIO_DIRECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	movl	%eax, %r13d
	btsl	%r15d, %r13d
	movl	(%rbx), %esi
	movq	_AC_VERB_SET_GPIO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	%r12d, %r8d
	callq	_snd_hda_codec_write
	movl	(%rbx), %esi
	movq	_AC_VERB_SET_GPIO_DIRECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	%r13d, %r8d
	callq	_snd_hda_codec_write
	movl	$1, %edi
	callq	_msleep
	movl	(%rbx), %esi
	movq	_AC_VERB_SET_GPIO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	%r14d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_hda_codec_write            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_VERB_GET_GPIO_DATA,4,2      ## @AC_VERB_GET_GPIO_DATA
	.comm	_AC_VERB_GET_GPIO_MASK,4,2      ## @AC_VERB_GET_GPIO_MASK
	.comm	_AC_VERB_GET_GPIO_DIRECTION,4,2 ## @AC_VERB_GET_GPIO_DIRECTION
	.comm	_AC_VERB_SET_GPIO_MASK,4,2      ## @AC_VERB_SET_GPIO_MASK
	.comm	_AC_VERB_SET_GPIO_DIRECTION,4,2 ## @AC_VERB_SET_GPIO_DIRECTION
	.comm	_AC_VERB_SET_GPIO_DATA,4,2      ## @AC_VERB_SET_GPIO_DATA
	.no_dead_strip	_alc882_gpio_mute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alc882_gpio_mute
_alc882_gpio_mute:                      ; @alc882_gpio_mute
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w1, [x0]
Lloh0:
	adrp	x8, _AC_VERB_GET_GPIO_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_VERB_GET_GPIO_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
	mov	w8, #1
	lsl	w22, w8, w21
	bic	w8, w0, w22
	orr	w9, w0, w22
	cmp	w20, #0
	csel	w20, w9, w8, eq
	ldr	w1, [x19]
Lloh3:
	adrp	x8, _AC_VERB_GET_GPIO_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AC_VERB_GET_GPIO_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
	orr	w21, w0, w22
	ldr	w1, [x19]
Lloh6:
	adrp	x8, _AC_VERB_GET_GPIO_DIRECTION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AC_VERB_GET_GPIO_DIRECTION@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
	orr	w22, w0, w22
	ldr	w1, [x19]
Lloh9:
	adrp	x8, _AC_VERB_SET_GPIO_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AC_VERB_SET_GPIO_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x4, x21
	bl	_snd_hda_codec_write
	ldr	w1, [x19]
Lloh12:
	adrp	x8, _AC_VERB_SET_GPIO_DIRECTION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AC_VERB_SET_GPIO_DIRECTION@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x4, x22
	bl	_snd_hda_codec_write
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x19]
Lloh15:
	adrp	x8, _AC_VERB_SET_GPIO_DATA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AC_VERB_SET_GPIO_DATA@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x4, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_hda_codec_write
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_VERB_GET_GPIO_DATA,4,2      ; @AC_VERB_GET_GPIO_DATA
	.comm	_AC_VERB_GET_GPIO_MASK,4,2      ; @AC_VERB_GET_GPIO_MASK
	.comm	_AC_VERB_GET_GPIO_DIRECTION,4,2 ; @AC_VERB_GET_GPIO_DIRECTION
	.comm	_AC_VERB_SET_GPIO_MASK,4,2      ; @AC_VERB_SET_GPIO_MASK
	.comm	_AC_VERB_SET_GPIO_DIRECTION,4,2 ; @AC_VERB_SET_GPIO_DIRECTION
	.comm	_AC_VERB_SET_GPIO_DATA,4,2      ; @AC_VERB_SET_GPIO_DATA
	.no_dead_strip	_alc882_gpio_mute
.subsections_via_symbols
