	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_sbuf_line                  ## -- Begin function get_sbuf_line
	.p2align	4, 0x90
_get_sbuf_line:                         ## @get_sbuf_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	_buffer_head@GOTPCREL(%rip), %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	_seek_write@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_sfseek@GOTPCREL(%rip), %r14
	movq	(%rdi), %rsi
	cmpq	%rsi, (%r14)
	je	LBB0_5
## %bb.2:
	movq	%rsi, (%r14)
	movq	_sfp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fseeko
	testq	%rax, %rax
	js	LBB0_3
LBB0_5:
	movq	8(%rbx), %rbx
	leaq	1(%rbx), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_REALLOC
	movq	_sfp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	$1, %esi
	movq	%rbx, %rdx
	callq	_fread
	cmpq	%rbx, %rax
	jne	LBB0_6
## %bb.7:
	addq	%rbx, (%r14)
	jmp	LBB0_8
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	leaq	L_.str.1(%rip), %rax
LBB0_4:
	movq	_errmsg@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buffer_head,16,3               ## @buffer_head
	.comm	_seek_write,4,2                 ## @seek_write
	.comm	_sfseek,8,3                     ## @sfseek
	.comm	_sfp,4,2                        ## @sfp
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"cannot seek temp file"

	.comm	_errmsg,8,3                     ## @errmsg
L_.str.2:                               ## @.str.2
	.asciz	"cannot read temp file"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_sbuf_line                  ; -- Begin function get_sbuf_line
	.p2align	2
_get_sbuf_line:                         ; @get_sbuf_line
	.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
Lloh0:
	adrp	x8, _buffer_head@GOTPAGE
Lloh1:
	ldr	x8, [x8, _buffer_head@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, _seek_write@GOTPAGE
Lloh3:
	ldr	x8, [x8, _seek_write@GOTPAGEOFF]
	mov	w9, #1
Lloh4:
	adrp	x20, _sfseek@GOTPAGE
Lloh5:
	ldr	x20, [x20, _sfseek@GOTPAGEOFF]
Lloh6:
	str	w9, [x8]
	ldr	x8, [x20]
	ldr	x1, [x0]
Lloh7:
	adrp	x21, _sfp@GOTPAGE
Lloh8:
	ldr	x21, [x21, _sfp@GOTPAGEOFF]
	cmp	x8, x1
	b.eq	LBB0_3
; %bb.2:
	str	x1, [x20]
	ldr	w0, [x21]
Lloh9:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_fseeko
	tbnz	x0, #63, LBB0_6
LBB0_3:
	ldr	x19, [x19, #8]
	add	x2, x19, #1
	mov	x0, #0
	mov	x1, #0
	mov	x3, #0
	bl	_REALLOC
	ldr	w3, [x21]
	mov	x0, #0
	mov	w1, #1
	mov	x2, x19
	bl	_fread
	cmp	x0, x19
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x20]
	add	x8, x8, x19
	str	x8, [x20]
	b	LBB0_8
LBB0_5:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf
Lloh20:
	adrp	x8, _errmsg@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errmsg@GOTPAGEOFF]
Lloh22:
	adrp	x9, l_.str.2@PAGE
Lloh23:
	add	x9, x9, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh24:
	adrp	x8, _stderr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh26:
	ldr	w19, [x8]
Lloh27:
	adrp	x8, _errno@GOTPAGE
Lloh28:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf
Lloh32:
	adrp	x8, _errmsg@GOTPAGE
Lloh33:
	ldr	x8, [x8, _errmsg@GOTPAGEOFF]
Lloh34:
	adrp	x9, l_.str.1@PAGE
Lloh35:
	add	x9, x9, l_.str.1@PAGEOFF
LBB0_7:
	str	x9, [x8]
LBB0_8:
	mov	x0, #0
	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	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_buffer_head,16,3               ; @buffer_head
	.comm	_seek_write,4,2                 ; @seek_write
	.comm	_sfseek,8,3                     ; @sfseek
	.comm	_sfp,4,2                        ; @sfp
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"cannot seek temp file"

	.comm	_errmsg,8,3                     ; @errmsg
l_.str.2:                               ; @.str.2
	.asciz	"cannot read temp file"

.subsections_via_symbols
