	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_prompt_longestline      ## -- Begin function dialog_prompt_longestline
	.p2align	4, 0x90
_dialog_prompt_longestline:             ## @dialog_prompt_longestline
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.1:
	movb	(%rdi), %dl
	testb	%dl, %dl
	je	LBB0_22
## %bb.2:
	movq	_use_dialog@GOTPCREL(%rip), %rax
	movq	_use_libdialog@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movq	(%rax), %rax
	orq	%r14, %rax
	setne	%r15b
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_use_color@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	xorl	%r11d, %r11d
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%r14, %r14
	sete	%cl
	testl	%esi, %esi
	setne	%dl
	leal	1(%r13), %ebx
	cmpl	%eax, %r13d
	cmovlel	%eax, %r13d
	testb	%dl, %cl
	cmovnel	%eax, %r13d
	cmovel	%r11d, %ebx
	incq	%rdi
	movl	%r10d, %esi
	movl	%r13d, %eax
	movl	%ebx, %r13d
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rdi), %edx
	testb	%dl, %dl
	je	LBB0_21
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$10, %dl
	sete	%cl
	andb	%r15b, %cl
	cmpb	$1, %cl
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$92, %dl
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
	xorl	$1, %r12d
	sete	%cl
	addl	%ecx, %r13d
	incq	%rdi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%r12d, %r12d
	je	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$110, %dl
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%r14, %r14
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%eax, %r13d
	cmovgl	%r13d, %eax
	xorl	%r12d, %r12d
	incq	%rdi
	movl	%r8d, %esi
	xorl	%r13d, %r13d
	jmp	LBB0_3
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	jmp	LBB0_19
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%r9, %r9
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$90, %dl
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, 1(%rdi)
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %rdi
	xorl	%r12d, %r12d
	jmp	LBB0_3
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	addl	$2, %r13d
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r12d, %r12d
	incq	%rdi
	jmp	LBB0_3
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	xorl	%r12d, %r12d
	jmp	LBB0_3
LBB0_22:
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_21:
	cmpl	%eax, %r13d
	cmovgl	%r13d, %eax
LBB0_23:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_use_dialog,8,3                 ## @use_dialog
	.comm	_use_libdialog,8,3              ## @use_libdialog
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_use_color,8,3                  ## @use_color
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_prompt_longestline      ; -- Begin function dialog_prompt_longestline
	.p2align	2
_dialog_prompt_longestline:             ; @dialog_prompt_longestline
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_17
; %bb.1:
	ldrb	w16, [x0]
	cbz	w16, LBB0_17
; %bb.2:
	mov	w10, #0
	mov	w8, #0
	mov	w15, #0
Lloh0:
	adrp	x9, _use_dialog@GOTPAGE
Lloh1:
	ldr	x9, [x9, _use_dialog@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x9]
Lloh3:
	adrp	x9, _use_libdialog@GOTPAGE
Lloh4:
	ldr	x9, [x9, _use_libdialog@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	orr	x11, x11, x9
	cmp	x11, #0
	cset	w11, ne
Lloh6:
	adrp	x12, _TRUE@GOTPAGE
Lloh7:
	ldr	x12, [x12, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
Lloh9:
	adrp	x13, _use_color@GOTPAGE
Lloh10:
	ldr	x13, [x13, _use_color@GOTPAGEOFF]
Lloh11:
	ldr	x13, [x13]
Lloh12:
	adrp	x14, _FALSE@GOTPAGE
Lloh13:
	ldr	x14, [x14, _FALSE@GOTPAGEOFF]
Lloh14:
	ldr	w14, [x14]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x9, #0
	cset	w16, eq
	cmp	w1, #0
	cset	w17, ne
	cmp	w10, w8
	csel	w1, w10, w8, gt
	tst	w16, w17
	csel	w8, w8, w1, ne
	csinc	w10, wzr, w10, eq
	add	x0, x0, #1
	mov	x1, x14
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w16, [x0]
	cbz	w16, LBB0_18
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w16, #10
	cset	w17, eq
	and	w17, w11, w17
	cmp	w17, #1
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w16, #92
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	eor	w15, w15, #0x1
	cmp	w15, #0
	cinc	w10, w10, eq
	add	x0, x0, #1
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w15, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w16, #110
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x9, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #0
	cmp	w10, w8
	csel	w8, w10, w8, gt
	mov	x1, x12
	mov	w10, #0
	add	x0, x0, #1
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w10, w10, #1
	add	x0, x0, #1
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x13, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w16, #90
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #0
	ldrb	w16, [x0, #1]!
	cmp	w16, #0
	cinc	x0, x0, ne
	b	LBB0_4
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #0
	add	w10, w10, #2
	add	x0, x0, #1
	b	LBB0_4
LBB0_17:
	mov	w0, #0
	ret
LBB0_18:
	cmp	w10, w8
	csel	w0, w10, w8, gt
	ret
	.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	_use_dialog,8,3                 ; @use_dialog
	.comm	_use_libdialog,8,3              ; @use_libdialog
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_use_color,8,3                  ; @use_color
.subsections_via_symbols
