	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function auto_size_preformatted
LCPI0_0:
	.long	0x40800000                      ## float 4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_auto_size_preformatted:                ## @auto_size_preformatted
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	movq	_SLINES@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	decl	%r13d
	movq	_SCOLS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$-2, %ebx
	movq	_dialog_state@GOTPCREL(%rip), %rax
	cvtsi2ssl	(%rax), %xmm0
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	leaq	-48(%rbp), %r8
	leaq	-44(%rbp), %r9
	xorl	%edi, %edi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	callq	_justify_text
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movl	-44(%rbp), %ecx
	movl	-48(%rbp), %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	ucomiss	%xmm1, %xmm0
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jbe	LBB0_6
## %bb.1:
	divss	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ss	%ecx, %xmm1
	divss	%xmm0, %xmm1
	addss	LCPI0_0(%rip), %xmm1
	cvttss2si	%xmm1, %r14d
	leaq	-48(%rbp), %r8
	leaq	-44(%rbp), %r9
	xorl	%edi, %edi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	callq	_justify_text
	movl	-44(%rbp), %ecx
	movl	-48(%rbp), %esi
	cmpl	%r14d, %ebx
	jle	LBB0_6
## %bb.2:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%ecx, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ss	%esi, %xmm1
	divss	%xmm1, %xmm0
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_6
## %bb.3:
	addl	$4, %r14d
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	leaq	-48(%rbp), %r8
	movq	%r15, %r9
	callq	_justify_text
	movl	-44(%rbp), %ecx
	movl	-48(%rbp), %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	cmpl	%ebx, %r14d
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	addl	$4, %r14d
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	ja	LBB0_4
LBB0_6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%esi, (%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLINES,4,2                     ## @SLINES
	.comm	_SCOLS,4,2                      ## @SCOLS
	.comm	_dialog_state,4,2               ## @dialog_state
	.no_dead_strip	_auto_size_preformatted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auto_size_preformatted
_auto_size_preformatted:                ; @auto_size_preformatted
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _SLINES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SLINES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SCOLS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCOLS@GOTPAGEOFF]
	sub	w22, w8, #1
Lloh5:
	ldr	w8, [x9]
	sub	w23, w8, #2
Lloh6:
	adrp	x8, _dialog_state@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dialog_state@GOTPAGEOFF]
Lloh8:
	ldr	s8, [x8]
	add	x4, sp, #12
	add	x5, sp, #8
	mov	x0, #0
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_justify_text
	ldp	w8, w9, [sp, #8]
	sdiv	w10, w8, w9
	scvtf	s0, w10
	scvtf	s8, s8
	fcmp	s0, s8
	b.le	LBB0_5
; %bb.1:
	scvtf	s1, w8
	fdiv	s0, s0, s8
	fdiv	s0, s1, s0
	fmov	s1, #4.00000000
	fadd	s0, s0, s1
	fcvtzs	w24, s0
	add	x4, sp, #12
	add	x5, sp, #8
	mov	x0, #0
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	bl	_justify_text
	ldp	w8, w9, [sp, #8]
	scvtf	s0, w8
	scvtf	s1, w9
	fdiv	s0, s0, s1
	cmp	w23, w24
	fccmp	s0, s8, #0, gt
	b.pl	LBB0_5
; %bb.2:
	add	w24, w24, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x4, sp, #12
	add	x5, sp, #8
	mov	x0, #0
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	bl	_justify_text
	ldp	w8, w9, [sp, #8]
	cmp	w24, w23
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sdiv	w10, w8, w9
	scvtf	s0, w10
	add	w24, w24, #4
	fcmp	s0, s8
	b.mi	LBB0_3
LBB0_5:
	str	w9, [x20]
	str	w8, [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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SLINES,4,2                     ; @SLINES
	.comm	_SCOLS,4,2                      ; @SCOLS
	.comm	_dialog_state,4,2               ; @dialog_state
	.no_dead_strip	_auto_size_preformatted
.subsections_via_symbols
