	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setsampleformat
_setsampleformat:                       ## @setsampleformat
	.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	%r8d, %r12d
	movl	%ecx, %ebx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_snd_printdd
	xorl	%r13d, %r13d
	cmpb	$1, %bl
	sete	%r13b
	movl	%r12d, %edi
	callq	_snd_pcm_format_width
	xorl	%r14d, %r14d
	cmpl	$8, %eax
	sete	%r14b
	movl	%r12d, %edi
	callq	_snd_pcm_format_unsigned
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	movl	%r12d, %edi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	callq	_snd_pcm_format_big_endian
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%r15d, %r9d
	callq	_SEND_SETF
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movzbl	-44(%rbp), %eax                 ## 1-byte Folded Reload
	movl	%eax, (%rsp)
	movzbl	-48(%rbp), %esi                 ## 1-byte Folded Reload
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%r15d, %r9d
	callq	_SEND_SETF
	testq	%rax, %rax
	movl	$0, %ebx
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_snd_printdd
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setsampleformat mixer: %d id: %d channels: %d format: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"setsampleformat failed\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setsampleformat
_setsampleformat:                       ; @setsampleformat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x4
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w8, w4
	mov	w9, w3
	stp	x9, x8, [sp, #16]
	mov	w8, w2
	mov	w9, w1
	stp	x9, x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_snd_printdd
	cmp	w22, #1
	cset	w22, eq
	mov	x0, x25
	bl	_snd_pcm_format_width
	cmp	w0, #8
	cset	w23, eq
	mov	x0, x25
	bl	_snd_pcm_format_unsigned
	cmp	x0, #0
	cset	w24, ne
	mov	x0, x25
	bl	_snd_pcm_format_big_endian
	cmp	x0, #0
	cset	w25, ne
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x3, x22
	mov	x4, x25
	mov	x5, x24
	mov	x6, x19
	bl	_SEND_SETF
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x3, x22
	mov	x4, x25
	mov	x5, x24
	mov	x6, x19
	bl	_SEND_SETF
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_snd_printdd
Lloh4:
	adrp	x8, _EIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setsampleformat mixer: %d id: %d channels: %d format: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"setsampleformat failed\n"

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