	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readBodyToReqBuf
_readBodyToReqBuf:                      ## @readBodyToReqBuf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	subq	8(%rdi), %rax
	jle	LBB0_1
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	56(%rdi), %rcx
	movq	(%rcx), %rsi
	movq	%rsi, 8(%rdi)
	movq	%rsi, (%rdi)
	subq	%rsi, %rax
	js	LBB0_2
## %bb.3:
	movq	16(%rbx), %rdx
	subq	24(%rbx), %rdx
	cmpq	%rdx, %rax
	cmovlq	%rax, %rdx
	movl	48(%rbx), %edi
	addq	40(%rbx), %rsi
	callq	_lsapi_read
	testq	%rax, %rax
	jle	LBB0_5
## %bb.4:
	addq	%rax, (%rbx)
	jmp	LBB0_5
LBB0_2:
	movl	$-1, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_readBodyToReqBuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readBodyToReqBuf
_readBodyToReqBuf:                      ; @readBodyToReqBuf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	x8, x9, [x0]
	sub	x0, x8, x9
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.1:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
LBB0_2:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x19, #56]
	ldr	x8, [x8]
	stp	x8, x8, [x19]
	ldr	x9, [x19, #32]
	subs	x9, x9, x8
	b.mi	LBB0_6
; %bb.4:
	ldp	x10, x11, [x19, #16]
	sub	x10, x10, x11
	cmp	x9, x10
	csel	x2, x9, x10, lt
	ldr	w0, [x19, #48]
	ldr	x9, [x19, #40]
	add	x1, x9, x8
	bl	_lsapi_read
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.5:
	ldr	x8, [x19]
	add	x8, x8, x0
	str	x8, [x19]
	b	LBB0_2
LBB0_6:
	mov	w0, #-1
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_readBodyToReqBuf
.subsections_via_symbols
