	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LSAPI_ReqBodyGetLine_r         ## -- Begin function LSAPI_ReqBodyGetLine_r
	.p2align	4, 0x90
_LSAPI_ReqBodyGetLine_r:                ## @LSAPI_ReqBodyGetLine_r
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movl	$-1, %edi
	testq	%r13, %r13
	je	LBB0_13
## %bb.1:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.2:
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.3:
	cmpl	$-1, (%r13)
	je	LBB0_13
## %bb.4:
	leaq	(%rsi,%rdx), %rax
	decq	%rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	$0, (%rcx)
	movq	%rsi, %rax
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rbx, %rax
	cmovbq	%rax, %rbx
	addq	24(%r13), %r15
	movq	%r15, %rdi
	movl	$10, %esi
	movq	%rbx, %rdx
	callq	_memchr
	movq	%rax, %r12
	movq	%rax, %r14
	subq	%r15, %r14
	incq	%r14
	testq	%rax, %rax
	cmoveq	%rbx, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_memmove
	movq	%rbx, %rdi
	addq	%r14, %rdi
	addq	%r14, 16(%r13)
	addq	%r14, 32(%r13)
	testq	%r12, %r12
	jne	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	subq	%rdi, %rbx
	testq	%rbx, %rbx
	jle	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rax
	movq	16(%r13), %r15
	subq	%r15, %rax
	jg	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_readBodyToReqBuf
	testq	%rax, %rax
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r13), %r15
	jmp	LBB0_10
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_12:
	movb	$0, (%rdi)
	subl	-64(%rbp), %edi                 ## 4-byte Folded Reload
LBB0_13:
	movl	%edi, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LSAPI_ReqBodyGetLine_r         ; -- Begin function LSAPI_ReqBodyGetLine_r
	.p2align	2
_LSAPI_ReqBodyGetLine_r:                ; @LSAPI_ReqBodyGetLine_r
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x3
	mov	x21, x0
	mov	w0, #-1
	cbz	x3, LBB0_13
; %bb.2:
	mov	x19, x1
	cbz	x1, LBB0_13
; %bb.3:
	ldr	w8, [x21]
	cmn	w8, #1
	b.eq	LBB0_13
; %bb.4:
	add	x8, x19, x2
	sub	x26, x8, #1
	str	wzr, [x20]
	mov	x22, x19
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21, #16]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	x0, x23
	csel	x23, x0, x23, lo
	ldr	x9, [x21, #24]
	add	x24, x9, x8
	mov	x0, x24
	mov	w1, #10
	mov	x2, x23
	bl	_memchr
	mov	x25, x0
	sub	x8, x0, x24
	cmp	x0, #0
	csinc	x23, x23, x8, eq
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_memmove
	add	x22, x22, x23
	ldr	x8, [x21, #16]
	add	x8, x23, x8
	str	x8, [x21, #16]
	ldr	x8, [x21, #32]
	add	x8, x8, x23
	str	x8, [x21, #32]
	cbnz	x25, LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	x23, x26, x22
	cmp	x23, #1
	b.lt	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	x9, x8, [x21, #8]
	sub	x0, x9, x8
	cmp	x0, #0
	b.gt	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_readBodyToReqBuf
	cmp	x0, #1
	b.ge	LBB0_5
LBB0_10:
	mov	w8, #1
	str	w8, [x20]
LBB0_11:
	strb	wzr, [x22]
	sub	w0, w22, w19
	b	LBB0_13
LBB0_12:
	mov	w0, #-1
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
