	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function justify_text
_justify_text:                          ## @justify_text
	.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	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movq	%rdi, %r12
	movq	_A_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_MARGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	(%rbx,%rbx), %r15d
	movl	%r15d, -44(%rbp)
	xorps	%xmm0, %xmm0
	movq	_dialog_state@GOTPCREL(%rip), %rax
	movups	%xmm0, 8(%rax)
	xorl	%ecx, %ecx
	movq	(%rax), %rax
	orq	%rdi, %rax
	cmovnel	%r15d, %ecx
	subl	%ecx, %r14d
	testq	%rsi, %rsi
	leaq	L_.str(%rip), %r13
	cmovneq	%rsi, %r13
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	callq	_getyx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
LBB0_2:
	movl	$2, %eax
	cmpl	%r14d, %ebx
	jle	LBB0_3
LBB0_26:
	movl	%eax, %r14d
	testq	%r12, %r12
	je	LBB0_28
## %bb.27:
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wmove
LBB0_28:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movl	%ebx, (%rax)
LBB0_30:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movl	%r14d, (%rax)
LBB0_32:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	subl	%ecx, -48(%rbp)                 ## 4-byte Folded Spill
	movl	$2, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_wmove
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_MAX
	cmpl	%r14d, %ebx
	jg	LBB0_26
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	cmpb	$0, (%r13)
	je	LBB0_26
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r15d, -44(%rbp)
	movb	(%r13), %al
	cmpb	$10, %al
	jne	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r14d, %ebx
	jge	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13), %eax
	testb	%al, %al
	je	LBB0_25
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	incl	%ebx
	testq	%r12, %r12
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_wmove
	movzbl	(%r13), %eax
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%r13
	cmpb	$10, %al
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=2
	cmpl	%r14d, %ebx
	jl	LBB0_8
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	decq	%r13
	testb	%al, %al
	je	LBB0_22
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	leaq	-44(%rbp), %r9
	callq	_dlg_print_line
	movq	%rax, %r13
	testq	%r12, %r12
	jne	LBB0_17
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, (%r13)
	jne	LBB0_23
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%r12, %r12
	je	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_wmove
	cmpb	$0, (%r13)
	je	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	leaq	-44(%rbp), %r9
	callq	_dlg_print_line
	movq	%rax, %r13
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_getyx
	cmpb	$0, (%r13)
	je	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	jmp	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	%al, %al
	je	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	leaq	-44(%rbp), %r9
	callq	_dlg_print_line
	movq	%rax, %r13
	cmpb	$0, (%r13)
	je	LBB0_25
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	testq	%r12, %r12
	jne	LBB0_24
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_A_NORMAL,4,2                   ## @A_NORMAL
	.comm	_MARGIN,4,2                     ## @MARGIN
	.comm	_dialog_state,24,3              ## @dialog_state
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_justify_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function justify_text
_justify_text:                          ; @justify_text
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x5
	mov	x20, x4
	mov	x24, x3
	mov	x22, x0
Lloh0:
	adrp	x8, _A_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _A_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _MARGIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MARGIN@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	lsl	w23, w21, #1
Lloh6:
	adrp	x8, _dialog_state@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dialog_state@GOTPAGEOFF]
	str	w23, [sp, #8]
	stp	xzr, xzr, [x8, #8]
	ldr	x8, [x8]
	orr	x8, x0, x8
	cmp	x8, #0
	csel	w26, w23, wzr, ne
	sub	w27, w2, w26
Lloh8:
	adrp	x8, l_.str@PAGE
Lloh9:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x1, #0
	csel	x25, x8, x1, eq
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	w1, #0
	mov	w2, #0
	bl	_getyx
LBB0_2:
	cmp	w21, w27
	b.le	LBB0_11
; %bb.3:
	mov	w24, #2
LBB0_4:
	cbz	x22, LBB0_6
; %bb.5:
	mov	x0, x22
	mov	w1, #0
	mov	w2, #0
	bl	_wmove
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	str	w21, [x20]
LBB0_8:
	cbz	x19, LBB0_10
; %bb.9:
	str	w24, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	sub	w26, w24, w26
	mov	w24, #2
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_wmove
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w1, [sp, #8]
	mov	x0, x24
	bl	_MAX
	mov	x24, x0
	cmp	w21, w27
	b.gt	LBB0_4
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldrb	w8, [x25]
	cbz	w8, LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	str	w23, [sp, #8]
	ldrb	w8, [x25]
	cmp	w8, #10
	b.ne	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w21, w27
	b.ge	LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x25, x25, #1
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x25, x25, #1
	cmp	w8, #10
	ccmp	w21, w27, #0, eq
	b.ge	LBB0_27
LBB0_19:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x25]
	cbz	w8, LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	add	w21, w21, #1
	cbz	x22, LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=2
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_wmove
	ldrb	w8, [x25]
	b	LBB0_18
LBB0_22:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	x22, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_wmove
	ldrb	w8, [x25]
	cbz	w8, LBB0_13
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x1, sp, #12
	add	x5, sp, #8
	mov	x0, x22
	mov	x2, x25
	mov	x3, x23
	mov	x4, x26
	bl	_dlg_print_line
	mov	x25, x0
	b	LBB0_29
LBB0_25:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	w8, LBB0_13
; %bb.26:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x1, sp, #12
	add	x5, sp, #8
	mov	x0, #0
	mov	x2, x25
	mov	x3, x23
	mov	x4, x26
	bl	_dlg_print_line
	mov	x25, x0
	b	LBB0_31
LBB0_27:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x25, x25, #1
	cbz	w8, LBB0_31
LBB0_28:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x1, sp, #12
	add	x5, sp, #8
	mov	x0, x22
	mov	x2, x25
	mov	x3, x23
	mov	x4, x26
	bl	_dlg_print_line
	mov	x25, x0
	cbz	x22, LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	mov	w1, #0
	mov	w2, #0
	bl	_getyx
	ldrb	w8, [x25]
	cbz	w8, LBB0_13
; %bb.30:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w21, w21, #1
	b	LBB0_12
LBB0_31:                                ;   in Loop: Header=BB0_14 Depth=1
	ldrb	w8, [x25]
	cbz	w8, LBB0_13
; %bb.32:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w21, w21, #1
	cbnz	x22, LBB0_12
	b	LBB0_13
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_A_NORMAL,4,2                   ; @A_NORMAL
	.comm	_MARGIN,4,2                     ; @MARGIN
	.comm	_dialog_state,24,3              ; @dialog_state
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_justify_text
.subsections_via_symbols
