	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_progress_cb
_load_progress_cb:                      ## @load_progress_cb
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_g_menuscreen_w@GOTPCREL(%rip), %r15
	movl	(%r15), %r13d
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_menu_draw_begin
	movq	_me_sfont_h@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	cmpl	$3, %r12d
	jl	LBB0_3
## %bb.1:
	movq	_g_menuscreen_ptr@GOTPCREL(%rip), %rax
	movl	(%r15), %ecx
	imull	%r12d, %ecx
	addl	%ecx, %ecx
	movslq	%ecx, %rbx
	addq	%rbx, %rbx
	addq	(%rax), %rbx
	imull	%r13d, %r14d
	movslq	%r14d, %rax
	imulq	$1374389535, %rax, %r14         ## imm = 0x51EB851F
	movq	%r14, %rax
	shrq	$63, %rax
	sarq	$37, %r14
	addl	%eax, %r14d
	cmpl	%r13d, %r14d
	cmovgel	%r13d, %r14d
	addl	%r14d, %r14d
	decl	%r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$255, %esi
	movl	%r14d, %edx
	callq	_memset
	movslq	(%r15), %rax
	leaq	(%rbx,%rax,2), %rbx
	decl	%r12d
	cmpl	$1, %r12d
	ja	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_draw_end                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_g_menuscreen_w,4,2             ## @g_menuscreen_w
	.comm	_g_menuscreen_ptr,8,3           ## @g_menuscreen_ptr
	.comm	_me_sfont_h,4,2                 ## @me_sfont_h
	.no_dead_strip	_load_progress_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_progress_cb
_load_progress_cb:                      ; @load_progress_cb
	.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	x20, x0
Lloh0:
	adrp	x21, _g_menuscreen_w@GOTPAGE
Lloh1:
	ldr	x21, [x21, _g_menuscreen_w@GOTPAGEOFF]
	ldr	w22, [x21]
	mov	w0, #0
	mov	w1, #1
	bl	_menu_draw_begin
Lloh2:
	adrp	x8, _me_sfont_h@GOTPAGE
Lloh3:
	ldr	x8, [x8, _me_sfont_h@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_3
; %bb.1:
Lloh5:
	adrp	x9, _g_menuscreen_ptr@GOTPAGE
Lloh6:
	ldr	x9, [x9, _g_menuscreen_ptr@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w10, [x21]
	mul	w10, w10, w8
	lsl	w10, w10, #1
	add	x19, x9, w10, sxtw #1
	mul	w9, w22, w20
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	cmp	w9, w22
	csel	w9, w9, w22, lt
	lsl	w20, w9, #1
	sub	w22, w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #255
	mov	x2, x20
	bl	_memset
	ldrsw	x8, [x21]
	add	x19, x19, x8, lsl #1
	sub	w22, w22, #1
	cmp	w22, #1
	b.hi	LBB0_2
LBB0_3:
	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	_menu_draw_end
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_g_menuscreen_w,4,2             ; @g_menuscreen_w
	.comm	_g_menuscreen_ptr,8,3           ; @g_menuscreen_ptr
	.comm	_me_sfont_h,4,2                 ; @me_sfont_h
	.no_dead_strip	_load_progress_cb
.subsections_via_symbols
