	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CopyReadLine
_CopyReadLine:                          ## @CopyReadLine
	.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, %rbx
	leaq	24(%rdi), %r15
	movq	%r15, %rdi
	callq	_resetStringInfo
	movq	$1, (%rbx)
	movq	%rbx, %rdi
	callq	_CopyReadLineText
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	8(%rbx), %rax
	movq	_COPY_NEW_FE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	56(%rbx), %eax
	movl	%eax, 60(%rbx)
	movq	%rbx, %rdi
	callq	_CopyLoadRawBuf
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_10
LBB0_3:
	movl	16(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	xorl	%edi, %edi
	callq	_Assert
	jmp	LBB0_10
LBB0_5:
	xorl	%edi, %edi
	cmpl	$0, 24(%rbx)
	setg	%dil
	callq	_Assert
	movq	32(%rbx), %rax
	movslq	24(%rbx), %rcx
	xorl	%edi, %edi
	cmpb	$10, -1(%rcx,%rax)
	jmp	LBB0_6
LBB0_8:
	xorl	%edi, %edi
	cmpl	$2, 24(%rbx)
	setge	%dil
	callq	_Assert
	movq	32(%rbx), %rax
	movslq	24(%rbx), %rcx
	xorl	%edi, %edi
	cmpb	$13, -2(%rcx,%rax)
	sete	%dil
	callq	_Assert
	movq	32(%rbx), %rax
	movslq	24(%rbx), %rcx
	xorl	%edi, %edi
	cmpb	$10, -1(%rcx,%rax)
	sete	%dil
	callq	_Assert
	movslq	24(%rbx), %rax
	leaq	-2(%rax), %rcx
	movl	%ecx, 24(%rbx)
	movq	32(%rbx), %rcx
	movb	$0, -2(%rcx,%rax)
	jmp	LBB0_10
LBB0_7:
	xorl	%edi, %edi
	cmpl	$0, 24(%rbx)
	setg	%dil
	callq	_Assert
	movq	32(%rbx), %rax
	movslq	24(%rbx), %rcx
	xorl	%edi, %edi
	cmpb	$13, -1(%rcx,%rax)
LBB0_6:
	sete	%dil
	callq	_Assert
	movslq	24(%rbx), %rax
	leaq	-1(%rax), %rcx
	movl	%ecx, 24(%rbx)
	movq	32(%rbx), %rcx
	movb	$0, -1(%rcx,%rax)
LBB0_10:
	cmpq	$0, 48(%rbx)
	je	LBB0_13
## %bb.11:
	movq	32(%rbx), %rdi
	movslq	24(%rbx), %rsi
	movl	40(%rbx), %edx
	callq	_pg_any_to_server
	cmpq	32(%rbx), %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_resetStringInfo
	movq	%r12, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_appendBinaryStringInfo
	movq	%r12, %rdi
	callq	_pfree
LBB0_13:
	movl	$1, 4(%rbx)
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_COPY_NEW_FE,8,3                ## @COPY_NEW_FE
	.no_dead_strip	_CopyReadLine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function CopyReadLine
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_CopyReadLine:                          ; @CopyReadLine
	.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
	add	x20, x0, #24
	mov	x0, x20
	bl	_resetStringInfo
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	mov	x0, x19
	bl	_CopyReadLineText
	mov	x21, x0
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _COPY_NEW_FE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _COPY_NEW_FE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #56]
	str	w8, [x19, #60]
	mov	x0, x19
	bl	_CopyLoadRawBuf
	cbnz	x0, LBB0_2
	b	LBB0_11
LBB0_3:
	ldr	w8, [x19, #16]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_11
; %bb.4:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	w0, #0
	bl	_Assert
	b	LBB0_11
LBB0_6:
	ldr	w8, [x19, #24]
	cmp	w8, #0
	cset	w0, gt
	bl	_Assert
	ldr	x8, [x19, #32]
	ldrsw	x9, [x19, #24]
	add	x8, x9, x8
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	b	LBB0_9
LBB0_7:
	ldr	w8, [x19, #24]
	cmp	w8, #1
	cset	w0, gt
	bl	_Assert
	ldr	x8, [x19, #32]
	ldrsw	x9, [x19, #24]
	add	x8, x9, x8
	ldurb	w8, [x8, #-2]
	cmp	w8, #13
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x19, #32]
	ldrsw	x9, [x19, #24]
	add	x8, x9, x8
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	cset	w0, eq
	bl	_Assert
	ldrsw	x8, [x19, #24]
	sub	x8, x8, #2
	b	LBB0_10
LBB0_8:
	ldr	w8, [x19, #24]
	cmp	w8, #0
	cset	w0, gt
	bl	_Assert
	ldr	x8, [x19, #32]
	ldrsw	x9, [x19, #24]
	add	x8, x9, x8
	ldurb	w8, [x8, #-1]
	cmp	w8, #13
LBB0_9:
	cset	w0, eq
	bl	_Assert
	ldrsw	x8, [x19, #24]
	sub	x8, x8, #1
LBB0_10:
	str	w8, [x19, #24]
	ldr	x9, [x19, #32]
	strb	wzr, [x9, x8]
LBB0_11:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_14
; %bb.12:
	ldr	x0, [x19, #32]
	ldrsw	x1, [x19, #24]
	ldr	w2, [x19, #40]
	bl	_pg_any_to_server
	ldr	x8, [x19, #32]
	cmp	x0, x8
	b.eq	LBB0_14
; %bb.13:
	mov	x22, x0
	mov	x0, x20
	bl	_resetStringInfo
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_appendBinaryStringInfo
	mov	x0, x22
	bl	_pfree
LBB0_14:
	mov	w8, #1
	str	w8, [x19, #4]
	mov	x0, x21
	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 AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
                                        ; -- End function
	.comm	_COPY_NEW_FE,8,3                ; @COPY_NEW_FE
	.no_dead_strip	_CopyReadLine
.subsections_via_symbols
