	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_oss_set_fragment1
_snd_pcm_oss_set_fragment1:             ## @snd_pcm_oss_set_fragment1
	.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
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movl	%esi, %r14d
	movl	(%rdi), %edi
	callq	_oss_runtime
	cmpq	$0, 16(%rax)
	jne	LBB0_3
## %bb.2:
	cmpl	$0, (%rax)
	je	LBB0_4
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movzwl	%r14w, %ecx
	movl	%ecx, (%rax)
	movl	%r14d, %edx
	shrl	$16, %edx
	movl	%edx, 4(%rax)
	cmpl	$3, %ecx
	ja	LBB0_6
## %bb.5:
	movl	$4, (%rax)
LBB0_6:
	cmpl	$131071, %r14d                  ## imm = 0x1FFFF
	ja	LBB0_8
## %bb.7:
	movl	$2, 4(%rax)
LBB0_8:
	movl	$1, 8(%rax)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_snd_pcm_oss_set_fragment1
.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_fragment1
_snd_pcm_oss_set_fragment1:             ; @snd_pcm_oss_set_fragment1
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x1
	ldr	w0, [x0]
	bl	_oss_runtime
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x0]
	cbz	w8, LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	b	LBB0_5
LBB0_4:
	mov	w8, #0
LBB0_5:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	and	w8, w19, #0xffff
	lsr	w9, w19, #16
	stp	w8, w9, [x0]
	cmp	w8, #3
	b.hi	LBB0_8
; %bb.7:
	mov	w8, #4
	str	w8, [x0]
LBB0_8:
	lsr	w8, w19, #17
	cbnz	w8, LBB0_10
; %bb.9:
	mov	w8, #2
	str	w8, [x0, #4]
LBB0_10:
	mov	w8, #0
	mov	w9, #1
	str	w9, [x0, #8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_snd_pcm_oss_set_fragment1
.subsections_via_symbols
