	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixer_ctl_feature_put
_mixer_ctl_feature_put:                 ## @mixer_ctl_feature_put
	.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	%rsi, %r15
	movq	(%rdi), %r12
	movl	(%r12), %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.1:
	movq	_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_14
## %bb.2:
	movl	$1, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %edx
	movzbl	%dl, %edx
	btl	%edx, %ecx
	jae	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	leaq	-44(%rbp), %rcx
	callq	_get_cur_mix_value
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rax
	movslq	%r13d, %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%r12, %rdi
	callq	_get_abs_value
	cmpl	%eax, -44(%rbp)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_set_cur_mix_value
	movl	$1, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	movq	_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %ebx
	jge	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %ecx
	incl	%ebx
	jmp	LBB0_3
LBB0_11:
	xorl	%r14d, %r14d
	leaq	-44(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_get_cur_mix_value
	testl	%eax, %eax
	js	LBB0_5
## %bb.12:
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_get_abs_value
	cmpl	-44(%rbp), %eax
	je	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_set_cur_mix_value
	movl	$1, %r14d
	jmp	LBB0_14
LBB0_5:
	movq	8(%r12), %rcx
	xorl	%r14d, %r14d
	cmpq	$0, (%rcx)
	cmovel	%eax, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CHANNELS,4,2               ## @MAX_CHANNELS
	.no_dead_strip	_mixer_ctl_feature_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_ctl_feature_put
_mixer_ctl_feature_put:                 ; @mixer_ctl_feature_put
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	ldr	x19, [x0]
	ldr	w9, [x19]
	cbz	w9, LBB0_10
; %bb.1:
Lloh0:
	adrp	x24, _MAX_CHANNELS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAX_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.2:
	mov	w21, #0
	mov	w22, #0
	mov	w23, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w10, w23, #1
	lsr	w9, w9, w10
	tbz	w9, #0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_get_cur_mix_value
	tbnz	w0, #31, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	w1, [x8, w22, sxtw #2]
	mov	x0, x19
	bl	_get_abs_value
	ldr	w8, [sp, #12]
	cmp	w8, w0
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x3, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_set_cur_mix_value
	mov	w21, #1
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	ldr	w8, [x24]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, w8
	b.ge	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x19]
	add	w23, w23, #1
	b	LBB0_3
LBB0_10:
	add	x3, sp, #12
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_get_cur_mix_value
	tbnz	w0, #31, LBB0_13
; %bb.11:
	ldr	x8, [x20]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_get_abs_value
	ldr	w8, [sp, #12]
	cmp	w0, w8
	b.ne	LBB0_14
LBB0_12:
	mov	w21, #0
	b	LBB0_15
LBB0_13:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cmp	x8, #0
	csel	w21, w0, wzr, eq
	b	LBB0_15
LBB0_14:
	mov	x3, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_set_cur_mix_value
	mov	w21, #1
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CHANNELS,4,2               ; @MAX_CHANNELS
	.no_dead_strip	_mixer_ctl_feature_put
.subsections_via_symbols
