	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s_app_file                     ## -- Begin function s_app_file
	.p2align	4, 0x90
_s_app_file:                            ## @s_app_file
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	leaq	-28(%rbp), %rdi
	callq	_demand_copy_string
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$-1, %esi
	movl	$1, %edx
	callq	_new_logical_line_flags
	testl	%eax, %eax
	sete	%al
	testl	%r14d, %r14d
	setne	%bl
	andb	%al, %bl
	movq	_flag_m68k_mri@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_input_line_pointer@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpb	$39, (%rcx)
	jne	LBB0_5
## %bb.3:
	movq	_is_end_of_line@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movzbl	1(%rcx), %esi
	cmpq	$0, (%rdx,%rsi,8)
	je	LBB0_5
## %bb.4:
	incq	%rcx
	movq	%rcx, (%rax)
LBB0_5:
	xorl	%eax, %eax
	callq	_demand_empty_rest_of_line
	testb	%bl, %bl
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_s_app_file_string
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_flag_m68k_mri,8,3              ## @flag_m68k_mri
	.comm	_input_line_pointer,8,3         ## @input_line_pointer
	.comm	_is_end_of_line,8,3             ## @is_end_of_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s_app_file                     ; -- Begin function s_app_file
	.p2align	2
_s_app_file:                            ; @s_app_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	add	x0, sp, #12
	bl	_demand_copy_string
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	mov	w1, #-1
	mov	w2, #1
	bl	_new_logical_line_flags
	cmp	w19, #0
	ccmp	w0, #0, #0, ne
	cset	w21, eq
Lloh0:
	adrp	x8, _flag_m68k_mri@GOTPAGE
Lloh1:
	ldr	x8, [x8, _flag_m68k_mri@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _input_line_pointer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _input_line_pointer@GOTPAGEOFF]
	ldr	x9, [x8]
	ldrb	w10, [x9]
	cmp	w10, #39
	b.ne	LBB0_5
; %bb.3:
Lloh5:
	adrp	x10, _is_end_of_line@GOTPAGE
Lloh6:
	ldr	x10, [x10, _is_end_of_line@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	ldrb	w11, [x9, #1]!
	ldr	x10, [x10, x11, lsl #3]
	cbz	x10, LBB0_5
; %bb.4:
	str	x9, [x8]
LBB0_5:
	bl	_demand_empty_rest_of_line
	tbnz	w21, #0, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_s_app_file_string
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_flag_m68k_mri,8,3              ; @flag_m68k_mri
	.comm	_input_line_pointer,8,3         ; @input_line_pointer
	.comm	_is_end_of_line,8,3             ; @is_end_of_line
.subsections_via_symbols
