	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_widgets_msg_queue_move
_menu_widgets_msg_queue_move:           ## @menu_widgets_msg_queue_move
	.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
	movq	_current_msgs@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movl	(%rdi), %ebx
	testl	%ebx, %ebx
	jle	LBB0_11
## %bb.1:
	decl	%ebx
	xorps	%xmm0, %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	movq	_msg_queue_spacing@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rbx), %r13d
	movl	%ebx, %esi
	callq	_file_list_get_userdata_at_offset
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rcx
	cmpq	$0, 16(%rax)
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_msg_queue_height@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	$1, 8(%rcx)
	movl	$2, %esi
	sbbl	$0, %esi
	cltd
	idivl	%esi
	cltq
	addq	(%r14), %rax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	cmpl	$0, 4(%rcx)
	cmoveq	%rcx, %r12
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	jne	LBB0_5
	jnp	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_menu_widgets_move_end@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -56(%rbp)
	movq	_MSG_QUEUE_ANIMATION_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_EASING_OUT_QUAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%rcx, -96(%rbp)
	movq	%rcx, -88(%rbp)
	movss	%xmm1, -80(%rbp)
	movq	%r12, -72(%rbp)
	leaq	-96(%rbp), %rdi
	callq	_menu_animation_push
	movq	_widgets_moving@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %r13d
	jb	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdi
	decl	%ebx
	jmp	LBB0_2
LBB0_11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_msgs,8,3               ## @current_msgs
	.comm	_msg_queue_height,4,2           ## @msg_queue_height
	.comm	_msg_queue_spacing,8,3          ## @msg_queue_spacing
	.comm	_menu_widgets_move_end,8,3      ## @menu_widgets_move_end
	.comm	_MSG_QUEUE_ANIMATION_DURATION,4,2 ## @MSG_QUEUE_ANIMATION_DURATION
	.comm	_EASING_OUT_QUAD,4,2            ## @EASING_OUT_QUAD
	.comm	_widgets_moving,4,2             ## @widgets_moving
	.no_dead_strip	_menu_widgets_msg_queue_move
.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_move
_menu_widgets_msg_queue_move:           ; @menu_widgets_msg_queue_move
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x20, _current_msgs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _current_msgs@GOTPAGEOFF]
	ldr	x0, [x20]
	ldr	w8, [x0]
	subs	w19, w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x21, #0
Lloh2:
	adrp	x22, _msg_queue_height@GOTPAGE
Lloh3:
	ldr	x22, [x22, _msg_queue_height@GOTPAGEOFF]
	movi	d8, #0000000000000000
	mov	w23, #1
Lloh4:
	adrp	x24, _msg_queue_spacing@GOTPAGE
Lloh5:
	ldr	x24, [x24, _msg_queue_spacing@GOTPAGEOFF]
Lloh6:
	adrp	x25, _menu_widgets_move_end@GOTPAGE
Lloh7:
	ldr	x25, [x25, _menu_widgets_move_end@GOTPAGEOFF]
Lloh8:
	adrp	x26, _MSG_QUEUE_ANIMATION_DURATION@GOTPAGE
Lloh9:
	ldr	x26, [x26, _MSG_QUEUE_ANIMATION_DURATION@GOTPAGEOFF]
Lloh10:
	adrp	x27, _EASING_OUT_QUAD@GOTPAGE
Lloh11:
	ldr	x27, [x27, _EASING_OUT_QUAD@GOTPAGEOFF]
Lloh12:
	adrp	x28, _widgets_moving@GOTPAGE
Lloh13:
	ldr	x28, [x28, _widgets_moving@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x19
	bl	_file_list_get_userdata_at_offset
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	ldr	x9, [x0, #8]
	cmp	x9, #0
	cinc	w9, w23, ne
	sdiv	w8, w8, w9
	ldr	x9, [x24]
	add	x8, x9, w8, sxtw
	scvtf	s0, x8
	fadd	s8, s8, s0
	ldr	w8, [x0, #4]
	cmp	w8, #0
	csel	x21, x0, x21, eq
	ldr	s0, [x0]
	fcmp	s0, s8
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25]
	cmp	w19, #0
	csel	x8, x8, xzr, eq
	str	x8, [sp, #40]
	ldr	w8, [x26]
	ldr	w9, [x27]
	stp	w9, w8, [sp, #32]
	stp	x0, x0, [sp]
	str	s8, [sp, #16]
	str	x21, [sp, #24]
	mov	x0, sp
	bl	_menu_animation_push
	str	w23, [x28]
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w19, #1
	cmp	w8, #2
	b.lo	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20]
	sub	w19, w19, #1
	b	LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_current_msgs,8,3               ; @current_msgs
	.comm	_msg_queue_height,4,2           ; @msg_queue_height
	.comm	_msg_queue_spacing,8,3          ; @msg_queue_spacing
	.comm	_menu_widgets_move_end,8,3      ; @menu_widgets_move_end
	.comm	_MSG_QUEUE_ANIMATION_DURATION,4,2 ; @MSG_QUEUE_ANIMATION_DURATION
	.comm	_EASING_OUT_QUAD,4,2            ; @EASING_OUT_QUAD
	.comm	_widgets_moving,4,2             ; @widgets_moving
	.no_dead_strip	_menu_widgets_msg_queue_move
.subsections_via_symbols
