	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_widgets_msg_queue_kill
_menu_widgets_msg_queue_kill:           ## @menu_widgets_msg_queue_kill
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_current_msgs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_file_list_get_userdata_at_offset
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	_widgets_moving@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$1, (%rbx)
	movq	_msg_queue_kill@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	_MSG_QUEUE_ANIMATION_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_EASING_OUT_QUAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	%rbx, -64(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movq	_msg_queue_height@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	leaq	4(%rbx), %rax
	sarl	$2, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%ecx, %xmm0
	movq	%rax, -56(%rbp)
	movss	4(%rbx), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, -48(%rbp)
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	callq	_menu_animation_push
	movq	_menu_widgets_msg_queue_kill_end@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	addq	$8, %rbx
	movq	%rbx, -56(%rbp)
	movl	$0, -48(%rbp)
	movq	%r14, %rdi
	callq	_menu_animation_push
	xorl	%eax, %eax
	callq	_menu_widgets_msg_queue_move
LBB0_2:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_msgs,4,2               ## @current_msgs
	.comm	_widgets_moving,4,2             ## @widgets_moving
	.comm	_msg_queue_kill,4,2             ## @msg_queue_kill
	.comm	_MSG_QUEUE_ANIMATION_DURATION,4,2 ## @MSG_QUEUE_ANIMATION_DURATION
	.comm	_EASING_OUT_QUAD,4,2            ## @EASING_OUT_QUAD
	.comm	_msg_queue_height,4,2           ## @msg_queue_height
	.comm	_menu_widgets_msg_queue_kill_end,8,3 ## @menu_widgets_msg_queue_kill_end
	.no_dead_strip	_menu_widgets_msg_queue_kill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_widgets_msg_queue_kill
_menu_widgets_msg_queue_kill:           ; @menu_widgets_msg_queue_kill
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _current_msgs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_msgs@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_file_list_get_userdata_at_offset
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _widgets_moving@GOTPAGE
Lloh4:
	ldr	x8, [x8, _widgets_moving@GOTPAGEOFF]
	mov	w9, #1
Lloh5:
	str	w9, [x8]
	mov	x20, x0
	str	w9, [x20], #8
Lloh6:
	adrp	x8, _msg_queue_kill@GOTPAGE
Lloh7:
	ldr	x8, [x8, _msg_queue_kill@GOTPAGEOFF]
Lloh8:
	str	w19, [x8]
	str	xzr, [sp, #32]
Lloh9:
	adrp	x8, _MSG_QUEUE_ANIMATION_DURATION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_QUEUE_ANIMATION_DURATION@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _EASING_OUT_QUAD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EASING_OUT_QUAD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #40]
	str	xzr, [sp, #24]
	str	x0, [sp]
	ldr	s0, [x0, #4]!
	str	x0, [sp, #8]
Lloh15:
	adrp	x8, _msg_queue_height@GOTPAGE
Lloh16:
	ldr	x8, [x8, _msg_queue_height@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	scvtf	s1, w8
	fsub	s0, s0, s1
	str	s0, [sp, #16]
	mov	x0, sp
	bl	_menu_animation_push
Lloh18:
	adrp	x8, _menu_widgets_msg_queue_kill_end@GOTPAGE
Lloh19:
	ldr	x8, [x8, _menu_widgets_msg_queue_kill_end@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	str	x20, [sp, #8]
	str	wzr, [sp, #16]
	mov	x0, sp
	bl	_menu_animation_push
	bl	_menu_widgets_msg_queue_move
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_current_msgs,4,2               ; @current_msgs
	.comm	_widgets_moving,4,2             ; @widgets_moving
	.comm	_msg_queue_kill,4,2             ; @msg_queue_kill
	.comm	_MSG_QUEUE_ANIMATION_DURATION,4,2 ; @MSG_QUEUE_ANIMATION_DURATION
	.comm	_EASING_OUT_QUAD,4,2            ; @EASING_OUT_QUAD
	.comm	_msg_queue_height,4,2           ; @msg_queue_height
	.comm	_menu_widgets_msg_queue_kill_end,8,3 ; @menu_widgets_msg_queue_kill_end
	.no_dead_strip	_menu_widgets_msg_queue_kill
.subsections_via_symbols
