	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ymfpci_calc_delta
_snd_ymfpci_calc_delta:                 ## @snd_ymfpci_calc_delta
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$22049, %edi                    ## imm = 0x5621
	jg	LBB0_5
## %bb.1:
	cmpl	$8000, %edi                     ## imm = 0x1F40
	je	LBB0_9
## %bb.2:
	cmpl	$11025, %edi                    ## imm = 0x2B11
	je	LBB0_11
## %bb.3:
	cmpl	$16000, %edi                    ## imm = 0x3E80
	jne	LBB0_14
## %bb.4:
	movl	$89478400, %eax                 ## imm = 0x5555500
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
	cmpl	$22050, %edi                    ## imm = 0x5622
	je	LBB0_12
## %bb.6:
	cmpl	$32000, %edi                    ## imm = 0x7D00
	je	LBB0_13
## %bb.7:
	cmpl	$44100, %edi                    ## imm = 0xAC44
	jne	LBB0_14
## %bb.8:
	movl	$246625024, %eax                ## imm = 0xEB33300
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_9:
	movl	$44739328, %eax                 ## imm = 0x2AAAB00
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_11:
	movl	$61656320, %eax                 ## imm = 0x3ACCD00
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_12:
	movl	$123312640, %eax                ## imm = 0x7599A00
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_13:
	movl	$178957056, %eax                ## imm = 0xAAAAB00
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_14:
	shll	$16, %edi
	movslq	%edi, %rax
	imulq	$91625969, %rax, %rax           ## imm = 0x57619F1
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$35, %rax
	addl	%ecx, %eax
	shll	$5, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_ymfpci_calc_delta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ymfpci_calc_delta
_snd_ymfpci_calc_delta:                 ; @snd_ymfpci_calc_delta
	.cfi_startproc
; %bb.0:
	mov	w8, #22049
	cmp	w0, w8
	b.gt	LBB0_5
; %bb.1:
	mov	w8, #8000
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.2:
	mov	w8, #11025
	cmp	w0, w8
	b.eq	LBB0_10
; %bb.3:
	mov	w8, #16000
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.4:
	mov	w0, #21760
	movk	w0, #1365, lsl #16
	ret
LBB0_5:
	mov	w8, #22050
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.6:
	mov	w8, #32000
	cmp	w0, w8
	b.eq	LBB0_12
; %bb.7:
	mov	w8, #44100
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.8:
	mov	w0, #13056
	movk	w0, #3763, lsl #16
	ret
LBB0_9:
	mov	w0, #43776
	movk	w0, #682, lsl #16
	ret
LBB0_10:
	mov	w0, #52480
	movk	w0, #940, lsl #16
	ret
LBB0_11:
	mov	w0, #39424
	movk	w0, #1881, lsl #16
	ret
LBB0_12:
	mov	w0, #43776
	movk	w0, #2730, lsl #16
	ret
LBB0_13:
	lsl	w8, w0, #16
	mov	w9, #6641
	movk	w9, #1398, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #35
	add	w8, w8, w9
	lsl	w0, w8, #5
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_ymfpci_calc_delta
.subsections_via_symbols
