	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_help_popup                ## -- Begin function load_help_popup
	.p2align	4, 0x90
_load_help_popup:                       ## @load_help_popup
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_HELP_WIN_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_HELP_WIN_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leal	-2(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_help_main@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	movq	%rax, %r15
	movq	_stdscr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getmaxyx
	movl	%ebx, %edi
	movl	%r12d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_newwin
	movq	%rax, %rbx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_keypad
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	$124, %esi
	movl	$124, %edx
	movl	$45, %ecx
	movl	$45, %r8d
	movl	$43, %r9d
	pushq	$43
	pushq	$43
	pushq	$43
	callq	_wborder
	addq	$32, %rsp
	movq	_HELP_MENU_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HELP_MENU_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HELP_MENU_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_HELP_MENU_X@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_new_gmenu
	movq	%rax, %r12
	movq	%r15, (%rax)
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_xcalloc
	movq	%rax, 8(%r12)
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	%r15, %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx), %edi
	callq	_alloc_string
	movq	8(%r12), %rcx
	movq	%rax, 16(%rcx,%rbx,8)
	movq	$0, 24(%rcx,%rbx,8)
	addq	$4, %rbx
	decq	%r14
	jne	LBB0_2
LBB0_3:
	movq	%r12, %rdi
	callq	_post_gmenu
	movq	_HELPDLG_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_color_panel_header@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	callq	_draw_header
	addq	$16, %rsp
	movq	_HELPDLG_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$2, %edx
	callq	_mvwprintw
	movq	_REQ_DOWN@GOTPCREL(%rip), %r13
	leaq	LJTI0_0(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_REQ_UP@GOTPCREL(%rip), %rax
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_gmenu_driver
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_wrefresh
	movq	_stdscr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wgetch
                                        ## kill: def $eax killed $eax def $rax
	addl	$-113, %eax
	cmpl	$17, %eax
	ja	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r14,%rax,4), %rcx
	addq	%r14, %rcx
	movq	%r13, %rax
	jmpq	*%rcx
LBB0_6:
	movq	%rbx, %rdi
	callq	_wrefresh
	testq	%r15, %r15
	je	LBB0_9
## %bb.7:
	movl	$16, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx), %rdi
	callq	_free
	addq	$32, %rbx
	decq	%r15
	jne	LBB0_8
LBB0_9:
	movq	8(%r12), %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_free
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_touchwin
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_close_win
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wrefresh                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_HELP_WIN_HEIGHT,4,2            ## @HELP_WIN_HEIGHT
	.comm	_HELP_WIN_WIDTH,4,2             ## @HELP_WIN_WIDTH
	.comm	_help_main,8,3                  ## @help_main
	.comm	_stdscr,4,2                     ## @stdscr
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_HELP_MENU_HEIGHT,4,2           ## @HELP_MENU_HEIGHT
	.comm	_HELP_MENU_WIDTH,4,2            ## @HELP_MENU_WIDTH
	.comm	_HELP_MENU_Y,4,2                ## @HELP_MENU_Y
	.comm	_HELP_MENU_X,4,2                ## @HELP_MENU_X
	.comm	_HELPDLG_HEAD,4,2               ## @HELPDLG_HEAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" %s"

	.comm	_color_panel_header,4,2         ## @color_panel_header
	.comm	_HELPDLG_DESC,4,2               ## @HELPDLG_DESC
	.comm	_REQ_DOWN,4,2                   ## @REQ_DOWN
	.comm	_REQ_UP,4,2                     ## @REQ_UP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_help_popup                ; -- Begin function load_help_popup
	.p2align	2
_load_help_popup:                       ; @load_help_popup
	.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, x0
Lloh0:
	adrp	x8, _HELP_WIN_HEIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HELP_WIN_HEIGHT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _HELP_WIN_WIDTH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HELP_WIN_WIDTH@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
Lloh5:
	ldr	w22, [x9]
	sub	w23, w22, #2
Lloh6:
	adrp	x25, _help_main@GOTPAGE
Lloh7:
	ldr	x25, [x25, _help_main@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	mov	x20, x0
Lloh8:
	adrp	x24, _stdscr@GOTPAGE
Lloh9:
	ldr	x24, [x24, _stdscr@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_getmaxyx
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	mov	w3, #0
	bl	_newwin
	mov	x21, x0
Lloh10:
	adrp	x8, _TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_keypad
	mov	w8, #43
	strb	w8, [sp]
	mov	x0, x21
	mov	w1, #124
	mov	w2, #124
	mov	w3, #45
	mov	w4, #45
	mov	w5, #43
	mov	w6, #43
	mov	w7, #43
	bl	_wborder
Lloh13:
	adrp	x8, _HELP_MENU_HEIGHT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HELP_MENU_HEIGHT@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _HELP_MENU_WIDTH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HELP_MENU_WIDTH@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _HELP_MENU_Y@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HELP_MENU_Y@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
Lloh22:
	adrp	x8, _HELP_MENU_X@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HELP_MENU_X@GOTPAGEOFF]
Lloh24:
	ldr	w4, [x8]
	mov	x0, x21
	bl	_new_gmenu
	mov	x22, x0
	str	x20, [x0]
	mov	x0, x20
	mov	w1, #32
	bl	_xcalloc
	str	x0, [x22, #8]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x26, #0
	mov	x27, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w0, [x8, x26]
	bl	_alloc_string
	ldr	x8, [x22, #8]
	add	x8, x8, x26, lsl #3
	stp	x0, xzr, [x8, #16]
	add	x26, x26, #4
	subs	x27, x27, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x22
	bl	_post_gmenu
Lloh25:
	adrp	x8, _HELPDLG_HEAD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HELPDLG_HEAD@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _color_panel_header@GOTPAGE
Lloh29:
	ldr	x8, [x8, _color_panel_header@GOTPAGEOFF]
Lloh30:
	ldr	w6, [x8]
Lloh31:
	adrp	x2, l_.str@PAGE
Lloh32:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	w3, #1
	mov	w4, #1
	mov	x5, x23
	bl	_draw_header
Lloh33:
	adrp	x8, _HELPDLG_DESC@GOTPAGE
Lloh34:
	ldr	x8, [x8, _HELPDLG_DESC@GOTPAGEOFF]
Lloh35:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #2
	mov	w2, #2
	bl	_mvwprintw
Lloh36:
	adrp	x23, _REQ_DOWN@GOTPAGE
Lloh37:
	ldr	x23, [x23, _REQ_DOWN@GOTPAGEOFF]
Lloh38:
	adrp	x25, lJTI0_0@PAGE
Lloh39:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh40:
	adrp	x26, _REQ_UP@GOTPAGE
Lloh41:
	ldr	x26, [x26, _REQ_UP@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x26
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x8]
	mov	x0, x22
	bl	_gmenu_driver
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_wrefresh
	ldr	w0, [x24]
	bl	_wgetch
	sub	w8, w0, #113
	cmp	w8, #17
	b.hi	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	mov	x8, x23
	br	x9
LBB0_8:
	mov	x0, x21
	bl	_wrefresh
	cbz	x20, LBB0_11
; %bb.9:
	mov	w23, #16
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	x0, [x8, x23]
	bl	_free
	add	x23, x23, #32
	subs	x20, x20, #1
	b.ne	LBB0_10
LBB0_11:
	ldr	x0, [x22, #8]
	bl	_free
	mov	x0, x22
	bl	_free
	mov	x0, x19
	bl	_touchwin
	mov	x0, x21
	bl	_close_win
	mov	x0, x19
	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
	b	_wrefresh
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
                                        ; -- End function
	.comm	_HELP_WIN_HEIGHT,4,2            ; @HELP_WIN_HEIGHT
	.comm	_HELP_WIN_WIDTH,4,2             ; @HELP_WIN_WIDTH
	.comm	_help_main,8,3                  ; @help_main
	.comm	_stdscr,4,2                     ; @stdscr
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_HELP_MENU_HEIGHT,4,2           ; @HELP_MENU_HEIGHT
	.comm	_HELP_MENU_WIDTH,4,2            ; @HELP_MENU_WIDTH
	.comm	_HELP_MENU_Y,4,2                ; @HELP_MENU_Y
	.comm	_HELP_MENU_X,4,2                ; @HELP_MENU_X
	.comm	_HELPDLG_HEAD,4,2               ; @HELPDLG_HEAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" %s"

	.comm	_color_panel_header,4,2         ; @color_panel_header
	.comm	_HELPDLG_DESC,4,2               ; @HELPDLG_DESC
	.comm	_REQ_DOWN,4,2                   ; @REQ_DOWN
	.comm	_REQ_UP,4,2                     ; @REQ_UP
.subsections_via_symbols
