	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_rate_to_memfree
_ib_rate_to_memfree:                    ## @ib_rate_to_memfree
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	%edi, %esi
	jle	LBB0_9
## %bb.1:
	decl	%esi
	movl	%esi, %eax
	cltd
	idivl	%edi
                                        ## kill: def $eax killed $eax def $rax
	leal	-2(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_6
## %bb.2:
	cmpl	$1, %eax
	je	LBB0_5
## %bb.3:
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	_MTHCA_RATE_MEMFREE_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_MTHCA_RATE_MEMFREE_QUARTER@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_MTHCA_RATE_MEMFREE_HALF@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_MTHCA_RATE_MEMFREE_EIGHTH@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTHCA_RATE_MEMFREE_FULL,4,2    ## @MTHCA_RATE_MEMFREE_FULL
	.comm	_MTHCA_RATE_MEMFREE_HALF,4,2    ## @MTHCA_RATE_MEMFREE_HALF
	.comm	_MTHCA_RATE_MEMFREE_QUARTER,4,2 ## @MTHCA_RATE_MEMFREE_QUARTER
	.comm	_MTHCA_RATE_MEMFREE_EIGHTH,4,2  ## @MTHCA_RATE_MEMFREE_EIGHTH
	.no_dead_strip	_ib_rate_to_memfree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_rate_to_memfree
_ib_rate_to_memfree:                    ; @ib_rate_to_memfree
	.cfi_startproc
; %bb.0:
	cmp	w1, w0
	b.le	LBB0_5
; %bb.1:
	sub	w8, w1, #1
	sdiv	w8, w8, w0
	sub	w9, w8, #2
	cmp	w9, #2
	b.lo	LBB0_6
; %bb.2:
	cmp	w8, #1
	b.eq	LBB0_7
; %bb.3:
	cbnz	w8, LBB0_8
; %bb.4:
Lloh0:
	adrp	x8, _MTHCA_RATE_MEMFREE_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTHCA_RATE_MEMFREE_FULL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
Lloh3:
	adrp	x8, _MTHCA_RATE_MEMFREE_QUARTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MTHCA_RATE_MEMFREE_QUARTER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_7:
Lloh6:
	adrp	x8, _MTHCA_RATE_MEMFREE_HALF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MTHCA_RATE_MEMFREE_HALF@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh9:
	adrp	x8, _MTHCA_RATE_MEMFREE_EIGHTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MTHCA_RATE_MEMFREE_EIGHTH@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MTHCA_RATE_MEMFREE_FULL,4,2    ; @MTHCA_RATE_MEMFREE_FULL
	.comm	_MTHCA_RATE_MEMFREE_HALF,4,2    ; @MTHCA_RATE_MEMFREE_HALF
	.comm	_MTHCA_RATE_MEMFREE_QUARTER,4,2 ; @MTHCA_RATE_MEMFREE_QUARTER
	.comm	_MTHCA_RATE_MEMFREE_EIGHTH,4,2  ; @MTHCA_RATE_MEMFREE_EIGHTH
	.no_dead_strip	_ib_rate_to_memfree
.subsections_via_symbols
