	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_oneliner
_read_oneliner:                         ## @read_oneliner
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	(%rdi), %r13d
	movq	%rsi, %rdi
	callq	_file_exists
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_strbuf_read_file
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movslq	(%r12), %rcx
	cmpl	%r13d, %ecx
	jle	LBB0_9
## %bb.4:
	movq	8(%r12), %rax
	cmpb	$10, -1(%rax,%rcx)
	jne	LBB0_9
## %bb.5:
	leaq	-1(%rcx), %rdx
	movl	%edx, (%r12)
	cmpl	%r13d, %edx
	jle	LBB0_8
## %bb.6:
	cmpb	$13, -2(%rax,%rcx)
	jne	LBB0_8
## %bb.7:
	addq	$-2, %rcx
	movl	%ecx, (%r12)
	movq	%rcx, %rdx
LBB0_8:
	movb	$0, (%rax,%rdx)
LBB0_9:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.10:
	xorl	%r15d, %r15d
	cmpl	%r13d, (%r12)
	je	LBB0_12
LBB0_11:
	movl	$1, %r15d
	jmp	LBB0_12
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_warning_errno
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not read '%s'"

	.no_dead_strip	_read_oneliner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_oneliner
_read_oneliner:                         ; @read_oneliner
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w22, [x0]
	mov	x0, x1
	bl	_file_exists
	cbz	w0, LBB0_13
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_strbuf_read_file
	tbnz	x0, #63, LBB0_11
; %bb.2:
	ldrsw	x10, [x19]
	cmp	w10, w22
	b.le	LBB0_8
; %bb.3:
	ldr	x8, [x19, #8]
	sub	x9, x10, #1
	ldrb	w11, [x8, x9]
	cmp	w11, #10
	b.ne	LBB0_8
; %bb.4:
	str	w9, [x19]
	cmp	w9, w22
	b.le	LBB0_7
; %bb.5:
	sub	x10, x10, #2
	ldrb	w11, [x8, x10]
	cmp	w11, #13
	b.ne	LBB0_7
; %bb.6:
	str	w10, [x19]
	mov	x9, x10
LBB0_7:
	strb	wzr, [x8, x9]
LBB0_8:
	cbz	w20, LBB0_10
; %bb.9:
	ldr	w8, [x19]
	cmp	w8, w22
	b.eq	LBB0_12
LBB0_10:
	mov	w0, #1
	b	LBB0_13
LBB0_11:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x21
	bl	_warning_errno
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not read '%s'"

	.no_dead_strip	_read_oneliner
.subsections_via_symbols
