	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_mem
_print_mem:                             ## @print_mem
	.cfi_startproc
## %bb.0:
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	cmpq	%rax, %rdi
	jne	LBB0_1
## %bb.7:
	retq
LBB0_1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	shlq	$12, %rbx
	testl	%edx, %edx
	cmoveq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_puts_filtered
	cmpq	$1025, %rbx                     ## imm = 0x401
	jb	LBB0_4
## %bb.2:
	movq	%rbx, %rsi
	shrq	$10, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf_filtered
	cmpq	$1048577, %rbx                  ## imm = 0x100001
	jb	LBB0_6
## %bb.3:
	shrq	$20, %rbx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
LBB0_5:
	movq	%rbx, %rsi
	callq	_printf_filtered
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_puts_filtered                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lu KB"

L_.str.1:                               ## @.str.1
	.asciz	" (%lu MB)"

L_.str.2:                               ## @.str.2
	.asciz	"%lu Bytes"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

	.no_dead_strip	_print_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_mem
_print_mem:                             ; @print_mem
	.cfi_startproc
; %bb.0:
	mov	w8, #-1
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ret
LBB0_2:
	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
	lsl	x8, x0, #12
	cmp	w2, #0
	csel	x19, x0, x8, eq
	mov	x0, x1
	bl	_puts_filtered
	cmp	x19, #1025
	b.lo	LBB0_5
; %bb.3:
	lsr	x1, x19, #10
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf_filtered
	cmp	x19, #256, lsl #12              ; =1048576
	b.ls	LBB0_7
; %bb.4:
	lsr	x1, x19, #20
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
LBB0_6:
	bl	_printf_filtered
LBB0_7:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_puts_filtered
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lu KB"

l_.str.1:                               ; @.str.1
	.asciz	" (%lu MB)"

l_.str.2:                               ; @.str.2
	.asciz	"%lu Bytes"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

	.no_dead_strip	_print_mem
.subsections_via_symbols
