	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_line
_get_line:                              ## @get_line
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %r12
	xorl	%r13d, %r13d
	subl	(%rdi), %r13d
	movq	_MAX_LEN@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	%r12, %rdi
	callq	_getc
	movl	%eax, %ebx
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_feof
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_feof
	cmpl	$10, %ebx
	je	LBB0_27
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	jne	LBB0_27
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_TAB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_23
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_dialog_vars@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_dialog_state@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r14), %eax
	addl	%r13d, %eax
	cltd
	idivl	%ecx
	movl	%ecx, %eax
	subl	%edx, %eax
	testl	%eax, %eax
	jle	LBB0_26
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%edx
	cmpl	%edx, %ecx
	je	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ecx
	andl	$-2, %ecx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=2
	incl	%r13d
	addl	$-2, %ecx
	je	LBB0_18
LBB0_11:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %edx
	testl	%r13d, %r13d
	js	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpl	(%r15), %edx
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	8(%r14), %rsi
	movl	%edx, %edi
	movb	$32, (%rsi,%rdi)
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=2
	leal	1(%rdx), %r13d
	cmpl	$-1, %edx
	jl	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpl	(%r15), %r13d
	jge	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	8(%r14), %rsi
	movl	%r13d, %edi
	movb	$32, (%rsi,%rdi)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	js	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rax
	movl	%r13d, %ecx
	movb	%bl, (%rax,%rcx)
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%r13d
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%r15), %r13d
	jl	LBB0_27
	jmp	LBB0_29
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_dlg_exiterr
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_feof
	cmpl	$10, %ebx
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	je	LBB0_1
	jmp	LBB0_29
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	addl	$2, %edx
	movl	%edx, %r13d
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %al
	je	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	js	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%r15), %r13d
	jge	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rax
	movl	%r13d, %ecx
	movb	$32, (%rax,%rcx)
	jmp	LBB0_25
LBB0_29:
	xorl	%eax, %eax
	testl	%r13d, %r13d
	cmovgl	%r13d, %eax
	movq	8(%r14), %rcx
	movb	$0, (%rcx,%rax)
	movq	8(%r14), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error moving file pointer in get_line()."

	.comm	_TAB,4,2                        ## @TAB
	.comm	_dialog_vars,8,3                ## @dialog_vars
	.comm	_dialog_state,4,2               ## @dialog_state
	.comm	_MAX_LEN,4,2                    ## @MAX_LEN
	.no_dead_strip	_get_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_line
_get_line:                              ; @get_line
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x20, [x0, #16]
	ldr	w8, [x0]
Lloh0:
	adrp	x24, _EOF@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EOF@GOTPAGEOFF]
Lloh2:
	adrp	x25, _TAB@GOTPAGE
Lloh3:
	ldr	x25, [x25, _TAB@GOTPAGEOFF]
Lloh4:
	adrp	x26, _dialog_vars@GOTPAGE
Lloh5:
	ldr	x26, [x26, _dialog_vars@GOTPAGEOFF]
	neg	w23, w8
Lloh6:
	adrp	x27, _MAX_LEN@GOTPAGE
Lloh7:
	ldr	x27, [x27, _MAX_LEN@GOTPAGEOFF]
Lloh8:
	adrp	x28, _dialog_state@GOTPAGE
Lloh9:
	ldr	x28, [x28, _dialog_state@GOTPAGEOFF]
	mov	w21, #32
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x0, x20
	bl	_getc
	mov	x22, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_feof
	cbz	w0, LBB0_15
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_feof
	cmp	w22, #10
	b.eq	LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w0, LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x25]
	ldr	x9, [x26]
	cmp	w22, w8
	ccmp	x9, #0, #4, eq
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	tbnz	w23, #31, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #8]
	strb	w22, [x8, w23, uxtw]
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	w23, w23, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x28]
	ldr	w9, [x19]
	add	w9, w9, w23
	neg	w10, w9
	sdiv	w9, w9, w8
	madd	w9, w9, w8, w10
	add	w8, w8, w9
	cmp	w8, #1
	b.ge	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27]
	cmp	w23, w8
	b.lt	LBB0_16
	b	LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	w23, w23, #1
	subs	w8, w8, #1
	b.eq	LBB0_10
LBB0_12:                                ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tbnz	w23, #31, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w9, [x27]
	cmp	w23, w9
	b.ge	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x9, [x19, #8]
	strb	w21, [x9, w23, uxtw]
	b	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dlg_exiterr
LBB0_16:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_feof
	cmp	w22, #10
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_1 Depth=1
	cbz	w0, LBB0_1
LBB0_18:
	cmp	w23, #0
	csel	w8, w23, wzr, gt
	ldr	x9, [x19, #8]
	strb	wzr, [x9, w8, uxtw]
	ldr	x0, [x19, #8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error moving file pointer in get_line()."

	.comm	_TAB,4,2                        ; @TAB
	.comm	_dialog_vars,8,3                ; @dialog_vars
	.comm	_dialog_state,4,2               ; @dialog_state
	.comm	_MAX_LEN,4,2                    ; @MAX_LEN
	.no_dead_strip	_get_line
.subsections_via_symbols
