	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_rate                       ## -- Begin function get_rate
	.p2align	4, 0x90
_get_rate:                              ## @get_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$15, %eax
	jne	LBB0_2
## %bb.1:
	addl	%esi, %esi
	jmp	LBB0_3
LBB0_2:
	addl	%esi, %eax
	movl	4(%rdi), %ecx
	movl	8(%rdi), %edx
	shrl	$9, %ecx
	andl	$1, %ecx
	xorl	$8, %edx
	leal	(%rcx,%rax,2), %eax
	leal	(%rdx,%rax), %esi
	addl	$-8, %esi
LBB0_3:
	cmpl	$60, %esi
	movl	$60, %ecx
	cmovll	%esi, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmovgl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_rate                       ; -- Begin function get_rate
	.p2align	2
_get_rate:                              ; @get_rate
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #15
	b.ne	LBB0_2
; %bb.1:
	lsl	w8, w1, #1
	b	LBB0_3
LBB0_2:
	add	w8, w8, w1
	ldp	w9, w10, [x0, #4]
	lsr	w9, w9, #9
	eor	w10, w10, #0x8
	bfi	w9, w8, #1, #31
	add	w8, w9, w10
	sub	w8, w8, #8
LBB0_3:
	mov	w9, #60
	cmp	w8, #60
	csel	w8, w8, w9, lt
	cmp	w8, #0
	csel	w0, w8, wzr, gt
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
