	.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_msg_queue_push
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
LCPI0_2:
	.long	0x3f800000                      ## float 1
LCPI0_3:
	.long	0x3faccccd                      ## float 1.35000002
LCPI0_4:
	.long	0x40200000                      ## float 2.5
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	1065353216                      ## 0x3f800000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_menu_widgets_msg_queue_push
	.p2align	4, 0x90
_menu_widgets_msg_queue_push:           ## @menu_widgets_msg_queue_push
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_msg_queue@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_fifo_write_avail
	testq	%rax, %rax
	jle	LBB0_25
## %bb.1:
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	movq	32(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.15:
	movq	%r14, 120(%rbx)
	cmpl	$0, 16(%rbx)
	je	LBB0_17
## %bb.16:
	leaq	96(%rbx), %rdi
	callq	_menu_timer_kill
	movl	$0, 16(%rbx)
LBB0_17:
	movq	(%r14), %r15
	cmpq	56(%rbx), %r15
	je	LBB0_24
## %bb.18:
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %r12
	movq	_font_regular@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_msg_queue_text_scale_factor@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_font_driver_get_message_width
	movl	%eax, %r15d
	movq	88(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_free
	movq	$0, 88(%rbx)
LBB0_20:
	movq	(%r14), %r13
	movq	%r13, %rdi
	callq	_strdup
	movq	%rax, 88(%rbx)
	movl	%r12d, 48(%rbx)
	movq	%r13, 56(%rbx)
	movl	$0, 20(%rbx)
	cmpl	$0, 24(%r14)
	je	LBB0_21
## %bb.22:
	movq	%rbx, %rdi
	callq	_msg_widget_msg_transition_animation_done
	jmp	LBB0_23
LBB0_2:
	movl	$1, %edi
	movl	$136, %esi
	callq	_calloc
	movq	%rax, %rbx
	movq	%rax, -88(%rbp)
	jmp	LBB0_5
LBB0_4:
	movl	$1, %edi
	movl	$136, %esi
	callq	_calloc
	movq	%rax, %rbx
	movq	%rax, -88(%rbp)
	movq	(%r14), %r15
LBB0_5:
	movl	%r12d, (%rbx)
	movq	$0, 128(%rbx)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [1065353216,0,0,0]
	movups	%xmm0, 4(%rbx)
	movq	%r14, 120(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%rbx)
	movq	$0, 20(%rbx)
	movq	_msg_queue_has_icons@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	sete	%cl
	je	LBB0_6
## %bb.7:
	xorps	%xmm0, %xmm0
	jmp	LBB0_8
LBB0_6:
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
LBB0_8:
	movb	%cl, %al
	movl	%eax, 28(%rbx)
	movl	$0, 32(%rbx)
	movss	%xmm0, 36(%rbx)
	movq	%r15, %rdi
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	callq	_strdup
	movq	%rax, 40(%rbx)
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, 48(%rbx)
	movups	8(%r14), %xmm0
	movups	%xmm0, 72(%rbx)
	movl	40(%r14), %ecx
	movl	%ecx, 112(%rbx)
	movq	(%r14), %rcx
	movq	%rcx, 56(%rbx)
	movl	$1, 64(%rbx)
	movl	$1, 28(%rbx)
	movq	_font_regular@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_msg_queue_text_scale_factor@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_font_driver_get_message_width
	movq	_simple_widget_padding@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	addl	%eax, %edx
	movl	%edx, 68(%rbx)
	movq	%rbx, 32(%r14)
	movq	$0, 104(%rbx)
	jmp	LBB0_14
LBB0_10:
	callq	_strlen
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, %r14
	movq	_msg_queue_default_rect_width@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_font_regular@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_msg_queue_text_scale_factor@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_font_driver_get_message_width
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_config_get_ptr
	movl	(%rax), %eax
	movq	_msg_queue_text_scale_factor@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movl	%eax, 24(%rbx)
	cmpl	%r13d, %r15d
	jbe	LBB0_11
## %bb.12:
	shrl	%r15d
	cmpl	%r13d, %r15d
	movq	_msg_queue_glyph_width@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %eax
	leal	(%r15,%rax,2), %r15d
	cmovbel	%r13d, %r15d
	shrl	%r12d
	addl	$10, %r12d
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movl	$2, %r8d
	callq	_word_wrap
	movl	24(%rbx), %eax
	movss	LCPI0_4(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_13
LBB0_11:
	movss	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
LBB0_13:
	movq	_msg_queue@GOTPCREL(%rip), %r13
	cvtsi2ss	%eax, %xmm1
	mulss	%xmm0, %xmm1
	cvttss2si	%xmm1, %eax
	movl	%eax, 24(%rbx)
	movq	%r14, 40(%rbx)
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, 48(%rbx)
	movq	_simple_widget_padding@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	addl	%r15d, %ecx
	movl	%ecx, 68(%rbx)
LBB0_14:
	movl	(%r13), %edi
	leaq	-88(%rbp), %rsi
	movl	$8, %edx
	callq	_fifo_write
	jmp	LBB0_25
LBB0_21:
	leaq	20(%rbx), %rax
	movq	_EASING_OUT_QUAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	movq	%rbx, -88(%rbp)
	movq	_MSG_QUEUE_ANIMATION_DURATION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %ecx
	movl	%ecx, -80(%rbp)
	movq	_msg_queue_height@GOTPCREL(%rip), %rcx
	movss	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	mulss	LCPI0_0(%rip), %xmm0
	movss	%xmm0, -76(%rbp)
	movq	%rax, -72(%rbp)
	movq	_msg_widget_msg_transition_animation_done@GOTPCREL(%rip), %rax
	movq	%rax, -56(%rbp)
	movq	%rbx, -64(%rbp)
	leaq	-88(%rbp), %rdi
	callq	_menu_animation_push
LBB0_23:
	incl	64(%rbx)
	movl	%r15d, 68(%rbx)
LBB0_24:
	movups	8(%r14), %xmm0
	movups	%xmm0, 72(%rbx)
LBB0_25:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_msg_queue,4,2                  ## @msg_queue
	.comm	_msg_queue_has_icons,8,3        ## @msg_queue_has_icons
	.comm	_font_regular,4,2               ## @font_regular
	.comm	_msg_queue_text_scale_factor,4,2 ## @msg_queue_text_scale_factor
	.comm	_simple_widget_padding,4,2      ## @simple_widget_padding
	.comm	_msg_queue_default_rect_width,4,2 ## @msg_queue_default_rect_width
	.comm	_msg_queue_glyph_width,4,2      ## @msg_queue_glyph_width
	.comm	_EASING_OUT_QUAD,4,2            ## @EASING_OUT_QUAD
	.comm	_MSG_QUEUE_ANIMATION_DURATION,4,2 ## @MSG_QUEUE_ANIMATION_DURATION
	.comm	_msg_queue_height,4,2           ## @msg_queue_height
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_widgets_msg_queue_push    ; -- Begin function menu_widgets_msg_queue_push
	.p2align	2
_menu_widgets_msg_queue_push:           ; @menu_widgets_msg_queue_push
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _msg_queue@GOTPAGE
Lloh1:
	ldr	x23, [x23, _msg_queue@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_fifo_write_avail
	cmp	x0, #1
	b.lt	LBB0_22
; %bb.1:
	cbz	x19, LBB0_10
; %bb.2:
	ldr	x20, [x19, #32]
	cbz	x20, LBB0_11
; %bb.3:
	str	x19, [x20, #120]
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_5
; %bb.4:
	add	x0, x20, #96
	bl	_menu_timer_kill
	str	wzr, [x20, #16]
LBB0_5:
	ldr	x21, [x19]
	ldr	x8, [x20, #56]
	cmp	x21, x8
	b.eq	LBB0_21
; %bb.6:
	mov	x0, x21
	bl	_strlen
	mov	x22, x0
Lloh2:
	adrp	x8, _font_regular@GOTPAGE
Lloh3:
	ldr	x8, [x8, _font_regular@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _msg_queue_text_scale_factor@GOTPAGE
Lloh6:
	ldr	x8, [x8, _msg_queue_text_scale_factor@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x1, x21
	mov	x2, x22
	bl	_font_driver_get_message_width
	mov	x21, x0
	ldr	x0, [x20, #88]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_free
	str	xzr, [x20, #88]
LBB0_8:
	ldr	x23, [x19]
	mov	x0, x23
	bl	_strdup
	mov	x8, x20
	str	wzr, [x8, #20]!
	stur	x0, [x8, #68]
	str	w22, [x8, #28]
	stur	x23, [x8, #36]
	ldr	w9, [x19, #24]
	cbz	w9, LBB0_19
; %bb.9:
	mov	x0, x20
	bl	_msg_widget_msg_transition_animation_done
	b	LBB0_20
LBB0_10:
	mov	w0, #1
	mov	w1, #136
	bl	_calloc
	mov	x20, x0
	str	x0, [sp]
	b	LBB0_12
LBB0_11:
	mov	w0, #1
	mov	w1, #136
	bl	_calloc
	mov	x20, x0
	str	x0, [sp]
	ldr	x21, [x19]
LBB0_12:
	mov	w8, #1065353216
	stp	w22, w8, [x20]
	str	xzr, [x20, #8]
	stp	x19, xzr, [x20, #120]
	str	wzr, [x20, #16]
	stp	xzr, xzr, [x20, #88]
	stur	xzr, [x20, #20]
Lloh8:
	adrp	x8, _msg_queue_has_icons@GOTPAGE
Lloh9:
	ldr	x8, [x8, _msg_queue_has_icons@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, eq
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	fcsel	s0, s1, s0, eq
	stp	w8, wzr, [x20, #28]
	str	s0, [x20, #36]
	mov	x0, x21
	cbz	x19, LBB0_14
; %bb.13:
	bl	_strdup
	str	x0, [x20, #40]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	str	w2, [x20, #48]
	ldur	q0, [x19, #8]
	stur	q0, [x20, #72]
	ldr	w8, [x19, #40]
	str	w8, [x20, #112]
	ldr	x8, [x19]
	str	x8, [x20, #56]
	mov	w8, #1
	str	w8, [x20, #64]
	str	w8, [x20, #28]
Lloh11:
	adrp	x8, _font_regular@GOTPAGE
Lloh12:
	ldr	x8, [x8, _font_regular@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _msg_queue_text_scale_factor@GOTPAGE
Lloh15:
	ldr	x8, [x8, _msg_queue_text_scale_factor@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_font_driver_get_message_width
Lloh17:
	adrp	x8, _simple_widget_padding@GOTPAGE
Lloh18:
	ldr	x8, [x8, _simple_widget_padding@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w8, w0, w8, asr #1
	str	w8, [x20, #68]
	str	x20, [x19, #32]
	str	xzr, [x20, #104]
	b	LBB0_18
LBB0_14:
	bl	_strlen
	mov	x22, x0
	mov	x0, x21
	bl	_strdup
	mov	x19, x0
Lloh20:
	adrp	x8, _msg_queue_default_rect_width@GOTPAGE
Lloh21:
	ldr	x8, [x8, _msg_queue_default_rect_width@GOTPAGEOFF]
Lloh22:
	ldr	w24, [x8]
Lloh23:
	adrp	x8, _font_regular@GOTPAGE
Lloh24:
	ldr	x8, [x8, _font_regular@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x25, _msg_queue_text_scale_factor@GOTPAGE
Lloh27:
	ldr	x25, [x25, _msg_queue_text_scale_factor@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x1, x21
	mov	x2, x22
	bl	_font_driver_get_message_width
	mov	x21, x0
	bl	_config_get_ptr
	ldr	w8, [x25]
	ldr	w9, [x0]
	mul	w8, w9, w8
	str	w8, [x20, #24]
	cmp	w21, w24
	b.ls	LBB0_16
; %bb.15:
	lsr	w8, w21, #1
Lloh28:
	adrp	x9, _msg_queue_glyph_width@GOTPAGE
Lloh29:
	ldr	x9, [x9, _msg_queue_glyph_width@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	mov	w10, #10
	madd	w9, w9, w10, w8
	cmp	w8, w24
	csel	w21, w9, w24, hi
	lsr	w8, w22, #1
	add	w2, w8, #10
	mov	x0, x19
	mov	x1, x19
	mov	w3, #0
	mov	w4, #2
	bl	_word_wrap
	ldr	w8, [x20, #24]
	fmov	s0, #2.50000000
	b	LBB0_17
LBB0_16:
	mov	w9, #52429
	movk	w9, #16300, lsl #16
	fmov	s0, w9
LBB0_17:
	scvtf	s1, w8
	fmul	s0, s0, s1
	fcvtzs	w8, s0
	str	w8, [x20, #24]
	str	x19, [x20, #40]
	mov	x0, x19
	bl	_strlen
Lloh31:
	adrp	x8, _simple_widget_padding@GOTPAGE
Lloh32:
	ldr	x8, [x8, _simple_widget_padding@GOTPAGEOFF]
	str	w0, [x20, #48]
Lloh33:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w8, w21, w8, asr #1
	str	w8, [x20, #68]
LBB0_18:
	ldr	w0, [x23]
	mov	x1, sp
	mov	w2, #8
	bl	_fifo_write
	b	LBB0_22
LBB0_19:
Lloh34:
	adrp	x9, _EASING_OUT_QUAD@GOTPAGE
Lloh35:
	ldr	x9, [x9, _EASING_OUT_QUAD@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	str	w9, [sp, #40]
	str	x20, [sp]
Lloh37:
	adrp	x9, _MSG_QUEUE_ANIMATION_DURATION@GOTPAGE
Lloh38:
	ldr	x9, [x9, _MSG_QUEUE_ANIMATION_DURATION@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	lsl	w9, w9, #1
	str	w9, [sp, #8]
Lloh40:
	adrp	x9, _msg_queue_height@GOTPAGE
Lloh41:
	ldr	x9, [x9, _msg_queue_height@GOTPAGEOFF]
Lloh42:
	ldr	s0, [x9]
	fmov	s1, #0.50000000
	fmul	s0, s0, s1
	str	s0, [sp, #12]
Lloh43:
	adrp	x9, _msg_widget_msg_transition_animation_done@GOTPAGE
Lloh44:
	ldr	x9, [x9, _msg_widget_msg_transition_animation_done@GOTPAGEOFF]
	stp	x20, x9, [sp, #24]
	str	x8, [sp, #16]
	mov	x0, sp
	bl	_menu_animation_push
LBB0_20:
	ldr	w8, [x20, #64]
	add	w8, w8, #1
	stp	w8, w21, [x20, #64]
LBB0_21:
	ldur	q0, [x19, #8]
	stur	q0, [x20, #72]
LBB0_22:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_msg_queue,4,2                  ; @msg_queue
	.comm	_msg_queue_has_icons,8,3        ; @msg_queue_has_icons
	.comm	_font_regular,4,2               ; @font_regular
	.comm	_msg_queue_text_scale_factor,4,2 ; @msg_queue_text_scale_factor
	.comm	_simple_widget_padding,4,2      ; @simple_widget_padding
	.comm	_msg_queue_default_rect_width,4,2 ; @msg_queue_default_rect_width
	.comm	_msg_queue_glyph_width,4,2      ; @msg_queue_glyph_width
	.comm	_EASING_OUT_QUAD,4,2            ; @EASING_OUT_QUAD
	.comm	_MSG_QUEUE_ANIMATION_DURATION,4,2 ; @MSG_QUEUE_ANIMATION_DURATION
	.comm	_msg_queue_height,4,2           ; @msg_queue_height
.subsections_via_symbols
