	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function round_to_kb
_round_to_kb:                           ## @round_to_kb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	decq	%rax
	movq	_kb_align@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	cqto
	idivq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	incq	%rax
	imulq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kb_align,8,3                   ## @kb_align
	.no_dead_strip	_round_to_kb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function round_to_kb
_round_to_kb:                           ; @round_to_kb
	.cfi_startproc
; %bb.0:
	sub	x8, x0, #1
Lloh0:
	adrp	x9, _kb_align@GOTPAGE
Lloh1:
	ldr	x9, [x9, _kb_align@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sdiv	x8, x8, x9
	madd	x0, x9, x8, x9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_kb_align,8,3                   ; @kb_align
	.no_dead_strip	_round_to_kb
.subsections_via_symbols
