	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_oss_set_subdivide1
_snd_pcm_oss_set_subdivide1:            ## @snd_pcm_oss_set_subdivide1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%esi, %ebx
	movl	(%rdi), %edi
	callq	_oss_runtime
	movl	(%rax), %ecx
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.5:
	cmpq	$0, 8(%rax)
	je	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_3:
	testl	%ecx, %ecx
	movl	$1, %ebx
	cmovnel	%ecx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	cmpl	$16, %ebx
	ja	LBB0_6
## %bb.8:
	movl	$65814, %ecx                    ## imm = 0x10116
	btl	%ebx, %ecx
	jae	LBB0_6
## %bb.9:
	movl	%ebx, (%rax)
	movl	$1, 4(%rax)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_snd_pcm_oss_set_subdivide1
.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_subdivide1
_snd_pcm_oss_set_subdivide1:            ; @snd_pcm_oss_set_subdivide1
	.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_5
; %bb.1:
	mov	x19, x1
	ldr	w0, [x0]
	bl	_oss_runtime
	ldr	w8, [x0]
	cbz	w19, LBB0_6
; %bb.2:
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_8
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_7
LBB0_5:
	mov	w19, #0
	b	LBB0_7
LBB0_6:
	cmp	w8, #0
	csinc	w19, w8, wzr, ne
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	cmp	w19, #16
	b.hi	LBB0_4
; %bb.9:
	mov	w8, #1
	lsl	w9, w8, w19
	mov	w10, #278
	movk	w10, #1, lsl #16
	tst	w9, w10
	b.eq	LBB0_4
; %bb.10:
	stp	w19, w8, [x0]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_snd_pcm_oss_set_subdivide1
.subsections_via_symbols
