	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx2_set_input_level
_vx2_set_input_level:                   ## @vx2_set_input_level
	.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
	movq	%rdi, %r12
	movl	(%rdi), %r15d
	movq	_V2_MICRO_LEVEL_RANGE@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	xorl	%r14d, %r14d
	cmpl	$211, %r15d
	jl	LBB0_2
## %bb.1:
	cmpl	$246, %r15d
	movl	$246, %eax
	cmovll	%r15d, %eax
	negl	%eax
	addl	%r15d, %eax
	addl	$35, %eax
	imulq	$954437177, %rax, %rax          ## imm = 0x38E38E39
	shrq	$35, %rax
	leal	1(%rax), %r14d
	shll	$2, %eax
	leal	(%rax,%rax,8), %eax
	negl	%eax
	addl	%eax, %r15d
	addl	$-36, %r15d
LBB0_2:
	xorl	%edi, %edi
	cmpl	$4, %r14d
	setae	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_MICRO_SELECT_PREAMPLI_MASK@GOTPCREL(%rip), %rax
	movq	_MICRO_SELECT_PREAMPLI_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r14d
	movl	4(%r12), %ecx
	xorl	%ecx, %r14d
	andl	(%rax), %r14d
	xorl	%ecx, %r14d
	movl	%r14d, 4(%r12)
	movq	_SELMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_vx_outl
	shll	$16, %r15d
	movq	8(%r12), %rax
	movl	8(%rax), %r13d
	shll	$8, %r13d
	orl	%r15d, %r13d
	orl	(%rax), %r13d
	movq	_DATA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_vx_inl
	movl	$32, %ebx
	movq	_VX_DATA_CODEC_MASK@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movl	%r13d, %edx
	sarl	$31, %edx
	andl	(%r15), %edx
	movq	%r12, %rdi
	callq	_vx_outl
	addl	%r13d, %r13d
	decl	%ebx
	jne	LBB0_4
## %bb.5:
	movq	_RUER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vx_inl                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V2_MICRO_LEVEL_RANGE,8,3       ## @V2_MICRO_LEVEL_RANGE
	.comm	_MICRO_SELECT_PREAMPLI_MASK,4,2 ## @MICRO_SELECT_PREAMPLI_MASK
	.comm	_MICRO_SELECT_PREAMPLI_OFFSET,4,2 ## @MICRO_SELECT_PREAMPLI_OFFSET
	.comm	_SELMIC,4,2                     ## @SELMIC
	.comm	_DATA,4,2                       ## @DATA
	.comm	_VX_DATA_CODEC_MASK,4,2         ## @VX_DATA_CODEC_MASK
	.comm	_RUER,4,2                       ## @RUER
	.no_dead_strip	_vx2_set_input_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vx2_set_input_level
_vx2_set_input_level:                   ; @vx2_set_input_level
	.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	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _V2_MICRO_LEVEL_RANGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V2_MICRO_LEVEL_RANGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w20, w8, w9
	cmp	w20, #211
	b.lt	LBB0_2
; %bb.1:
	mov	w8, #246
	cmp	w20, #246
	csel	w8, w20, w8, lt
	sub	w8, w20, w8
	add	w8, w8, #35
	mov	w9, #36409
	movk	w9, #14563, lsl #16
	umull	x8, w8, w9
	lsr	x8, x8, #35
	add	w21, w8, #1
	mov	w9, #-36
	madd	w8, w8, w9, w20
	sub	w20, w8, #36
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
	cmp	w21, #3
	cset	w0, hi
	bl	_snd_BUG_ON
	cbz	x0, LBB0_5
; %bb.4:
	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
	ret
LBB0_5:
Lloh3:
	adrp	x8, _MICRO_SELECT_PREAMPLI_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MICRO_SELECT_PREAMPLI_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w9, w9, w8
Lloh6:
	adrp	x10, _MICRO_SELECT_PREAMPLI_OFFSET@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MICRO_SELECT_PREAMPLI_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w10, w21, w10
	and	w8, w10, w8
	orr	w2, w8, w9
	str	w2, [x19, #4]
Lloh9:
	adrp	x8, _SELMIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SELMIC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_vx_outl
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #8]
	lsl	w9, w9, #8
	orr	w9, w9, w20, lsl #16
	ldr	w8, [x8]
	orr	w20, w9, w8
Lloh12:
	adrp	x21, _DATA@GOTPAGE
Lloh13:
	ldr	x21, [x21, _DATA@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_vx_inl
	mov	w22, #32
Lloh14:
	adrp	x23, _VX_DATA_CODEC_MASK@GOTPAGE
Lloh15:
	ldr	x23, [x23, _VX_DATA_CODEC_MASK@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	ldr	w8, [x23]
	and	w2, w8, w20, asr #31
	mov	x0, x19
	bl	_vx_outl
	lsl	w20, w20, #1
	subs	w22, w22, #1
	b.ne	LBB0_6
; %bb.7:
Lloh16:
	adrp	x8, _RUER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RUER@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	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	_vx_inl
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_V2_MICRO_LEVEL_RANGE,8,3       ; @V2_MICRO_LEVEL_RANGE
	.comm	_MICRO_SELECT_PREAMPLI_MASK,4,2 ; @MICRO_SELECT_PREAMPLI_MASK
	.comm	_MICRO_SELECT_PREAMPLI_OFFSET,4,2 ; @MICRO_SELECT_PREAMPLI_OFFSET
	.comm	_SELMIC,4,2                     ; @SELMIC
	.comm	_DATA,4,2                       ; @DATA
	.comm	_VX_DATA_CODEC_MASK,4,2         ; @VX_DATA_CODEC_MASK
	.comm	_RUER,4,2                       ; @RUER
	.no_dead_strip	_vx2_set_input_level
.subsections_via_symbols
