	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function real_auto_size
_real_auto_size:                        ## @real_auto_size
	.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	%r9d, -72(%rbp)                 ## 4-byte Spill
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	_dialog_vars@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rax)
	movl	$2, %r15d
	cmovnel	(%rax), %r15d
	movl	$1, %r14d
	cmovnel	4(%rax), %r14d
	testq	%rdi, %rdi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	callq	_dlg_count_columns
	movq	%rbx, %rsi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_3
LBB0_1:
	movq	%rdx, %r8
	xorl	%eax, %eax
LBB0_3:
	movl	(%r8), %r9d
	movl	(%r12), %ebx
	movl	%r9d, %r10d
	movl	%ebx, %edi
	testq	%rsi, %rsi
	jne	LBB0_8
## %bb.4:
	movl	%r9d, %r10d
	movl	%ebx, %edi
	testl	%r9d, %r9d
	je	LBB0_5
## %bb.6:
	testl	%edi, %edi
	je	LBB0_7
LBB0_8:
	movq	_SLINES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	subl	%r14d, %r13d
	testl	%r10d, %r10d
	cmovgl	%r10d, %r13d
	testl	%edi, %edi
	jg	LBB0_15
## %bb.9:
	testq	%rsi, %rsi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_14
## %bb.10:
	movl	%r10d, -68(%rbp)                ## 4-byte Spill
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movl	%eax, %r14d
	movl	%eax, %edi
	movq	%rsi, %r15
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	_MAX
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%r15, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_auto_size_preformatted
	jmp	LBB0_13
LBB0_5:
	movl	$-1, (%r8)
	movl	(%r12), %edi
	movl	$-1, %r10d
	testl	%edi, %edi
	jne	LBB0_8
LBB0_7:
	movl	$-1, (%r12)
	movl	(%r8), %r10d
	movl	$-1, %edi
	jmp	LBB0_8
LBB0_14:
	movq	_SCOLS@GOTPCREL(%rip), %rcx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%rcx), %ecx
	subl	%r15d, %ecx
	xorl	%edi, %edi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	%r13d, %edx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	%r9d, %r14d
	movq	%r12, %r9
	movl	%r10d, %r15d
	callq	_justify_text
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%r15d, %r10d
	movl	%r14d, %r9d
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_15
LBB0_11:
	movq	_dialog_state@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_dlg_count_real_columns
	mulsd	-80(%rbp), %xmm0                ## 8-byte Folded Reload
	sqrtsd	%xmm0, %xmm0
	cvttsd2si	%xmm0, %esi
	movl	%ebx, %edi
	callq	_MAX
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_longest_word
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MAX
	xorl	%edi, %edi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r12, %r9
	callq	_justify_text
LBB0_13:
	movq	%rbx, %r8
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movq	%r15, %rsi
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	movl	-68(%rbp), %r10d                ## 4-byte Reload
	movl	%r14d, %eax
LBB0_15:
	cmpl	%eax, (%r12)
	jge	LBB0_17
## %bb.16:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	movq	%rsi, %r15
	movl	%r13d, %edx
	movl	%eax, %r13d
	movl	%eax, %ecx
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	%r9d, %ebx
	movq	%r12, %r9
	movl	%r10d, %r14d
	callq	_justify_text
	movl	%r14d, %r10d
	movl	%ebx, %r9d
	movq	%r15, %rsi
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	%r13d, (%r12)
LBB0_17:
	movl	(%r8), %eax
	movq	_dialog_state@GOTPCREL(%rip), %rcx
	movl	%eax, 8(%rcx)
	movl	(%r12), %eax
	movl	%eax, 12(%rcx)
	movl	(%r12), %eax
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, %eax
	jge	LBB0_20
## %bb.18:
	testl	%ebx, %ebx
	jne	LBB0_20
## %bb.19:
	movl	%ecx, (%r12)
	movl	%ecx, %eax
LBB0_20:
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.21:
	movq	_MARGIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	addl	%edx, %edx
	movq	_SHADOW_COLS@GOTPCREL(%rip), %rsi
	addl	(%rsi), %edx
	addl	%eax, %edx
	movl	%edx, (%r12)
	movl	(%rcx), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rax,2), %eax
	addl	%eax, (%r8)
LBB0_22:
	testl	%r9d, %r9d
	jle	LBB0_24
## %bb.23:
	movl	%r9d, (%r8)
LBB0_24:
	testl	%ebx, %ebx
	jle	LBB0_26
## %bb.25:
	movl	%ebx, (%r12)
LBB0_26:
	testl	%r10d, %r10d
	movq	_dialog_vars@GOTPCREL(%rip), %rdx
	js	LBB0_27
## %bb.30:
	testl	%edi, %edi
	jns	LBB0_34
	jmp	LBB0_31
LBB0_27:
	movq	_SLINES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	cmpq	$0, 8(%rdx)
	je	LBB0_29
## %bb.28:
	movl	4(%rdx), %ecx
LBB0_29:
	subl	%ecx, %eax
	movl	%eax, (%r8)
	testl	%edi, %edi
	jns	LBB0_34
LBB0_31:
	movq	_SCOLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	cmpq	$0, 8(%rdx)
	je	LBB0_33
## %bb.32:
	movl	(%rdx), %ecx
LBB0_33:
	subl	%ecx, %eax
	movl	%eax, (%r12)
LBB0_34:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dialog_vars,16,3               ## @dialog_vars
	.comm	_SLINES,4,2                     ## @SLINES
	.comm	_dialog_state,16,3              ## @dialog_state
	.comm	_SCOLS,4,2                      ## @SCOLS
	.comm	_MARGIN,4,2                     ## @MARGIN
	.comm	_SHADOW_COLS,8,3                ## @SHADOW_COLS
	.no_dead_strip	_real_auto_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function real_auto_size
_real_auto_size:                        ; @real_auto_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x23, x5
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
Lloh0:
	adrp	x10, _dialog_vars@GOTPAGE
Lloh1:
	ldr	x10, [x10, _dialog_vars@GOTPAGEOFF]
	ldr	x8, [x10, #8]
	cmp	x8, #0
	mov	w8, #2
	ldp	w9, w10, [x10]
	csel	w8, w8, w9, eq
	csinc	w25, w10, wzr, ne
	stp	w8, w4, [sp, #8]                ; 8-byte Folded Spill
	cbz	x0, LBB0_2
; %bb.1:
	bl	_dlg_count_columns
	mov	x24, x0
	b	LBB0_3
LBB0_2:
	mov	w24, #0
LBB0_3:
	ldr	w27, [x20]
	ldr	w28, [x19]
	mov	x21, x27
	mov	x26, x28
	cbnz	x22, LBB0_6
; %bb.4:
	mov	x21, x27
	mov	x26, x28
	cbz	w27, LBB0_10
; %bb.5:
	cbz	w26, LBB0_11
LBB0_6:
Lloh2:
	adrp	x8, _SLINES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SLINES@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sub	w8, w8, w25
	cmp	w21, #0
	csel	w25, w21, w8, gt
Lloh5:
	adrp	x9, _dialog_state@GOTPAGE
Lloh6:
	ldr	x9, [x9, _dialog_state@GOTPAGEOFF]
	cmp	w26, #0
	b.gt	LBB0_16
; %bb.7:
	cbz	x22, LBB0_12
; %bb.8:
	mov	x0, x24
	mov	x1, x23
	bl	_MAX
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x22
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.9:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_auto_size_preformatted
	b	LBB0_15
LBB0_10:
	mov	w21, #-1
	str	w21, [x20]
	ldr	w26, [x19]
	cbnz	w26, LBB0_6
LBB0_11:
	mov	w26, #-1
	str	w26, [x19]
	ldr	w21, [x20]
	b	LBB0_6
LBB0_12:
Lloh7:
	adrp	x8, _SCOLS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SCOLS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	sub	w3, w8, w9
	mov	x0, #0
	mov	x1, #0
	b	LBB0_14
LBB0_13:
Lloh10:
	adrp	x8, _dialog_state@GOTPAGE
Lloh11:
	ldr	x8, [x8, _dialog_state@GOTPAGEOFF]
Lloh12:
	ldr	d8, [x8]
	mov	x0, x22
	bl	_dlg_count_real_columns
	fmul	d0, d8, d0
	fsqrt	d0, d0
	fcvtzs	w1, d0
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	bl	_MAX
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x22
	bl	_longest_word
	mov	x1, x0
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	bl	_MAX
	mov	x3, x0
	mov	x0, #0
	mov	x1, x22
LBB0_14:
	mov	x2, x25
	mov	x4, x20
	mov	x5, x19
	bl	_justify_text
LBB0_15:
Lloh13:
	adrp	x9, _dialog_state@GOTPAGE
Lloh14:
	ldr	x9, [x9, _dialog_state@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x19]
	cmp	w8, w24
	b.ge	LBB0_18
; %bb.17:
	mov	x0, #0
	mov	x1, x22
	mov	x2, x25
	mov	x3, x24
	mov	x4, x20
	mov	x5, x19
	mov	x25, x9
	bl	_justify_text
	mov	x9, x25
	str	w24, [x19]
LBB0_18:
	ldr	w8, [x20]
	str	w8, [x9, #8]
	ldr	w8, [x19]
	str	w8, [x9, #12]
	ldr	w8, [x19]
	cmp	w8, w23
	b.ge	LBB0_21
; %bb.19:
	cbnz	w28, LBB0_21
; %bb.20:
	str	w23, [x19]
	mov	x8, x23
LBB0_21:
	cbz	x22, LBB0_23
; %bb.22:
Lloh15:
	adrp	x9, _MARGIN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MARGIN@GOTPAGEOFF]
	ldr	w10, [x9]
Lloh17:
	adrp	x11, _SHADOW_COLS@GOTPAGE
Lloh18:
	ldr	x11, [x11, _SHADOW_COLS@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	add	w10, w11, w10, lsl #1
	add	w8, w10, w8
	str	w8, [x19]
	ldr	w8, [x9]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	w8, w9, w8, lsl #1
	ldr	w9, [x20]
	add	w8, w8, w9
	str	w8, [x20]
LBB0_23:
	cmp	w27, #1
	b.lt	LBB0_25
; %bb.24:
	str	w27, [x20]
LBB0_25:
	cmp	w28, #1
	b.lt	LBB0_27
; %bb.26:
	str	w28, [x19]
LBB0_27:
	tbnz	w21, #31, LBB0_31
; %bb.28:
	tbz	w26, #31, LBB0_30
LBB0_29:
Lloh20:
	adrp	x8, _SCOLS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SCOLS@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x10, _dialog_vars@GOTPAGE
Lloh24:
	ldr	x10, [x10, _dialog_vars@GOTPAGEOFF]
	ldr	x9, [x10, #8]
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	sub	w8, w8, w9
	str	w8, [x19]
LBB0_30:
	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
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_31:
Lloh25:
	adrp	x8, _SLINES@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SLINES@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x10, _dialog_vars@GOTPAGE
Lloh29:
	ldr	x10, [x10, _dialog_vars@GOTPAGEOFF]
	ldr	x9, [x10, #8]
	ldr	w10, [x10, #4]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	sub	w8, w8, w9
	str	w8, [x20]
	tbz	w26, #31, LBB0_30
	b	LBB0_29
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_dialog_vars,16,3               ; @dialog_vars
	.comm	_SLINES,4,2                     ; @SLINES
	.comm	_dialog_state,16,3              ; @dialog_state
	.comm	_SCOLS,4,2                      ; @SCOLS
	.comm	_MARGIN,4,2                     ; @MARGIN
	.comm	_SHADOW_COLS,8,3                ; @SHADOW_COLS
	.no_dead_strip	_real_auto_size
.subsections_via_symbols
