	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_draw_helpline              ## -- Begin function dlg_draw_helpline
	.p2align	4, 0x90
_dlg_draw_helpline:                     ## @dlg_draw_helpline
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_dialog_vars@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_getmaxy
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.3:
	movl	%eax, %r15d
	movq	_A_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	(%rbx), %rdi
	callq	_dlg_count_columns
	movq	_ON_LEFT@GOTPCREL(%rip), %rdx
	movq	_ON_RIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	addl	(%rdx), %ebx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r14d, %r14d
	cmovel	%r14d, %ebx
	movq	%r13, %rdi
	callq	_getmaxx
                                        ## kill: def $eax killed $eax def $rax
	negl	%ebx
	leal	(%rax,%rbx), %r12d
	addl	$-2, %r12d
	movq	_dialog_vars@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_dlg_count_real_columns
	addl	$2, %eax
	subl	%eax, %r12d
	jle	LBB0_7
## %bb.4:
	decl	%r15d
	movq	%r13, %rdi
	callq	_getyx
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	movq	_ON_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movl	%r12d, %edx
	shrl	$31, %edx
	addl	%r12d, %edx
	sarl	%edx
	addl	%r14d, %edx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_wmove
	movq	%r13, %rdi
	movl	$91, %esi
	callq	_waddch
	movq	(%rbx), %rsi
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_dlg_print_text
	movq	%r13, %rdi
	movl	$93, %esi
	callq	_waddch
	movq	%r13, %rdi
	callq	_wmove
LBB0_7:
	addq	$8, %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	_A_NORMAL,4,2                   ## @A_NORMAL
	.comm	_ON_LEFT,4,2                    ## @ON_LEFT
	.comm	_ON_RIGHT,4,2                   ## @ON_RIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_draw_helpline              ; -- Begin function dlg_draw_helpline
	.p2align	2
_dlg_draw_helpline:                     ; @dlg_draw_helpline
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
Lloh0:
	adrp	x23, _dialog_vars@GOTPAGE
Lloh1:
	ldr	x23, [x23, _dialog_vars@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x20, x1
	mov	x19, x0
	bl	_getmaxy
	cmp	w0, #2
	b.lt	LBB0_5
; %bb.3:
	mov	x22, x0
Lloh2:
	adrp	x8, _A_NORMAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _A_NORMAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x0, [x23]
	bl	_dlg_count_columns
	mov	x21, x0
Lloh5:
	adrp	x24, _ON_LEFT@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ON_LEFT@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh7:
	adrp	x9, _ON_RIGHT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ON_RIGHT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	add	w8, w9, w8
	cmp	w20, #0
	csel	w25, wzr, w8, eq
	mov	x0, x19
	bl	_getmaxx
	sub	w8, w0, w25
	sub	w25, w8, #2
	ldr	x0, [x23]
	bl	_dlg_count_real_columns
	add	w8, w0, #2
	subs	w25, w25, w8
	b.le	LBB0_5
; %bb.4:
	sub	w22, w22, #1
	mov	x0, x19
	bl	_getyx
	ldr	w8, [x24]
	cmp	w20, #0
	csel	w8, wzr, w8, eq
	cmp	w25, #0
	cinc	w9, w25, lt
	add	w2, w8, w9, asr #1
	mov	x0, x19
	mov	x1, x22
	bl	_wmove
	mov	x0, x19
	mov	w1, #91
	bl	_waddch
	ldr	x1, [x23]
	add	x3, sp, #12
	mov	x0, x19
	mov	x2, x21
	bl	_dlg_print_text
	mov	x0, x19
	mov	w1, #93
	bl	_waddch
	mov	x0, x19
	bl	_wmove
LBB0_5:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_dialog_vars,8,3                ; @dialog_vars
	.comm	_A_NORMAL,4,2                   ; @A_NORMAL
	.comm	_ON_LEFT,4,2                    ; @ON_LEFT
	.comm	_ON_RIGHT,4,2                   ; @ON_RIGHT
.subsections_via_symbols
