	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spare_migration_bandwidth
_spare_migration_bandwidth:             ## @spare_migration_bandwidth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$20, %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_iot_idle_for
	movl	%eax, %r14d
	leaq	16(%rbx), %rdi
	callq	_atomic_read
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.1:
	cltq
	incq	%rax
	movslq	(%rbx), %rcx
	imulq	%rax, %rcx
	cmpq	%rcx, 8(%rbx)
	jge	LBB0_2
LBB0_3:
	movq	_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_IDLE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_IDLE,4,2                       ## @IDLE
	.comm	_BUSY,4,2                       ## @BUSY
	.no_dead_strip	_spare_migration_bandwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spare_migration_bandwidth
_spare_migration_bandwidth:             ; @spare_migration_bandwidth
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #20
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_iot_idle_for
	mov	x20, x0
	add	x0, x19, #16
	bl	_atomic_read
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w20, LBB0_2
; %bb.1:
	sxtw	x8, w0
	ldrsw	x9, [x19]
	madd	x8, x9, x8, x9
	ldr	x9, [x19, #8]
	cmp	x9, x8
	b.ge	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _BUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _IDLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IDLE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_IDLE,4,2                       ; @IDLE
	.comm	_BUSY,4,2                       ; @BUSY
	.no_dead_strip	_spare_migration_bandwidth
.subsections_via_symbols
