	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_line_sb
_get_line_sb:                           ## @get_line_sb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_input_line_pointer@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	cmpb	$10, -1(%rdi)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_bump_line_counters
	movq	(%r12), %rdi
LBB0_2:
	movq	_buffer_limit@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rdi
	jb	LBB0_6
## %bb.3:
	movq	_input_line_pointer@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_input_scrub_next_buffer
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%r14), %rdi
LBB0_6:
	movq	_flag_m68k_mri@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_find_end_of_line
	movq	%rax, %rbx
	movq	(%r12), %rsi
	movl	%ebx, %edx
	subl	%esi, %edx
	movq	%r15, %rdi
	callq	_sb_add_buffer
	leaq	1(%rbx), %rax
	movq	%rax, (%r12)
	movsbl	(%rbx), %eax
	jmp	LBB0_7
LBB0_4:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_input_line_pointer,8,3         ## @input_line_pointer
	.comm	_buffer_limit,8,3               ## @buffer_limit
	.comm	_flag_m68k_mri,4,2              ## @flag_m68k_mri
	.no_dead_strip	_get_line_sb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_line_sb
_get_line_sb:                           ; @get_line_sb
	.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	x19, x0
Lloh0:
	adrp	x21, _input_line_pointer@GOTPAGE
Lloh1:
	ldr	x21, [x21, _input_line_pointer@GOTPAGEOFF]
	ldr	x0, [x21]
	ldurb	w8, [x0, #-1]
	cmp	w8, #10
	b.ne	LBB0_2
; %bb.1:
	bl	_bump_line_counters
	ldr	x0, [x21]
LBB0_2:
Lloh2:
	adrp	x22, _buffer_limit@GOTPAGE
Lloh3:
	ldr	x22, [x22, _buffer_limit@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.lo	LBB0_5
; %bb.3:
Lloh4:
	adrp	x20, _input_line_pointer@GOTPAGE
Lloh5:
	ldr	x20, [x20, _input_line_pointer@GOTPAGEOFF]
	mov	x0, x20
	bl	_input_scrub_next_buffer
	str	x0, [x22]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x0, [x20]
LBB0_5:
Lloh6:
	adrp	x8, _flag_m68k_mri@GOTPAGE
Lloh7:
	ldr	x8, [x8, _flag_m68k_mri@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_find_end_of_line
	mov	x20, x0
	ldr	x1, [x21]
	sub	w2, w20, w1
	mov	x0, x19
	bl	_sb_add_buffer
	add	x8, x20, #1
	str	x8, [x21]
	ldrsb	w0, [x20]
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_input_line_pointer,8,3         ; @input_line_pointer
	.comm	_buffer_limit,8,3               ; @buffer_limit
	.comm	_flag_m68k_mri,4,2              ; @flag_m68k_mri
	.no_dead_strip	_get_line_sb
.subsections_via_symbols
