	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_rate
_make_rate:                             ## @make_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r13d
	movl	%edi, %r14d
	movq	_FS_DEBUG_QOS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_fs_dprintk
	cmpl	$-4194303, %r14d                ## imm = 0xFFC00001
	jb	LBB0_3
## %bb.1:
	cmpl	$128, %r13d
	je	LBB0_19
## %bb.2:
	movq	%rbx, %rdx
	movl	$511, %r12d                     ## imm = 0x1FF
	movb	$31, %bl
	jmp	LBB0_12
LBB0_3:
	movq	%rbx, %rdx
	testl	%r14d, %r14d
	je	LBB0_18
## %bb.4:
	movb	$31, %bl
	js	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	decb	%bl
	addl	%r14d, %r14d
	jns	LBB0_5
LBB0_6:
	leal	(%r14,%r14), %r12d
	cmpl	$128, %r13d
	je	LBB0_10
## %bb.7:
	cmpl	$129, %r13d
	je	LBB0_17
## %bb.8:
	cmpl	$130, %r13d
	jne	LBB0_12
## %bb.9:
	shrl	$23, %r12d
	jmp	LBB0_12
LBB0_18:
	xorl	%ebx, %ebx
	movl	$0, %r12d
	cmpl	$130, %r13d
	jne	LBB0_12
LBB0_19:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_22
LBB0_10:
	shrl	$23, %r12d
	testl	$4194303, %r14d                 ## imm = 0x3FFFFF
	je	LBB0_12
LBB0_11:
	incl	%r12d
	xorl	%eax, %eax
	cmpl	$512, %r12d                     ## imm = 0x200
	sete	%cl
	cmovel	%eax, %r12d
	addb	%cl, %bl
LBB0_12:
	movl	(%rdx), %edi
	movzbl	%bl, %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%r13d, %r13d
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_fs_dprintk
	testq	%r15, %r15
	je	LBB0_14
## %bb.13:
	movb	%r12b, (%r15)
LBB0_14:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.15:
	movl	$1, %edx
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	cmpb	$9, %bl
	jb	LBB0_20
## %bb.16:
	addb	$-9, %bl
	movl	%ebx, %ecx
	shll	%cl, %r12d
	jmp	LBB0_21
LBB0_20:
	movb	$8, %cl
	subb	%bl, %cl
	shll	%cl, %edx
	addl	%r12d, %edx
	movb	$9, %cl
	subb	%bl, %cl
	shrl	%cl, %edx
	movl	%edx, %r12d
LBB0_21:
	addl	%eax, %r12d
	movl	%r12d, (%rsi)
LBB0_22:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	shrl	$23, %r12d
	testl	$2097152, %r14d                 ## imm = 0x200000
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_FS_DEBUG_QOS,4,2               ## @FS_DEBUG_QOS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"make_rate %u"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"rate: man=%u, exp=%hu"

	.no_dead_strip	_make_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_rate
_make_rate:                             ; @make_rate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _FS_DEBUG_QOS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FS_DEBUG_QOS@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_fs_dprintk
	mov	w8, #-4194303
	cmp	w22, w8
	b.lo	LBB0_3
; %bb.1:
	cmp	w21, #128
	b.eq	LBB0_9
; %bb.2:
	mov	w21, #511
	mov	w24, #31
	b	LBB0_13
LBB0_3:
	cbz	w22, LBB0_8
; %bb.4:
	mov	w24, #31
	tbnz	w22, #31, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w24, w24, #1
	lsl	w22, w22, #1
	tbz	w22, #31, LBB0_5
LBB0_6:
	lsl	w8, w22, #1
	cmp	w21, #128
	b.eq	LBB0_11
; %bb.7:
	lsr	w9, w8, #23
	add	w10, w9, #1
	cmp	w10, #512
	cinc	w10, w24, eq
	csinc	w11, wzr, w9, eq
	tst	w22, #0x200000
	csel	w10, w24, w10, eq
	csel	w11, w9, w11, eq
	cmp	w21, #130
	csel	w8, w8, w9, ne
	cmp	w21, #129
	csel	w24, w10, w24, eq
	csel	w21, w11, w8, eq
	b	LBB0_13
LBB0_8:
	cmp	w21, #130
	b.ne	LBB0_10
LBB0_9:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_10:
	mov	w24, #0
	mov	w21, #0
	b	LBB0_13
LBB0_11:
	lsr	w21, w8, #23
	tst	w22, #0x3fffff
	b.eq	LBB0_13
; %bb.12:
	add	w8, w21, #1
	cmp	w8, #512
	cinc	w24, w24, eq
	csinc	w21, wzr, w21, eq
LBB0_13:
	ldr	w0, [x23]
	and	x8, x24, #0xff
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_fs_dprintk
	cbz	x20, LBB0_15
; %bb.14:
	strb	w21, [x20]
LBB0_15:
	mov	w0, #0
	cbz	x19, LBB0_17
; %bb.16:
	and	w8, w24, #0xff
	mov	w9, #1
	lsl	w10, w9, w8
	mov	w11, #8
	sub	w11, w11, w8
	lsl	w9, w9, w11
	mov	w11, #9
	sub	w11, w11, w8
	add	w9, w9, w21
	lsr	w9, w9, w11
	subs	w8, w8, #9
	lsl	w8, w21, w8
	csel	w8, w9, w8, lo
	add	w8, w8, w10
	str	w8, [x19]
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FS_DEBUG_QOS,4,2               ; @FS_DEBUG_QOS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"make_rate %u"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"rate: man=%u, exp=%hu"

	.no_dead_strip	_make_rate
.subsections_via_symbols
