	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function menu_widgets_draw_task_msg
LCPI0_0:
	.long	0x3fa00000                      ## float 1.25
LCPI0_1:
	.long	0x42c80000                      ## float 100
LCPI0_2:
	.long	0x437f0000                      ## float 255
LCPI0_3:
	.long	0x3f800000                      ## float 1
LCPI0_4:
	.long	0xc0100000                      ## float -2.25
LCPI0_5:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_menu_widgets_draw_task_msg:            ## @menu_widgets_draw_task_msg
	.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
	subq	$328, %rsp                      ## imm = 0x148
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -224(%rbp)
	movaps	%xmm0, -240(%rbp)
	movaps	%xmm0, -256(%rbp)
	movaps	%xmm0, -272(%rbp)
	movaps	%xmm0, -288(%rbp)
	movaps	%xmm0, -304(%rbp)
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, -344(%rbp)                ## 8-byte Spill
	movq	_glyph_width@GOTPCREL(%rip), %rcx
	movq	64(%r12), %rax
	testq	%rax, %rax
	movl	$5, %edx
	movl	$12, %esi
	cmovel	%edx, %esi
	imull	(%rcx), %esi
	xorps	%xmm0, %xmm0
	cvtsi2ss	%esi, %xmm0
	movq	_simple_widget_padding@GOTPCREL(%rip), %r15
	movss	(%r15), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	LCPI0_0(%rip), %xmm1
	addss	%xmm0, %xmm1
	cvttss2si	%xmm1, %rbx
	cmpq	$0, 56(%r12)
	je	LBB0_5
## %bb.1:
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_5:
	movl	(%r12), %ecx
	cmpl	$100, %ecx
	ja	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdx
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_snprintf
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	leaq	-304(%rbp), %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_strlcpy
LBB0_7:
	movss	(%r15), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	addss	4(%r12), %xmm0
	movl	%ebx, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	addss	%xmm0, %xmm1
	cvttss2si	%xmm1, %rcx
	movq	%rcx, -320(%rbp)                ## 8-byte Spill
	movl	(%r12), %eax
	imull	%ecx, %eax
	movq	%rax, -352(%rbp)                ## 8-byte Spill
	movss	8(%r12), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	LCPI0_2(%rip), %xmm0
	cvttss2si	%xmm0, %rsi
	movl	$-256, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_COLOR_TEXT_ALPHA
	cmpl	$1, 12(%r12)
	movq	_msg_queue_background@GOTPCREL(%rip), %rcx
	movq	_msg_queue_task_progress_1@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r13
	movq	(%rcx), %rcx
	cmovneq	%r13, %rcx
	movq	_msg_queue_task_progress_2@GOTPCREL(%rip), %rdx
	cmovneq	(%rdx), %r13
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -360(%rbp)                ## 8-byte Spill
	cmpq	$0, 56(%r12)
	cmoveq	%rcx, %r13
	movq	_msg_queue_rect_start_x@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_msg_queue_icon_size_x@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	(%r14), %ebx
	subl	16(%r12), %ebx
	movq	_msg_queue_height@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, -336(%rbp)                ## 8-byte Spill
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	sarl	%r12d
	movq	-336(%rbp), %rax                ## 8-byte Reload
	movss	8(%rax), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movq	%r13, %rdi
	callq	_menu_display_set_alpha
	movl	(%r14), %eax
	movl	4(%r14), %r9d
	movq	%r14, %rdi
	movl	%r15d, -328(%rbp)               ## 4-byte Spill
	movl	%r15d, %esi
	movl	%ebx, -324(%rbp)                ## 4-byte Spill
	movl	%ebx, %edx
	movq	-320(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r12d, -308(%rbp)               ## 4-byte Spill
	movl	%r12d, %r8d
	movq	-336(%rbp), %r12                ## 8-byte Reload
	pushq	%r13
	pushq	%rax
	callq	_menu_display_draw_quad
	addq	$16, %rsp
	cmpq	$0, 56(%r12)
	jne	LBB0_12
## %bb.8:
	cmpl	$100, (%r12)
	ja	LBB0_12
## %bb.9:
	xorps	%xmm0, %xmm0
	cvtsi2ssq	-352(%rbp), %xmm0       ## 8-byte Folded Reload
	divss	LCPI0_1(%rip), %xmm0
	cvttss2si	%xmm0, %rbx
	cmpl	$1, 12(%r12)
	movq	_msg_queue_task_progress_2@GOTPCREL(%rip), %rax
	jne	LBB0_11
## %bb.10:
	movq	_msg_queue_task_progress_1@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %r13
	movss	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movq	%r13, %rdi
	callq	_menu_display_set_alpha
	movq	_msg_queue_task_rect_start_x@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %eax
	movl	4(%r14), %r9d
	movl	%eax, %edx
	subl	16(%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	movl	-308(%rbp), %r8d                ## 4-byte Reload
	pushq	%r13
	pushq	%rax
	callq	_menu_display_draw_quad
	addq	$16, %rsp
LBB0_12:
	movq	_menu_widgets_pure_white@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movss	8(%r12), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	callq	_menu_display_set_alpha
	movq	%r14, %rdi
	callq	_menu_display_blend_begin
	movq	_msg_queue_height@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	movq	_menu_widgets_icons_textures@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%r14), %eax
	movl	%eax, %r9d
	xorl	%r10d, %r10d
	subl	16(%r12), %r9d
	cmpq	$0, 56(%r12)
	jne	LBB0_13
## %bb.14:
	movq	_MENU_WIDGETS_ICON_HOURGLASS@GOTPCREL(%rip), %rsi
	jmp	LBB0_15
LBB0_13:
	movq	_MENU_WIDGETS_ICON_CHECK@GOTPCREL(%rip), %rsi
LBB0_15:
	movl	4(%r14), %r11d
	movq	(%rsi), %rsi
	movl	(%rcx,%rsi,4), %ecx
	movq	_msg_queue_task_hourglass_x@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	jne	LBB0_17
## %bb.16:
	movl	48(%r12), %r10d
LBB0_17:
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%edx, %esi
	pushq	(%rbx)
	pushq	$1
	pushq	%r10
	pushq	%rax
	pushq	%r11
	callq	_menu_widgets_draw_icon
	addq	$48, %rsp
	movq	%r14, %rdi
	callq	_menu_display_blend_end
	cmpq	$0, 24(%r12)
	movq	-344(%rbp), %r13                ## 8-byte Reload
	movq	_msg_queue_height@GOTPCREL(%rip), %rbx
	movq	-360(%rbp), %r11                ## 8-byte Reload
	je	LBB0_19
## %bb.18:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movq	_font_regular@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rcx
	movq	%r11, %r15
	callq	_font_driver_flush
	movq	_font_raster_regular@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%r14, %rdi
	movl	-328(%rbp), %esi                ## 4-byte Reload
	movl	-324(%rbp), %edx                ## 4-byte Reload
	movq	-320(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	-308(%rbp), %r8d                ## 4-byte Reload
	callq	_menu_display_scissor_begin
	movl	(%rbx), %edi
	movq	_msg_queue_height@GOTPCREL(%rip), %rbx
	movq	24(%r12), %rsi
	movq	_msg_queue_task_text_start_x@GOTPCREL(%rip), %r8
	movl	(%r14), %r9d
	movl	%r9d, %edx
	subl	16(%r12), %edx
	movq	_msg_queue_text_scale_factor@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	(%r13), %ecx
	cvtsi2ss	%ecx, %xmm0
	imull	%r10d, %ecx
	addl	%edx, %ecx
	movl	(%rbx), %eax
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$2, %edx
	addl	%ecx, %edx
	cvtsi2ss	%rdx, %xmm1
	movq	(%r8), %rdx
	movl	4(%r14), %r8d
	divss	LCPI0_4(%rip), %xmm0
	addss	%xmm1, %xmm0
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%ecx, %xmm1
	subss	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	32(%r12), %xmm1
	addss	%xmm0, %xmm1
	cvttss2si	%xmm1, %ecx
	movq	_TEXT_ALIGN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	pushq	$1
	pushq	$0
	pushq	$0
	pushq	%r10
	pushq	%rax
	pushq	%r15
	callq	_menu_display_draw_text
	movq	%r15, %r11
	addq	$48, %rsp
LBB0_19:
	movq	_font_regular@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	40(%r12), %rsi
	movq	_msg_queue_task_text_start_x@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%r14), %r9d
	movl	%r9d, %ecx
	subl	16(%r12), %ecx
	movq	_msg_queue_text_scale_factor@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	(%r13), %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	imull	%r10d, %eax
	addl	%ecx, %eax
	movl	(%rbx), %ecx
	movq	%rbx, %r13
	leal	3(%rcx), %ebx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %ebx
	sarl	$2, %ebx
	addl	%eax, %ebx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rbx, %xmm1
	movl	4(%r14), %r8d
	divss	LCPI0_4(%rip), %xmm0
	addss	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	32(%r12), %xmm1
	addss	%xmm0, %xmm1
	cvttss2si	%xmm1, %ecx
	movq	_TEXT_ALIGN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	pushq	$1
	pushq	$0
	pushq	$0
	pushq	%r10
	pushq	%rax
	pushq	%r11
	callq	_menu_display_draw_text
	addq	$48, %rsp
	cmpq	$0, 24(%r12)
	je	LBB0_21
## %bb.20:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movl	(%r15), %edx
	movq	%r14, %rcx
	callq	_font_driver_flush
	movq	_font_raster_regular@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%r14, %rdi
	callq	_menu_display_scissor_end
LBB0_21:
	movss	8(%r12), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	LCPI0_5(%rip), %xmm0
	mulss	LCPI0_2(%rip), %xmm0
	cvttss2si	%xmm0, %rsi
	movl	$-256, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_COLOR_TEXT_ALPHA
                                        ## kill: def $eax killed $eax def $rax
	movq	-320(%rbp), %rbx                ## 8-byte Reload
	movq	_msg_queue_rect_start_x@GOTPCREL(%rip), %rcx
	addl	(%rcx), %ebx
	movq	_msg_queue_icon_size_x@GOTPCREL(%rip), %rcx
	subl	(%rcx), %ebx
	movl	(%r15), %edi
	movq	_msg_queue_glyph_width@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rbx
	movl	(%r14), %r9d
	movl	%r9d, %ecx
	subl	16(%r12), %ecx
	movq	_msg_queue_text_scale_factor@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r10d
	movq	-344(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx), %edx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%edx, %xmm0
	imull	%r10d, %edx
	addl	%ecx, %edx
	movl	(%r13), %ecx
	leal	3(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$2, %esi
	addl	%edx, %esi
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rsi, %xmm1
	movl	4(%r14), %r8d
	divss	LCPI0_4(%rip), %xmm0
	addss	%xmm1, %xmm0
	cvttss2si	%xmm0, %ecx
	movq	_TEXT_ALIGN_RIGHT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
	leaq	-304(%rbp), %rsi
	movq	%rbx, %rdx
	pushq	$1
	pushq	$0
	pushq	$0
	pushq	%r10
	pushq	%r11
	pushq	%rax
	callq	_menu_display_draw_text
	addq	$48, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	addq	$328, %rsp                      ## imm = 0x148
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_glyph_width,4,2                ## @glyph_width
	.comm	_simple_widget_padding,4,2      ## @simple_widget_padding
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Task failed"

L_.str.1:                               ## @.str.1
	.asciz	" "

L_.str.2:                               ## @.str.2
	.asciz	"%i%%"

	.comm	_msg_queue_task_progress_1,8,3  ## @msg_queue_task_progress_1
	.comm	_msg_queue_task_progress_2,8,3  ## @msg_queue_task_progress_2
	.comm	_msg_queue_background,8,3       ## @msg_queue_background
	.comm	_msg_queue_rect_start_x,4,2     ## @msg_queue_rect_start_x
	.comm	_msg_queue_icon_size_x,4,2      ## @msg_queue_icon_size_x
	.comm	_msg_queue_height,4,2           ## @msg_queue_height
	.comm	_msg_queue_task_rect_start_x,4,2 ## @msg_queue_task_rect_start_x
	.comm	_menu_widgets_pure_white,8,3    ## @menu_widgets_pure_white
	.comm	_menu_widgets_icons_textures,8,3 ## @menu_widgets_icons_textures
	.comm	_MENU_WIDGETS_ICON_CHECK,8,3    ## @MENU_WIDGETS_ICON_CHECK
	.comm	_MENU_WIDGETS_ICON_HOURGLASS,8,3 ## @MENU_WIDGETS_ICON_HOURGLASS
	.comm	_msg_queue_task_hourglass_x,4,2 ## @msg_queue_task_hourglass_x
	.comm	_font_regular,4,2               ## @font_regular
	.comm	_font_raster_regular,8,3        ## @font_raster_regular
	.comm	_msg_queue_task_text_start_x,8,3 ## @msg_queue_task_text_start_x
	.comm	_msg_queue_text_scale_factor,4,2 ## @msg_queue_text_scale_factor
	.comm	_TEXT_ALIGN_LEFT,4,2            ## @TEXT_ALIGN_LEFT
	.comm	_msg_queue_glyph_width,8,3      ## @msg_queue_glyph_width
	.comm	_TEXT_ALIGN_RIGHT,4,2           ## @TEXT_ALIGN_RIGHT
	.no_dead_strip	_menu_widgets_draw_task_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_widgets_draw_task_msg
_menu_widgets_draw_task_msg:            ; @menu_widgets_draw_task_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #432
	.cfi_def_cfa_offset 432
	stp	d9, d8, [sp, #320]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #336]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #352]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #368]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #384]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #400]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #416]            ; 16-byte Folded Spill
	add	x29, sp, #416
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #272]
	stp	q0, q0, [sp, #240]
	stp	q0, q0, [sp, #208]
	stp	q0, q0, [sp, #176]
	stp	q0, q0, [sp, #144]
	stp	q0, q0, [sp, #112]
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	bl	_config_get_ptr
	ldp	x9, x8, [x20, #56]
	cmp	x8, #0
	mov	w10, #12
	mov	w11, #5
	csel	w10, w11, w10, eq
Lloh3:
	adrp	x11, _glyph_width@GOTPAGE
Lloh4:
	ldr	x11, [x11, _glyph_width@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	mul	w10, w10, w11
	scvtf	s0, w10
Lloh6:
	adrp	x22, _simple_widget_padding@GOTPAGE
Lloh7:
	ldr	x22, [x22, _simple_widget_padding@GOTPAGEOFF]
	ldr	s1, [x22]
	fmov	s2, #1.25000000
	fmadd	s0, s1, s2, s0
	fcvtzu	w21, s0
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	cbz	x9, LBB0_3
; %bb.1:
	cbz	x8, LBB0_5
; %bb.2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	ldr	w3, [x20]
	cmp	w3, #100
	b.hi	LBB0_7
; %bb.4:
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #48
	mov	w1, #256
	bl	_snprintf
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	add	x0, sp, #48
	mov	w2, #256
	bl	_strlcpy
LBB0_7:
	ldr	s0, [x22]
	ldp	s1, s2, [x20, #4]
	fadd	s0, s0, s1
	ucvtf	s1, w21
	fadd	s0, s0, s1
	fcvtzu	w22, s0
	ldr	w21, [x20]
	mov	w8, #1132396544
	fmov	s0, w8
	fmul	s0, s2, s0
	fcvtzu	w1, s0
	mov	w0, #-256
	bl	_COLOR_TEXT_ALPHA
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	ldr	x8, [x20, #56]
Lloh14:
	adrp	x9, _msg_queue_background@GOTPAGE
Lloh15:
	ldr	x9, [x9, _msg_queue_background@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x23, _msg_queue_task_progress_1@GOTPAGE
Lloh18:
	ldr	x23, [x23, _msg_queue_task_progress_1@GOTPAGEOFF]
	ldr	x10, [x23]
	ldp	w11, w12, [x20, #12]
	cmp	w11, #1
	csel	x9, x9, x10, eq
Lloh19:
	adrp	x28, _msg_queue_task_progress_2@GOTPAGE
Lloh20:
	ldr	x28, [x28, _msg_queue_task_progress_2@GOTPAGEOFF]
	ldr	x11, [x28]
	csel	x10, x10, x11, eq
	cmp	x8, #0
	csel	x27, x9, x10, eq
Lloh21:
	adrp	x8, _msg_queue_rect_start_x@GOTPAGE
Lloh22:
	ldr	x8, [x8, _msg_queue_rect_start_x@GOTPAGEOFF]
Lloh23:
	adrp	x9, _msg_queue_icon_size_x@GOTPAGE
Lloh24:
	ldr	x9, [x9, _msg_queue_icon_size_x@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	ldr	w9, [x9]
	sub	w24, w8, w9
	ldr	w8, [x19]
Lloh27:
	adrp	x9, _msg_queue_height@GOTPAGE
Lloh28:
	ldr	x9, [x9, _msg_queue_height@GOTPAGEOFF]
	sub	w25, w8, w12
Lloh29:
	ldr	w8, [x9]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w26, w8, #1
	ldr	s0, [x20, #8]
	mov	x0, x27
	bl	_menu_display_set_alpha
	ldp	w6, w5, [x19]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x25
	str	w22, [sp, #44]                  ; 4-byte Folded Spill
	mov	x3, x22
	mov	x4, x26
	mov	x7, x27
	bl	_menu_display_draw_quad
	ldr	x8, [x20, #56]
	cbnz	x8, LBB0_10
; %bb.8:
	ldr	w8, [x20]
	cmp	w8, #100
	b.hi	LBB0_10
; %bb.9:
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	mul	w8, w21, w8
	ucvtf	s0, w8
	mov	w8, #1120403456
	fmov	s1, w8
	fdiv	s0, s0, s1
	fcvtzu	w27, s0
	ldr	w8, [x20, #12]
	cmp	w8, #1
	csel	x8, x23, x28, eq
	ldr	x28, [x8]
	fmov	s0, #1.00000000
	mov	x0, x28
	bl	_menu_display_set_alpha
Lloh30:
	adrp	x8, _msg_queue_task_rect_start_x@GOTPAGE
Lloh31:
	ldr	x8, [x8, _msg_queue_task_rect_start_x@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w8, [x20, #16]
	ldp	w6, w5, [x19]
	sub	w2, w6, w8
	mov	x0, x19
	mov	x3, x27
	mov	x4, x26
	mov	x7, x28
	bl	_menu_display_draw_quad
LBB0_10:
Lloh33:
	adrp	x21, _menu_widgets_pure_white@GOTPAGE
Lloh34:
	ldr	x21, [x21, _menu_widgets_pure_white@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	s0, [x20, #8]
	bl	_menu_display_set_alpha
	mov	x0, x19
	bl	_menu_display_blend_begin
Lloh35:
	adrp	x8, _msg_queue_height@GOTPAGE
Lloh36:
	ldr	x8, [x8, _msg_queue_height@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
Lloh38:
	adrp	x9, _menu_widgets_icons_textures@GOTPAGE
Lloh39:
	ldr	x9, [x9, _menu_widgets_icons_textures@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	ldr	x10, [x20, #56]
Lloh41:
	adrp	x11, _MENU_WIDGETS_ICON_CHECK@GOTPAGE
Lloh42:
	ldr	x11, [x11, _MENU_WIDGETS_ICON_CHECK@GOTPAGEOFF]
Lloh43:
	adrp	x12, _MENU_WIDGETS_ICON_HOURGLASS@GOTPAGE
Lloh44:
	ldr	x12, [x12, _MENU_WIDGETS_ICON_HOURGLASS@GOTPAGEOFF]
	cmp	x10, #0
	csel	x11, x12, x11, eq
	ldr	x11, [x11]
	ldr	w3, [x9, x11, lsl #2]
Lloh45:
	adrp	x9, _msg_queue_task_hourglass_x@GOTPAGE
Lloh46:
	ldr	x9, [x9, _msg_queue_task_hourglass_x@GOTPAGEOFF]
	asr	w1, w8, #1
Lloh47:
	ldr	w4, [x9]
	ldr	w8, [x20, #16]
	ldp	w7, w6, [x19]
	sub	w5, w7, w8
	cbz	x10, LBB0_12
; %bb.11:
	mov	w8, #0
	b	LBB0_13
LBB0_12:
	ldr	w8, [x20, #48]
LBB0_13:
	ldr	x9, [x21]
	str	x9, [sp, #8]
	mov	w9, #1
	stp	w8, w9, [sp]
	mov	x0, x19
	mov	x2, x1
	bl	_menu_widgets_draw_icon
	mov	x0, x19
	bl	_menu_display_blend_end
	ldr	x8, [x20, #24]
Lloh48:
	adrp	x28, _font_regular@GOTPAGE
Lloh49:
	ldr	x28, [x28, _font_regular@GOTPAGEOFF]
Lloh50:
	adrp	x13, _msg_queue_task_text_start_x@GOTPAGE
Lloh51:
	ldr	x13, [x13, _msg_queue_task_text_start_x@GOTPAGEOFF]
Lloh52:
	adrp	x12, _TEXT_ALIGN_LEFT@GOTPAGE
Lloh53:
	ldr	x12, [x12, _TEXT_ALIGN_LEFT@GOTPAGEOFF]
Lloh54:
	adrp	x21, _font_raster_regular@GOTPAGE
Lloh55:
	ldr	x21, [x21, _font_raster_regular@GOTPAGEOFF]
	ldr	x23, [sp, #32]                  ; 8-byte Folded Reload
Lloh56:
	adrp	x27, _msg_queue_height@GOTPAGE
Lloh57:
	ldr	x27, [x27, _msg_queue_height@GOTPAGEOFF]
	ldr	w22, [sp, #28]                  ; 4-byte Folded Reload
	cbz	x8, LBB0_15
; %bb.14:
	ldp	w1, w0, [x19]
	ldr	w2, [x28]
	mov	x3, x19
	bl	_font_driver_flush
	str	xzr, [x21]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x25
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	mov	x4, x26
	bl	_menu_display_scissor_begin
	ldr	w0, [x28]
	ldr	x1, [x20, #24]
	ldr	w8, [x20, #16]
	ldp	w5, w4, [x19]
	sub	w8, w5, w8
Lloh58:
	adrp	x9, _msg_queue_text_scale_factor@GOTPAGE
Lloh59:
	ldr	x9, [x9, _msg_queue_text_scale_factor@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	ldr	w10, [x23]
	madd	w8, w10, w9, w8
	ldr	w11, [x27]
	add	w12, w11, #3
	cmp	w11, #0
	csel	w12, w12, w11, lt
	add	w8, w8, w12, asr #2
Lloh61:
	adrp	x12, _msg_queue_task_text_start_x@GOTPAGE
Lloh62:
	ldr	x12, [x12, _msg_queue_task_text_start_x@GOTPAGEOFF]
Lloh63:
	ldr	x2, [x12]
	ucvtf	s0, w8
	scvtf	s1, w10
	fmov	s2, #-2.25000000
	fdiv	s1, s1, s2
	fadd	s0, s0, s1
	cinc	w8, w11, lt
	asr	w8, w8, #1
	scvtf	s1, w8
	fsub	s0, s0, s1
	ldr	s1, [x20, #32]
	scvtf	s1, s1
	fadd	s0, s0, s1
	fcvtzs	w3, s0
Lloh64:
	adrp	x8, _TEXT_ALIGN_LEFT@GOTPAGE
Lloh65:
	ldr	x8, [x8, _TEXT_ALIGN_LEFT@GOTPAGEOFF]
Lloh66:
	ldr	w7, [x8]
	mov	w8, #1
	str	w8, [sp, #12]
	stur	xzr, [sp, #4]
	str	w9, [sp]
	mov	x6, x22
	bl	_menu_display_draw_text
Lloh67:
	adrp	x13, _msg_queue_task_text_start_x@GOTPAGE
Lloh68:
	ldr	x13, [x13, _msg_queue_task_text_start_x@GOTPAGEOFF]
Lloh69:
	adrp	x12, _TEXT_ALIGN_LEFT@GOTPAGE
Lloh70:
	ldr	x12, [x12, _TEXT_ALIGN_LEFT@GOTPAGEOFF]
LBB0_15:
	mov	x24, x21
	ldr	w0, [x28]
	ldr	x1, [x20, #40]
	ldr	w8, [x20, #16]
	ldp	w5, w4, [x19]
	sub	w8, w5, w8
Lloh71:
	adrp	x21, _msg_queue_text_scale_factor@GOTPAGE
Lloh72:
	ldr	x21, [x21, _msg_queue_text_scale_factor@GOTPAGEOFF]
	ldr	w9, [x21]
	ldr	w10, [x27]
	add	w11, w10, #3
	cmp	w10, #0
	csel	w10, w11, w10, lt
	ldr	w11, [x23]
	madd	w8, w11, w9, w8
	add	w8, w8, w10, asr #2
	ucvtf	s0, w8
	ldr	x2, [x13]
	scvtf	s1, w11
	fmov	s8, #-2.25000000
	fdiv	s1, s1, s8
	fadd	s0, s0, s1
	ldr	s1, [x20, #32]
	scvtf	s1, s1
	fadd	s0, s0, s1
	fcvtzs	w3, s0
	ldr	w7, [x12]
	mov	w8, #1
	str	w8, [sp, #12]
	stur	xzr, [sp, #4]
	str	w9, [sp]
	mov	x6, x22
	bl	_menu_display_draw_text
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_17
; %bb.16:
	ldp	w1, w0, [x19]
	ldr	w2, [x28]
	mov	x3, x19
	bl	_font_driver_flush
	str	xzr, [x24]
	mov	x0, x19
	bl	_menu_display_scissor_end
LBB0_17:
	ldr	s0, [x20, #8]
	fmov	s1, #0.50000000
	fmul	s0, s0, s1
	mov	w8, #1132396544
	fmov	s1, w8
	fmul	s0, s0, s1
	fcvtzu	w1, s0
	mov	w0, #-256
	bl	_COLOR_TEXT_ALPHA
	mov	x6, x0
	ldr	w0, [x28]
Lloh73:
	adrp	x8, _msg_queue_rect_start_x@GOTPAGE
Lloh74:
	ldr	x8, [x8, _msg_queue_rect_start_x@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
Lloh76:
	adrp	x9, _msg_queue_icon_size_x@GOTPAGE
Lloh77:
	ldr	x9, [x9, _msg_queue_icon_size_x@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	ldr	w10, [sp, #44]                  ; 4-byte Folded Reload
	add	w8, w8, w10
	sub	w8, w8, w9
Lloh79:
	adrp	x9, _msg_queue_glyph_width@GOTPAGE
Lloh80:
	ldr	x9, [x9, _msg_queue_glyph_width@GOTPAGEOFF]
Lloh81:
	ldr	x9, [x9]
	sub	x2, x8, x9
	ldr	w8, [x20, #16]
	ldp	w5, w4, [x19]
	sub	w8, w5, w8
	ldr	w9, [x21]
	ldr	w10, [x23]
	madd	w8, w10, w9, w8
	ldr	w11, [x27]
	add	w12, w11, #3
	cmp	w11, #0
	csel	w11, w12, w11, lt
	add	w8, w8, w11, asr #2
	ucvtf	s0, w8
	scvtf	s1, w10
	fdiv	s1, s1, s8
	fadd	s0, s0, s1
	fcvtzs	w3, s0
Lloh82:
	adrp	x8, _TEXT_ALIGN_RIGHT@GOTPAGE
Lloh83:
	ldr	x8, [x8, _TEXT_ALIGN_RIGHT@GOTPAGEOFF]
Lloh84:
	ldr	w7, [x8]
	mov	w8, #1
	str	w8, [sp, #12]
	stur	xzr, [sp, #4]
	str	w9, [sp]
	add	x1, sp, #48
	bl	_menu_display_draw_text
	ldur	x8, [x29, #-112]
Lloh85:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh86:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh87:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #416]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #400]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #384]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #368]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #352]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #336]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #320]              ; 16-byte Folded Reload
	add	sp, sp, #432
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_glyph_width,4,2                ; @glyph_width
	.comm	_simple_widget_padding,4,2      ; @simple_widget_padding
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Task failed"

l_.str.1:                               ; @.str.1
	.asciz	" "

l_.str.2:                               ; @.str.2
	.asciz	"%i%%"

	.comm	_msg_queue_task_progress_1,8,3  ; @msg_queue_task_progress_1
	.comm	_msg_queue_task_progress_2,8,3  ; @msg_queue_task_progress_2
	.comm	_msg_queue_background,8,3       ; @msg_queue_background
	.comm	_msg_queue_rect_start_x,4,2     ; @msg_queue_rect_start_x
	.comm	_msg_queue_icon_size_x,4,2      ; @msg_queue_icon_size_x
	.comm	_msg_queue_height,4,2           ; @msg_queue_height
	.comm	_msg_queue_task_rect_start_x,4,2 ; @msg_queue_task_rect_start_x
	.comm	_menu_widgets_pure_white,8,3    ; @menu_widgets_pure_white
	.comm	_menu_widgets_icons_textures,8,3 ; @menu_widgets_icons_textures
	.comm	_MENU_WIDGETS_ICON_CHECK,8,3    ; @MENU_WIDGETS_ICON_CHECK
	.comm	_MENU_WIDGETS_ICON_HOURGLASS,8,3 ; @MENU_WIDGETS_ICON_HOURGLASS
	.comm	_msg_queue_task_hourglass_x,4,2 ; @msg_queue_task_hourglass_x
	.comm	_font_regular,4,2               ; @font_regular
	.comm	_font_raster_regular,8,3        ; @font_raster_regular
	.comm	_msg_queue_task_text_start_x,8,3 ; @msg_queue_task_text_start_x
	.comm	_msg_queue_text_scale_factor,4,2 ; @msg_queue_text_scale_factor
	.comm	_TEXT_ALIGN_LEFT,4,2            ; @TEXT_ALIGN_LEFT
	.comm	_msg_queue_glyph_width,8,3      ; @msg_queue_glyph_width
	.comm	_TEXT_ALIGN_RIGHT,4,2           ; @TEXT_ALIGN_RIGHT
	.no_dead_strip	_menu_widgets_draw_task_msg
.subsections_via_symbols
