	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_ReadableSize
_UI_ReadableSize:                       ## @UI_ReadableSize
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	cmpl	$1073741825, %edx               ## imm = 0x40000001
	jl	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$1, %ecx
	callq	_Com_sprintf
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %r12
	addq	%r15, %r12
	movq	%r15, %rdi
	callq	_strlen
	subl	%eax, %r14d
	andl	$1073741823, %ebx               ## imm = 0x3FFFFFFF
	imull	$100, %ebx, %ecx
	shrl	$30, %ecx
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_4:
	cmpl	$1048577, %ebx                  ## imm = 0x100001
	jl	LBB0_6
## %bb.5:
	movl	%ebx, %ecx
	shrl	$20, %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Com_sprintf
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %r12
	addq	%r15, %r12
	movq	%r15, %rdi
	callq	_strlen
	subl	%eax, %r14d
	andl	$1048575, %ebx                  ## imm = 0xFFFFF
	imull	$100, %ebx, %ecx
	shrl	$20, %ecx
	leaq	L_.str.2(%rip), %rdx
LBB0_2:
	movq	%r12, %rdi
	movl	%r14d, %esi
	jmp	LBB0_3
LBB0_6:
	cmpl	$1025, %ebx                     ## imm = 0x401
	jl	LBB0_8
## %bb.7:
	shrl	$10, %ebx
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.4(%rip), %rdx
LBB0_9:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %ecx
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_sprintf                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

L_.str.1:                               ## @.str.1
	.asciz	".%02d GB"

L_.str.2:                               ## @.str.2
	.asciz	".%02d MB"

L_.str.3:                               ## @.str.3
	.asciz	"%d KB"

L_.str.4:                               ## @.str.4
	.asciz	"%d bytes"

	.no_dead_strip	_UI_ReadableSize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_ReadableSize
_UI_ReadableSize:                       ; @UI_ReadableSize
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w8, #1
	movk	w8, #16384, lsl #16
	cmp	w2, w8
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	w3, #1
	bl	_Com_sprintf
	mov	x0, x21
	bl	_strlen
	add	x22, x21, w0, sxtw
	mov	x0, x21
	bl	_strlen
	sub	w1, w20, w0
	and	w8, w19, #0x3fffffff
	mov	w9, #100
	mul	w8, w8, w9
	lsr	w3, w8, #30
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:
	cmp	w19, #256, lsl #12              ; =1048576
	b.le	LBB0_6
; %bb.3:
	lsr	w3, w19, #20
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_Com_sprintf
	mov	x0, x21
	bl	_strlen
	add	x22, x21, w0, sxtw
	mov	x0, x21
	bl	_strlen
	sub	w1, w20, w0
	and	w8, w19, #0xfffff
	mov	w9, #100
	mul	w8, w8, w9
	lsr	w3, w8, #20
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_4:
	mov	x0, x22
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Com_sprintf
LBB0_6:
	cmp	w19, #1025
	b.lt	LBB0_8
; %bb.7:
	lsr	w3, w19, #10
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	b	LBB0_5
LBB0_8:
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	b	LBB0_5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

l_.str.1:                               ; @.str.1
	.asciz	".%02d GB"

l_.str.2:                               ; @.str.2
	.asciz	".%02d MB"

l_.str.3:                               ; @.str.3
	.asciz	"%d KB"

l_.str.4:                               ; @.str.4
	.asciz	"%d bytes"

	.no_dead_strip	_UI_ReadableSize
.subsections_via_symbols
