	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_oss_set_channels
_snd_pcm_oss_set_channels:              ## @snd_pcm_oss_set_channels
	.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
	testl	%esi, %esi
	movl	$1, %ebx
	cmovnel	%esi, %ebx
	cmpl	$128, %ebx
	jbe	LBB0_1
## %bb.8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	(%rax), %edi
	callq	_oss_runtime
	cmpl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movl	$1, 4(%rax)
	movl	%ebx, (%rax)
LBB0_4:
	movq	(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	(%rax), %edi
	callq	_oss_runtime
	cmpl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:
	movl	$1, 4(%rax)
	movl	%ebx, (%rax)
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_pcm_oss_get_channels       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_snd_pcm_oss_set_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pcm_oss_set_channels
_snd_pcm_oss_set_channels:              ; @snd_pcm_oss_set_channels
	.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
	cmp	w1, #0
	csinc	w20, w1, wzr, ne
	cmp	w20, #128
	b.ls	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	w0, [x8]
	bl	_oss_runtime
	ldr	w8, [x0]
	cmp	w8, w20
	b.eq	LBB0_5
; %bb.4:
	mov	w8, #1
	stp	w20, w8, [x0]
LBB0_5:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w0, [x8]
	bl	_oss_runtime
	ldr	w8, [x0]
	cmp	w8, w20
	b.eq	LBB0_8
; %bb.7:
	mov	w8, #1
	stp	w20, w8, [x0]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_pcm_oss_get_channels
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_snd_pcm_oss_set_channels
.subsections_via_symbols
