	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_prompt_lastline         ## -- Begin function dialog_prompt_lastline
	.p2align	4, 0x90
_dialog_prompt_lastline:                ## @dialog_prompt_lastline
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movb	(%rdi), %cl
	testb	%cl, %cl
	je	LBB0_14
## %bb.2:
	movq	_use_dialog@GOTPCREL(%rip), %rax
	movq	_use_libdialog@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r10
	movq	(%rax), %rax
	orq	%r10, %rax
	setne	%r11b
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	%rdi, %rax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rdi), %rcx
	testq	%rsi, %rsi
	cmoveq	%rcx, %rax
	testq	%r10, %r10
	cmovneq	%rcx, %rax
	movq	%r9, %rsi
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%rdi), %ecx
	incq	%rdi
	testb	%cl, %cl
	je	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$10, %cl
	sete	%dl
	testb	%dl, %r11b
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r10, %r10
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$92, %cl
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%rdi), %edx
	testb	%dl, %dl
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rdi), %rcx
	cmpb	$110, %dl
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rdi
	movq	%r8, %rsi
	movq	%rdi, %rax
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rcx, %rdi
	jmp	LBB0_4
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	popq	%rbp
	retq
LBB0_14:
	movq	%rdi, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_use_dialog,8,3                 ## @use_dialog
	.comm	_use_libdialog,8,3              ## @use_libdialog
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_prompt_lastline         ; -- Begin function dialog_prompt_lastline
	.p2align	2
_dialog_prompt_lastline:                ; @dialog_prompt_lastline
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	ldrb	w13, [x0]
	cbz	w13, LBB0_11
; %bb.2:
Lloh0:
	adrp	x8, _use_dialog@GOTPAGE
Lloh1:
	ldr	x8, [x8, _use_dialog@GOTPAGEOFF]
Lloh2:
	adrp	x9, _use_libdialog@GOTPAGE
Lloh3:
	ldr	x9, [x9, _use_libdialog@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
	orr	x8, x8, x9
	cmp	x8, #0
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cset	w10, ne
Lloh8:
	ldr	x11, [x8]
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	x12, [x8]
	mov	x8, x0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x1, #0
	ccmp	x9, #0, #0, ne
	csinc	x8, x8, x0, eq
	mov	x1, x12
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w13, [x0, #1]!
	cbz	w13, LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w13, #10
	cset	w14, eq
	and	w14, w10, w14
	tbnz	w14, #0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x9, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w13, #92
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x13, x0
	ldrb	w14, [x13, #1]!
	cmp	w14, #110
	add	x15, x0, #2
	csel	x16, x1, x11, ne
	csel	x15, x8, x15, ne
	cmp	w14, #0
	csel	x1, x1, x16, eq
	csel	x8, x8, x15, eq
	csel	x0, x0, x13, eq
	b	LBB0_4
LBB0_9:
	mov	x8, #0
LBB0_10:
	mov	x0, x8
LBB0_11:
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_use_dialog,8,3                 ; @use_dialog
	.comm	_use_libdialog,8,3              ; @use_libdialog
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
.subsections_via_symbols
