	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_show_string                ## -- Begin function dlg_show_string
	.p2align	4, 0x90
_dlg_show_string:                       ## @dlg_show_string
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movl	32(%rbp), %r15d
	movl	24(%rbp), %r13d
	movl	16(%rbp), %r14d
	addl	%r9d, %r14d
	callq	_getmaxx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_MIN
	movl	%eax, %r14d
	movq	_dialog_vars@GOTPCREL(%rip), %rax
	movl	%r13d, -88(%rbp)                ## 4-byte Spill
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.1:
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.2:
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.3:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	callq	_wmove
	movq	%rbx, %rdi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wrefresh                       ## TAILCALL
LBB0_4:
	subl	%r12d, %r14d
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dlg_index_columns
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_dlg_index_wchars
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_dlg_count_wchars
	movl	%eax, %r13d
	leaq	-92(%rbp), %rcx
	leaq	-52(%rbp), %r8
	movq	%r15, %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_compute_edit_offset
	movsbl	-64(%rbp), %esi                 ## 1-byte Folded Reload
	movq	%rbx, %rdi
	callq	_dlg_attrset
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	callq	_wmove
	movslq	-52(%rbp), %rsi
	xorl	%r15d, %r15d
	cmpl	%r13d, %esi
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
	jge	LBB0_11
## %bb.5:
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.6:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx,%rsi,4), %eax
	subl	(%rcx,%rsi,4), %eax
	cmpl	%r14d, %eax
	jg	LBB0_11
## %bb.7:
	movslq	%r13d, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	leaq	1(%rsi), %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rsi,4), %rdx
	addq	$4, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##       Child Loop BB0_22 Depth 3
	movq	%rcx, %r12
	movl	%eax, %r15d
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movslq	(%rax,%rsi,4), %r13
	cmpl	(%rax,%rcx,4), %r13d
	jl	LBB0_17
LBB0_8:                                 ##   in Loop: Header=BB0_16 Depth=1
	cmpq	-120(%rbp), %r12                ## 8-byte Folded Reload
	jge	LBB0_9
## %bb.14:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	cmpl	%r14d, %r15d
	jge	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=1
	movslq	-52(%rbp), %rdx
	leaq	1(%r12), %rcx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%r12,4), %rax
	addq	$4, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	4(%rsi,%r12,4), %eax
	subl	(%rsi,%rdx,4), %eax
	movq	%r12, %rsi
	cmpl	%r14d, %eax
	jle	LBB0_16
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=2
	movsbl	%cl, %esi
	movq	%rbx, %rdi
	callq	_waddch
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=2
	incq	%r13
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movslq	(%rax,%r12,4), %rax
	cmpq	%rax, %r13
	jge	LBB0_8
LBB0_17:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_22 Depth 3
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movsbl	(%rax,%r13), %edi
	callq	_UCH
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movb	$42, %cl
	movq	_dialog_vars@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	jne	LBB0_23
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=2
	movl	%eax, %ecx
	movq	_TAB@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %al
	jne	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	subl	(%rax,%rcx,4), %r14d
	jle	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=2
	incl	%r14d
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_16 Depth=1
                                        ##     Parent Loop BB0_17 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_waddch
	decl	%r14d
	cmpl	$1, %r14d
	ja	LBB0_22
	jmp	LBB0_24
LBB0_9:
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%r15d
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_waddch
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, %r15d
	jl	LBB0_10
## %bb.12:
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	addl	-92(%rbp), %edx
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_wmove
	movq	%rbx, %rdi
	callq	_wrefresh
LBB0_13:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dialog_vars,8,3                ## @dialog_vars
	.comm	_TAB,1,0                        ## @TAB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_show_string                ; -- Begin function dlg_show_string
	.p2align	2
_dlg_show_string:                       ; @dlg_show_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x23, x7
	mov	x25, x5
	mov	x22, x4
	mov	x27, x3
	mov	x28, x2
	mov	x24, x1
	mov	x19, x0
	ldr	w21, [x29, #16]
	add	w20, w6, w5
	bl	_getmaxx
	mov	x1, x0
	mov	x0, x20
	bl	_MIN
Lloh0:
	adrp	x8, _dialog_vars@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dialog_vars@GOTPAGEOFF]
	cbz	w23, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	cbnz	x8, LBB0_4
; %bb.2:
	cbz	w21, LBB0_26
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x25
	bl	_wmove
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_wrefresh
LBB0_4:
	sub	w21, w0, w25
	mov	x0, x24
	bl	_dlg_index_columns
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	mov	x0, x24
	bl	_dlg_index_wchars
	mov	x26, x0
	mov	x0, x24
	bl	_dlg_count_wchars
	mov	x20, x0
	add	x3, sp, #44
	add	x4, sp, #40
	mov	x0, x24
	mov	x1, x28
	mov	x2, x21
	bl	_compute_edit_offset
	mov	x0, x19
	mov	x1, x27
	bl	_dlg_attrset
	mov	x0, x19
	stp	w25, w22, [sp, #12]             ; 8-byte Folded Spill
	mov	x1, x22
	mov	x2, x25
	bl	_wmove
	mov	w27, #0
	ldrsw	x22, [sp, #40]
	cmp	w22, w20
	b.ge	LBB0_24
; %bb.5:
	cmp	w21, #1
	b.lt	LBB0_24
; %bb.6:
	mov	x11, x20
	add	x8, x22, #1
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	add	x20, x10, x8, lsl #2
	ldr	w9, [x20]
	ldr	w10, [x10, x22, lsl #2]
	sub	w9, w9, w10
	cmp	w9, w21
	b.le	LBB0_8
; %bb.7:
	mov	w27, #0
	b	LBB0_24
LBB0_8:
	sxtw	x10, w11
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	str	w21, [sp, #20]                  ; 4-byte Folded Spill
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;       Child Loop BB0_21 Depth 3
	mov	x28, x8
	mov	x27, x9
	ldrsw	x21, [x26, x22, lsl #2]
	ldr	w8, [x26, x8, lsl #2]
	cmp	w21, w8
	b.lt	LBB0_16
LBB0_10:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x28, x8
	b.ge	LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w21, [sp, #20]                  ; 4-byte Folded Reload
	cmp	w27, w21
	b.ge	LBB0_24
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrsw	x9, [sp, #40]
	add	x8, x28, #1
	ldr	x11, [sp, #32]                  ; 8-byte Folded Reload
	add	x20, x11, x8, lsl #2
	ldr	w10, [x20]
	ldr	w9, [x11, x9, lsl #2]
	sub	w9, w10, w9
	cmp	w9, w21
	mov	x22, x28
	b.le	LBB0_9
	b	LBB0_24
LBB0_13:                                ;   in Loop: Header=BB0_16 Depth=2
	mov	w1, #42
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x19
	bl	_waddch
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	x21, x21, #1
	ldrsw	x8, [x26, x28, lsl #2]
	cmp	x21, x8
	b.ge	LBB0_10
LBB0_16:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_21 Depth 3
	ldrsb	w0, [x24, x21]
	bl	_UCH
	mov	x1, x0
	cbz	w23, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
Lloh2:
	adrp	x8, _dialog_vars@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dialog_vars@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbnz	x8, LBB0_13
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=2
Lloh5:
	adrp	x8, _TAB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TAB@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w1, uxtb
	b.ne	LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w8, [x20]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w9, [x9, x22, lsl #2]
	sub	w8, w8, w9
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=2
	add	w25, w8, #1
LBB0_21:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_16 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x19
	mov	w1, #32
	bl	_waddch
	sub	w25, w25, #1
	cmp	w25, #1
	b.hi	LBB0_21
	b	LBB0_15
LBB0_22:
	ldr	w21, [sp, #20]                  ; 4-byte Folded Reload
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	w27, w27, #1
	mov	x0, x19
	mov	w1, #32
	bl	_waddch
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	cmp	w27, w21
	b.lt	LBB0_23
; %bb.25:
	ldr	w8, [sp, #44]
	ldp	w9, w1, [sp, #12]               ; 8-byte Folded Reload
	add	w2, w8, w9
	mov	x0, x19
	bl	_wmove
	mov	x0, x19
	bl	_wrefresh
LBB0_26:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_dialog_vars,8,3                ; @dialog_vars
	.comm	_TAB,1,0                        ; @TAB
.subsections_via_symbols
