	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function render_search_dialog
_render_search_dialog:                  ## @render_search_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_main_win@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_gscroll@GOTPCREL(%rip), %rsi
	callq	_render_find_dialog
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_gdns_thread@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	movq	_holder@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_gscroll@GOTPCREL(%rip), %rsi
	callq	_perform_next_find
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_pthread_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_dash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_free_dashboard
	xorl	%eax, %eax
	callq	_allocate_data
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_render_screens                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_main_win,4,2                   ## @main_win
	.comm	_gscroll,4,2                    ## @gscroll
	.comm	_gdns_thread,4,2                ## @gdns_thread
	.comm	_holder,4,2                     ## @holder
	.comm	_dash,4,2                       ## @dash
	.no_dead_strip	_render_search_dialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function render_search_dialog
_render_search_dialog:                  ; @render_search_dialog
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _main_win@GOTPAGE
Lloh1:
	ldr	x8, [x8, _main_win@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _gscroll@GOTPAGE
Lloh4:
	ldr	x1, [x1, _gscroll@GOTPAGEOFF]
	bl	_render_find_dialog
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x19, _gdns_thread@GOTPAGE
Lloh6:
	ldr	x19, [x19, _gdns_thread@GOTPAGEOFF]
	mov	x0, x19
	bl	_pthread_mutex_lock
Lloh7:
	adrp	x8, _holder@GOTPAGE
Lloh8:
	ldr	x8, [x8, _holder@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, _gscroll@GOTPAGE
Lloh11:
	ldr	x1, [x1, _gscroll@GOTPAGEOFF]
	bl	_perform_next_find
	mov	x20, x0
	mov	x0, x19
	bl	_pthread_mutex_unlock
	cbz	w20, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh12:
	adrp	x8, _dash@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dash@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_free_dashboard
	bl	_allocate_data
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_render_screens
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_main_win,4,2                   ; @main_win
	.comm	_gscroll,4,2                    ; @gscroll
	.comm	_gdns_thread,4,2                ; @gdns_thread
	.comm	_holder,4,2                     ; @holder
	.comm	_dash,4,2                       ; @dash
	.no_dead_strip	_render_search_dialog
.subsections_via_symbols
