	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setmixer
_setmixer:                              ## @setmixer
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_CMDRET_ZERO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_snd_printdd
	movl	$-1, %r14d
	movswl	%bx, %ebx
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movzwl	%r12w, %r12d
	movzwl	%r13w, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r14d
	movq	_MAX_WRITE_RETRY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	callq	_SEND_SDGV
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%ebx, %edx
	leaq	-56(%rbp), %rcx
	callq	_SEND_RDGV
	movq	-56(%rbp), %rax
	cmpw	%r13w, (%rax)
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpw	%cx, 2(%rax)
	jne	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_snd_printdd
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMDRET_ZERO,8,3                ## @CMDRET_ZERO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sent mixer %d: 0x%d 0x%d\n"

	.comm	_MAX_WRITE_RETRY,4,2            ## @MAX_WRITE_RETRY
L_.str.1:                               ## @.str.1
	.asciz	"sent mixer failed\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_setmixer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setmixer
_setmixer:                              ; @setmixer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _CMDRET_ZERO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMDRET_ZERO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	mov	w8, w3
	stp	x8, x9, [sp, #16]
	mov	w8, w2
	sxtw	x9, w21
	stp	x9, x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_snd_printdd
	mov	w23, #-1
Lloh5:
	adrp	x24, _MAX_WRITE_RETRY@GOTPAGE
Lloh6:
	ldr	x24, [x24, _MAX_WRITE_RETRY@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24]
	add	w23, w23, #1
	cmp	w23, w8
	b.ge	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_SEND_SDGV
	add	x3, sp, #24
	mov	x0, x22
	mov	x1, x21
	mov	x2, x21
	bl	_SEND_RDGV
	ldr	x8, [sp, #24]
	ldrh	w9, [x8]
	cmp	w9, w19
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrh	w8, [x8, #2]
	cmp	w8, w20
	b.ne	LBB0_1
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_snd_printdd
Lloh9:
	adrp	x8, _EIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CMDRET_ZERO,8,3                ; @CMDRET_ZERO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sent mixer %d: 0x%d 0x%d\n"

	.comm	_MAX_WRITE_RETRY,4,2            ; @MAX_WRITE_RETRY
l_.str.1:                               ; @.str.1
	.asciz	"sent mixer failed\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_setmixer
.subsections_via_symbols
