	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_render_find_dialog             ## -- Begin function render_find_dialog
	.p2align	4, 0x90
_render_find_dialog:                    ## @render_find_dialog
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_FIND_DLG_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_FIND_DLG_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_stdscr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getmaxyx
	movl	%ebx, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_newwin
	movq	%rax, %r12
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_keypad
	movl	$43, 16(%rsp)
	movl	$43, 8(%rsp)
	movl	$43, (%rsp)
	movq	%r12, %rdi
	movl	$124, %esi
	movl	$124, %edx
	movl	$45, %ecx
	movl	$45, %r8d
	movl	$43, %r9d
	callq	_wborder
	movq	_FIND_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	-2(%r15), %r9d
	movq	_color_panel_header@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rbx
	movl	$1, %r13d
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_draw_header
	movq	_FIND_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movl	$2, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_mvwprintw
	movq	_find_t@GOTPCREL(%rip), %r14
	movq	$0, 8(%r14)
	leaq	8(%r14), %rax
	addl	$-3, %r15d
	movq	%rax, (%rsp)
	leaq	L_.str.1(%rip), %r8
	movq	%r12, %rdi
	movl	$4, %esi
	movl	$2, %edx
	movl	%r15d, %ecx
	movl	$1, %r9d
	callq	_input_string
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	cmpb	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_reset_scroll_offsets
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_reset_find
	movq	%rbx, %rdi
	callq	_xstrdup
	movl	%eax, (%r14)
	jmp	LBB0_4
LBB0_2:
	movl	$1, %r13d
LBB0_4:
	movq	%rbx, %rdi
	callq	_free
LBB0_5:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_touchwin
	movq	%r12, %rdi
	callq	_close_win
	movq	%rbx, %rdi
	callq	_wrefresh
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIND_DLG_WIDTH,4,2             ## @FIND_DLG_WIDTH
	.comm	_FIND_DLG_HEIGHT,4,2            ## @FIND_DLG_HEIGHT
	.comm	_stdscr,4,2                     ## @stdscr
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FIND_HEAD,4,2                  ## @FIND_HEAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" %s"

	.comm	_color_panel_header,4,2         ## @color_panel_header
	.comm	_FIND_DESC,4,2                  ## @FIND_DESC
	.comm	_find_t,16,3                    ## @find_t
L_.str.1:                               ## @.str.1
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_render_find_dialog             ; -- Begin function render_find_dialog
	.p2align	2
_render_find_dialog:                    ; @render_find_dialog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _FIND_DLG_WIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIND_DLG_WIDTH@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _FIND_DLG_HEIGHT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIND_DLG_HEIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x8, _stdscr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stdscr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_getmaxyx
	mov	x0, x20
	mov	x1, x22
	mov	w2, #0
	mov	w3, #0
	bl	_newwin
	mov	x20, x0
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_keypad
	mov	w8, #43
	strb	w8, [sp]
	mov	x0, x20
	mov	w1, #124
	mov	w2, #124
	mov	w3, #45
	mov	w4, #45
	mov	w5, #43
	mov	w6, #43
	mov	w7, #43
	bl	_wborder
Lloh12:
	adrp	x8, _FIND_HEAD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FIND_HEAD@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	sub	w5, w22, #2
Lloh15:
	adrp	x8, _color_panel_header@GOTPAGE
Lloh16:
	ldr	x8, [x8, _color_panel_header@GOTPAGEOFF]
Lloh17:
	ldr	w6, [x8]
Lloh18:
	adrp	x24, l_.str@PAGE
Lloh19:
	add	x24, x24, l_.str@PAGEOFF
	mov	w23, #1
	mov	x0, x20
	mov	x2, x24
	mov	w3, #1
	mov	w4, #1
	bl	_draw_header
Lloh20:
	adrp	x8, _FIND_DESC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FIND_DESC@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w1, #2
	mov	w2, #1
	mov	x3, x24
	bl	_mvwprintw
Lloh23:
	adrp	x24, _find_t@GOTPAGE
Lloh24:
	ldr	x24, [x24, _find_t@GOTPAGEOFF]
	mov	x6, x24
	str	xzr, [x6, #8]!
	sub	w3, w22, #3
Lloh25:
	adrp	x4, l_.str.1@PAGE
Lloh26:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w1, #4
	mov	w2, #2
	mov	w5, #1
	bl	_input_string
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_reset_scroll_offsets
	bl	_reset_find
	mov	x0, x22
	bl	_xstrdup
	mov	w23, #0
	str	w0, [x24]
	b	LBB0_4
LBB0_3:
	mov	w23, #1
LBB0_4:
	mov	x0, x22
	bl	_free
LBB0_5:
	mov	x0, x19
	bl	_touchwin
	mov	x0, x20
	bl	_close_win
	mov	x0, x19
	bl	_wrefresh
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FIND_DLG_WIDTH,4,2             ; @FIND_DLG_WIDTH
	.comm	_FIND_DLG_HEIGHT,4,2            ; @FIND_DLG_HEIGHT
	.comm	_stdscr,4,2                     ; @stdscr
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FIND_HEAD,4,2                  ; @FIND_HEAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" %s"

	.comm	_color_panel_header,4,2         ; @color_panel_header
	.comm	_FIND_DESC,4,2                  ; @FIND_DESC
	.comm	_find_t,16,3                    ; @find_t
l_.str.1:                               ; @.str.1
	.space	1

.subsections_via_symbols
