	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScreenManager_resize           ## -- Begin function ScreenManager_resize
	.p2align	4, 0x90
_ScreenManager_resize:                  ## @ScreenManager_resize
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%esi, (%rdi)
	movl	%edx, 4(%rdi)
	movl	%ecx, 8(%rdi)
	movl	%r8d, 12(%rdi)
	movq	24(%rdi), %rax
	movq	_HORIZONTAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movl	%r8d, %r15d
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movl	16(%rdi), %eax
	leal	-1(%rax), %esi
	cmpl	$1, %eax
	jle	LBB0_2
## %bb.4:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	subl	%r14d, %r15d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	32(%rbx), %edi
	movl	%esi, %r13d
	movl	%r14d, %esi
	callq	_Vector_get
	movq	%rax, %r15
	movl	(%rax), %esi
	movq	_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	movq	%r15, %rdi
	callq	_Panel_resize
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_Panel_move
	movl	%r13d, %esi
	movl	(%r15), %eax
	movl	4(%r15), %ecx
	leal	(%rcx,%rax), %r12d
	incl	%r12d
	incl	%r14d
	cmpl	%r14d, %esi
	jne	LBB0_5
## %bb.6:
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_3
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	subl	%r14d, %r15d
	xorl	%r12d, %r12d
LBB0_3:
	movl	32(%rbx), %edi
	callq	_Vector_get
	movq	_COLS@GOTPCREL(%rip), %rcx
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	addl	%r12d, %edx
	subl	%edx, %r13d
	addl	(%rcx), %r13d
	movq	%rax, %rbx
	movq	_LINES@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_Panel_resize
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Panel_move                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HORIZONTAL,8,3                 ## @HORIZONTAL
	.comm	_LINES,4,2                      ## @LINES
	.comm	_COLS,4,2                       ## @COLS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScreenManager_resize           ; -- Begin function ScreenManager_resize
	.p2align	2
_ScreenManager_resize:                  ; @ScreenManager_resize
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	stp	w1, w2, [x0]
	stp	w3, w4, [x0, #8]
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _HORIZONTAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HORIZONTAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w8, [x0, #16]
Lloh3:
	adrp	x27, _LINES@GOTPAGE
Lloh4:
	ldr	x27, [x27, _LINES@GOTPAGEOFF]
	mov	w23, #0
	subs	w24, w8, #1
	b.le	LBB0_5
; %bb.2:
	mov	w25, #0
	sub	w28, w4, w19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #32]
	mov	x1, x25
	bl	_Vector_get
	mov	x26, x0
	ldr	w1, [x0]
	ldr	w8, [x27]
	add	w2, w28, w8
	bl	_Panel_resize
	mov	x0, x26
	mov	x1, x23
	mov	x2, x19
	bl	_Panel_move
	ldp	w9, w8, [x26]
	add	w8, w8, w9
	add	w23, w8, #1
	add	w25, w25, #1
	cmp	w24, w25
	b.ne	LBB0_3
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	sub	w28, w4, w19
LBB0_6:
	ldr	w0, [x22, #32]
	mov	x1, x24
	bl	_Vector_get
	mov	x22, x0
Lloh5:
	adrp	x8, _COLS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COLS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w9, w23, w21
	sub	w9, w20, w9
	add	w1, w9, w8
	ldr	w8, [x27]
	add	w2, w28, w8
	bl	_Panel_resize
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_Panel_move
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HORIZONTAL,8,3                 ; @HORIZONTAL
	.comm	_LINES,4,2                      ; @LINES
	.comm	_COLS,4,2                       ; @COLS
.subsections_via_symbols
