	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_oss_set_rate
_snd_pcm_oss_set_rate:                  ## @snd_pcm_oss_set_rate
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%rax), %edi
	callq	_oss_runtime
	cmpl	$192000, %ebx                   ## imm = 0x2EE00
	movl	$192000, %ecx                   ## imm = 0x2EE00
	cmovll	%ebx, %ecx
	cmpl	$1001, %ecx                     ## imm = 0x3E9
	movl	$1000, %ebx                     ## imm = 0x3E8
	cmovgel	%ecx, %ebx
	cmpl	%ebx, (%rax)
	je	LBB0_3
## %bb.2:
	movl	$1, 4(%rax)
	movl	%ebx, (%rax)
LBB0_3:
	movq	(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%rax), %edi
	callq	_oss_runtime
	cmpl	$192000, %ebx                   ## imm = 0x2EE00
	movl	$192000, %edx                   ## imm = 0x2EE00
	cmovll	%ebx, %edx
	cmpl	$1001, %edx                     ## imm = 0x3E9
	movl	$1000, %ecx                     ## imm = 0x3E8
	cmovgel	%edx, %ecx
	cmpl	%ecx, (%rax)
	je	LBB0_6
## %bb.5:
	movl	$1, 4(%rax)
	movl	%ecx, (%rax)
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_pcm_oss_get_rate           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_pcm_oss_set_rate
.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_rate
_snd_pcm_oss_set_rate:                  ; @snd_pcm_oss_set_rate
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w0, [x8]
	bl	_oss_runtime
	mov	w8, #60928
	movk	w8, #2, lsl #16
	cmp	w20, w8
	csel	w8, w20, w8, lt
	mov	w9, #1000
	cmp	w8, #1000
	csel	w20, w8, w9, gt
	ldr	w8, [x0]
	cmp	w8, w20
	b.eq	LBB0_3
; %bb.2:
	mov	w8, #1
	stp	w20, w8, [x0]
LBB0_3:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w0, [x8]
	bl	_oss_runtime
	mov	w8, #60928
	movk	w8, #2, lsl #16
	cmp	w20, w8
	csel	w8, w20, w8, lt
	mov	w9, #1000
	cmp	w8, #1000
	csel	w8, w8, w9, gt
	ldr	w9, [x0]
	cmp	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	w9, #1
	stp	w8, w9, [x0]
LBB0_6:
	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_rate
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_pcm_oss_set_rate
.subsections_via_symbols
