	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sb_mixer_set
_sb_mixer_set:                          ## @sb_mixer_set
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %eax
	movzbl	%al, %edx
	movzbl	%ah, %eax
	cmpl	$100, %edx
	movl	$100, %ecx
	cmovael	%ecx, %edx
	cmpl	$100, %eax
	cmovbl	%eax, %ecx
	cmpl	$32, %esi
	jae	LBB0_1
## %bb.2:
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %eax
	btl	%esi, %eax
	jae	LBB0_1
## %bb.3:
	movl	4(%r14), %eax
	movq	%r14, %rdi
	movl	%ebx, %esi
	cmpl	$129, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.5:
	callq	_smw_mixer_set
	testl	%eax, %eax
	jns	LBB0_9
	jmp	LBB0_10
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_6:
	callq	_ess_mixer_set
	testl	%eax, %eax
	jns	LBB0_9
	jmp	LBB0_10
LBB0_7:
	callq	_sb_common_mixer_set
	testl	%eax, %eax
	js	LBB0_10
LBB0_9:
	movq	8(%r14), %rcx
	movl	%ebx, %edx
	movl	%eax, (%rcx,%rdx,4)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_sb_mixer_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sb_mixer_set
_sb_mixer_set:                          ; @sb_mixer_set
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	and	w8, w2, #0xff
	ubfx	w9, w2, #8, #8
	mov	w10, #100
	cmp	w8, #100
	csel	w2, w8, w10, lo
	cmp	w9, #100
	csel	w3, w9, w10, lo
	cmp	w1, #32
	b.hs	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	lsr	w8, w8, w1
	tbz	w8, #0, LBB0_5
; %bb.2:
	ldr	w8, [x20, #4]
	mov	x0, x20
	mov	x1, x19
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.4:
	bl	_smw_mixer_set
	tbz	w0, #31, LBB0_8
	b	LBB0_9
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
	bl	_ess_mixer_set
	tbz	w0, #31, LBB0_8
	b	LBB0_9
LBB0_7:
	bl	_sb_common_mixer_set
	tbnz	w0, #31, LBB0_9
LBB0_8:
	ldr	x8, [x20, #8]
	str	w0, [x8, w19, uxtw #2]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_sb_mixer_set
.subsections_via_symbols
