	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vx_set_mic_boost               ## -- Begin function vx_set_mic_boost
	.p2align	4, 0x90
_vx_set_mic_boost:                      ## @vx_set_mic_boost
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_VX_STAT_IS_STALE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %edx
	movq	_P24_CDSP_MICS_SEL_MASK@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_6
## %bb.2:
	movq	_P24_CDSP_MIC20_SEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	notl	%eax
	andl	%eax, %edx
	movl	%edx, (%rbx)
	movq	_P24_CDSP_MIC38_SEL_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	jmp	LBB0_5
LBB0_4:
	orl	%edx, %eax
	movl	%eax, (%rbx)
	movq	_P24_CDSP_MIC38_SEL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
LBB0_5:
	movl	%edx, (%rbx)
	movq	_CDSP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_vx_outb
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VX_STAT_IS_STALE,4,2           ## @VX_STAT_IS_STALE
	.comm	_P24_CDSP_MICS_SEL_MASK,4,2     ## @P24_CDSP_MICS_SEL_MASK
	.comm	_P24_CDSP_MIC20_SEL_MASK,4,2    ## @P24_CDSP_MIC20_SEL_MASK
	.comm	_P24_CDSP_MIC38_SEL_MASK,4,2    ## @P24_CDSP_MIC38_SEL_MASK
	.comm	_CDSP,4,2                       ## @CDSP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vx_set_mic_boost               ; -- Begin function vx_set_mic_boost
	.p2align	2
_vx_set_mic_boost:                      ; @vx_set_mic_boost
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _VX_STAT_IS_STALE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VX_STAT_IS_STALE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
	mov	x21, x1
	mov	x19, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _P24_CDSP_MICS_SEL_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _P24_CDSP_MICS_SEL_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.3:
Lloh6:
	adrp	x9, _P24_CDSP_MIC20_SEL_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _P24_CDSP_MIC20_SEL_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cbz	w21, LBB0_5
; %bb.4:
	bic	w8, w8, w9
	str	w8, [x19]
Lloh9:
	adrp	x9, _P24_CDSP_MIC38_SEL_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _P24_CDSP_MIC38_SEL_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w9, w8
	b	LBB0_6
LBB0_5:
	orr	w8, w9, w8
	str	w8, [x19]
Lloh12:
	adrp	x9, _P24_CDSP_MIC38_SEL_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _P24_CDSP_MIC38_SEL_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	bic	w2, w8, w9
LBB0_6:
	str	w2, [x19]
Lloh15:
	adrp	x8, _CDSP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CDSP@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_vx_outb
LBB0_7:
	mov	x0, 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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_VX_STAT_IS_STALE,4,2           ; @VX_STAT_IS_STALE
	.comm	_P24_CDSP_MICS_SEL_MASK,4,2     ; @P24_CDSP_MICS_SEL_MASK
	.comm	_P24_CDSP_MIC20_SEL_MASK,4,2    ; @P24_CDSP_MIC20_SEL_MASK
	.comm	_P24_CDSP_MIC38_SEL_MASK,4,2    ; @P24_CDSP_MIC38_SEL_MASK
	.comm	_CDSP,4,2                       ; @CDSP
.subsections_via_symbols
