	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sb201_audio_set_speed
_sb201_audio_set_speed:                 ## @sb201_audio_set_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_audio_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rcx
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	(%rcx), %edi
	imull	%edi, %esi
	movl	%esi, %eax
	shrl	$31, %eax
	addl	%esi, %eax
	sarl	%eax
	addl	$1000000, %eax                  ## imm = 0xF4240
	cltd
	idivl	%esi
	negl	%eax
	movzbl	%al, %eax
	movl	%eax, 8(%rcx)
	movl	$256, %esi                      ## imm = 0x100
	subl	%eax, %esi
	movl	%esi, %eax
	shrl	%eax
	addl	$1000000, %eax                  ## imm = 0xF4240
	xorl	%edx, %edx
	divl	%esi
	cltd
	idivl	%edi
	movl	%eax, 12(%rcx)
	popq	%rbp
	retq
LBB0_1:
	movl	12(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_audio_devs,8,3                 ## @audio_devs
	.comm	_OPEN_READ,4,2                  ## @OPEN_READ
	.no_dead_strip	_sb201_audio_set_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sb201_audio_set_speed
_sb201_audio_set_speed:                 ; @sb201_audio_set_speed
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _audio_devs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _audio_devs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x8, [x8]
	cmp	w1, #0
	b.le	LBB0_2
; %bb.1:
	ldr	w9, [x8]
	mul	w10, w9, w1
	cmp	w10, #0
	cinc	w11, w10, lt
	mov	w12, #16960
	movk	w12, #15, lsl #16
	add	w11, w12, w11, asr #1
	sdiv	w10, w11, w10
	neg	w10, w10
	and	w10, w10, #0xff
	mov	w11, #256
	sub	w11, w11, w10
	add	w12, w12, w11, lsr #1
	udiv	w11, w12, w11
	sdiv	w0, w11, w9
	stp	w10, w0, [x8, #8]
	ret
LBB0_2:
	ldr	w0, [x8, #12]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_audio_devs,8,3                 ; @audio_devs
	.comm	_OPEN_READ,4,2                  ; @OPEN_READ
	.no_dead_strip	_sb201_audio_set_speed
.subsections_via_symbols
