	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serf_iovec_read_iovec
_serf_iovec_read_iovec:                 ## @serf_iovec_read_iovec
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r10
	movl	$0, (%r8)
	movq	(%r10), %r14
	movq	8(%r10), %r9
	cmpq	%r9, %r14
	jae	LBB0_7
## %bb.1:
	movq	24(%r10), %rax
	movq	%r14, %rdi
	shlq	$4, %rdi
	leaq	(%rax,%rdi), %r15
	addq	$8, %r15
	xorl	%ebx, %ebx
	movq	_SERF_READ_ALL_AVAIL@GOTPCREL(%rip), %r11
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	subq	%rdi, %rsi
	movl	(%r8), %ebx
	incl	%ebx
	movl	%ebx, (%r8)
	incq	%r14
	movq	%r14, (%r10)
	addq	$16, %r15
	cmpq	%r14, %r9
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r11), %r13
	cmpq	%r13, %rsi
	setne	%dil
	testq	%rsi, %rsi
	setle	%al
	andb	%dil, %al
	cmpb	$1, %al
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, %ebx
	jge	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdi
	movslq	16(%r10), %r12
	movq	-8(%r15), %rax
	addq	%r12, %rax
	movslq	%ebx, %rbx
	shlq	$4, %rbx
	subq	%r12, %rdi
	movq	%rax, (%rcx,%rbx)
	addq	%rcx, %rbx
	addq	$8, %rbx
	cmpq	%r13, %rsi
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rsi
	jl	LBB0_6
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, (%rbx)
	movl	$0, 16(%r10)
	cmpq	(%r11), %rsi
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_11
LBB0_6:
	movq	%rsi, (%rbx)
	addl	%r12d, %esi
	movl	%esi, 16(%r10)
	incl	(%r8)
LBB0_7:
	cmpq	%r9, %r14
	jne	LBB0_8
LBB0_12:
	cmpl	$0, 16(%r10)
	je	LBB0_13
LBB0_8:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_APR_EOF@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERF_READ_ALL_AVAIL,8,3        ## @SERF_READ_ALL_AVAIL
	.comm	_APR_EOF,4,2                    ## @APR_EOF
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.no_dead_strip	_serf_iovec_read_iovec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serf_iovec_read_iovec
_serf_iovec_read_iovec:                 ; @serf_iovec_read_iovec
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	str	wzr, [x4]
	ldp	x10, x9, [x8]
	cmp	x10, x9
	b.hs	LBB0_6
; %bb.1:
	mov	w13, #0
	ldr	x11, [x8, #24]
	add	x11, x11, x10, lsl #4
	add	x11, x11, #8
Lloh0:
	adrp	x12, _SERF_READ_ALL_AVAIL@GOTPAGE
Lloh1:
	ldr	x12, [x12, _SERF_READ_ALL_AVAIL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x12]
	cmp	x1, x14
	ccmp	x1, #1, #0, ne
	ccmp	w13, w2, #0, ge
	b.ge	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x16, x17, [x11, #-8]
	ldrsw	x15, [x8, #16]
	add	x0, x16, x15
	add	x16, x3, w13, sxtw #4
	str	x0, [x16], #8
	sub	x13, x17, x15
	cmp	x1, x14
	ccmp	x1, x13, #0, ne
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x13, [x16]
	str	wzr, [x8, #16]
	ldr	x14, [x12]
	cmp	x1, x14
	csel	x13, xzr, x13, eq
	sub	x1, x1, x13
	ldr	w13, [x4]
	add	w13, w13, #1
	str	w13, [x4]
	add	x10, x10, #1
	str	x10, [x8]
	add	x11, x11, #16
	cmp	x9, x10
	b.ne	LBB0_2
	b	LBB0_7
LBB0_5:
	str	x1, [x16]
	add	w11, w15, w1
	str	w11, [x8, #16]
	ldr	w11, [x4]
	add	w11, w11, #1
	str	w11, [x4]
LBB0_6:
	cmp	x10, x9
	b.ne	LBB0_8
LBB0_7:
	ldr	w8, [x8, #16]
	cbz	w8, LBB0_9
LBB0_8:
Lloh2:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ret
LBB0_9:
Lloh5:
	adrp	x8, _APR_EOF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _APR_EOF@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SERF_READ_ALL_AVAIL,8,3        ; @SERF_READ_ALL_AVAIL
	.comm	_APR_EOF,4,2                    ; @APR_EOF
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.no_dead_strip	_serf_iovec_read_iovec
.subsections_via_symbols
