	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_aggregate
_read_aggregate:                        ## @read_aggregate
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rsi
	movq	(%rdi), %r15
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	$0, (%r8)
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rcx, %rbx
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rcx
	testq	%r13, %r13
	je	LBB0_4
## %bb.5:
	movl	%edx, %r12d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rdi
	leaq	-44(%rbp), %r8
	movq	%r13, %rsi
	movq	%rbx, %rcx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_6 Depth=1
	cltq
	leaq	(%rbx,%rax,8), %rbx
LBB0_32:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r15), %rax
	movq	8(%rax), %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	leaq	-44(%rbp), %r8
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
	callq	_serf_bucket_read_iovec
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_SERF_BUCKET_READ_ERROR
	testq	%rax, %rax
	jne	LBB0_35
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, (%rcx)
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	jle	LBB0_32
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%r14d, %edi
	callq	_APR_STATUS_IS_EAGAIN
	testq	%rax, %rax
	jne	LBB0_35
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_SERF_ERROR_WAIT_CONN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_35
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r15), %rax
	movq	24(%r15), %rcx
	movq	(%rax), %rdx
	movq	%rcx, (%rax)
	movq	%rax, 24(%r15)
	movq	%rdx, 16(%r15)
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %eax
	movq	_SERF_READ_ALL_AVAIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	je	LBB0_29
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	jle	LBB0_29
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$4, %eax
	jae	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_28
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %ecx
	andl	$-4, %ecx
	movq	%r13, %xmm0
	leaq	-4(%rcx), %rsi
	movq	%rsi, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %edx
	andl	$3, %edx
	cmpq	$12, %rsi
	jae	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	pxor	%xmm1, %xmm1
	xorl	%esi, %esi
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	andq	$-4, %rdi
	pxor	%xmm1, %xmm1
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%rbx,%rsi,8), %xmm2
	movdqu	16(%rbx,%rsi,8), %xmm3
	movdqu	32(%rbx,%rsi,8), %xmm4
	paddq	%xmm2, %xmm4
	movdqu	48(%rbx,%rsi,8), %xmm2
	paddq	%xmm3, %xmm2
	movdqu	64(%rbx,%rsi,8), %xmm3
	movdqu	80(%rbx,%rsi,8), %xmm5
	movdqu	96(%rbx,%rsi,8), %xmm6
	paddq	%xmm3, %xmm6
	paddq	%xmm4, %xmm6
	psubq	%xmm6, %xmm0
	movdqu	112(%rbx,%rsi,8), %xmm3
	paddq	%xmm5, %xmm3
	paddq	%xmm2, %xmm3
	psubq	%xmm3, %xmm1
	addq	$16, %rsi
	addq	$-4, %rdi
	jne	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	testq	%rdx, %rdx
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%rbx,%rsi,8), %rsi
	addq	$16, %rsi
	shlq	$5, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-16(%rsi,%rdi), %xmm2
	psubq	%xmm2, %xmm0
	movdqu	(%rsi,%rdi), %xmm2
	psubq	%xmm2, %xmm1
	addq	$32, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %r13
	cmpq	%rax, %rcx
	je	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	subq	(%rbx,%rcx,8), %r13
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_28
LBB0_29:                                ##   in Loop: Header=BB0_6 Depth=1
	testq	%r13, %r13
	je	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_6 Depth=1
	subl	%eax, %r12d
	jne	LBB0_31
LBB0_33:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_1:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.36:
	movl	(%r15), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_4:
	movl	(%rcx), %r14d
	jmp	LBB0_35
LBB0_10:
	xorl	%r14d, %r14d
	jmp	LBB0_35
LBB0_14:
	movq	8(%r15), %rax
	testq	%rax, %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_2
## %bb.15:
	movl	(%r15), %edi
	callq	*%rax
	movl	%eax, %r14d
	jmp	LBB0_35
LBB0_2:
	movq	_APR_EOF@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %r14d
LBB0_35:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_EOF,4,2                    ## @APR_EOF
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.comm	_SERF_ERROR_WAIT_CONN,4,2       ## @SERF_ERROR_WAIT_CONN
	.comm	_SERF_READ_ALL_AVAIL,8,3        ## @SERF_READ_ALL_AVAIL
	.no_dead_strip	_read_aggregate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_aggregate
_read_aggregate:                        ; @read_aggregate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x25, [x0]
	str	wzr, [x4]
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_21
; %bb.1:
	mov	x23, x1
Lloh0:
	adrp	x26, _APR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x26, [x26, _APR_SUCCESS@GOTPAGEOFF]
	cbz	x1, LBB0_23
; %bb.2:
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	ldr	x0, [x8, #8]
	add	x4, sp, #12
	mov	x1, x23
	bl	_serf_bucket_read_iovec
	mov	x24, x0
	bl	_SERF_BUCKET_READ_ERROR
	cbnz	x0, LBB0_27
; %bb.3:
Lloh2:
	adrp	x27, _SERF_ERROR_WAIT_CONN@GOTPAGE
Lloh3:
	ldr	x27, [x27, _SERF_ERROR_WAIT_CONN@GOTPAGEOFF]
Lloh4:
	adrp	x28, _SERF_READ_ALL_AVAIL@GOTPAGE
Lloh5:
	ldr	x28, [x28, _SERF_READ_ALL_AVAIL@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x8, w8
	sub	w22, w22, w8
	cmp	x23, #0
	ccmp	w22, #0, #4, ne
	b.eq	LBB0_23
; %bb.5:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, x8, lsl #3
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x25, #16]
	ldr	x0, [x8, #8]
	add	x4, sp, #12
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_serf_bucket_read_iovec
	mov	x24, x0
	bl	_SERF_BUCKET_READ_ERROR
	cbnz	x0, LBB0_27
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	ldr	w8, [sp, #12]
	ldr	w9, [x20]
	add	w9, w9, w8
	str	w9, [x20]
	cbnz	w24, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #1
	b.lt	LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	cbz	w24, LBB0_27
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	bl	_APR_STATUS_IS_EAGAIN
	cbnz	x0, LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27]
	cmp	w24, w8
	b.eq	LBB0_27
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldp	x8, x9, [x25, #16]
	ldr	x10, [x8]
	str	x9, [x8]
	stp	x10, x8, [x25, #16]
	cbz	x10, LBB0_24
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x28]
	ldr	w8, [sp, #12]
	cmp	x23, x9
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #8
	b.hs	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x9, #0
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	and	x9, x8, #0xfffffff8
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.d	v1[0], x23
	add	x10, x21, #32
	mov	x11, x9
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_17:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q4, q5, [x10, #-32]
	ldp	q6, q7, [x10], #64
	sub.2d	v1, v1, v4
	sub.2d	v0, v0, v5
	sub.2d	v2, v2, v6
	sub.2d	v3, v3, v7
	subs	x11, x11, #8
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	add.2d	v0, v0, v1
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x23, d0
	cmp	x9, x8
	b.eq	LBB0_4
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x10, x21, x9, lsl #3
	sub	x9, x8, x9
LBB0_20:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x10], #8
	sub	x23, x23, x11
	subs	x9, x9, #1
	b.ne	LBB0_20
	b	LBB0_4
LBB0_21:
	ldr	x2, [x25, #8]
	cbz	x2, LBB0_26
; %bb.22:
	ldr	w0, [x25]
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	br	x2
LBB0_23:
	ldr	w24, [x26]
	b	LBB0_27
LBB0_24:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_26
; %bb.25:
	ldr	w0, [x25]
	mov	x1, x19
	blr	x8
	mov	x24, x0
	b	LBB0_27
LBB0_26:
Lloh6:
	adrp	x8, _APR_EOF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_EOF@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
LBB0_27:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_EOF,4,2                    ; @APR_EOF
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.comm	_SERF_ERROR_WAIT_CONN,4,2       ; @SERF_ERROR_WAIT_CONN
	.comm	_SERF_READ_ALL_AVAIL,8,3        ; @SERF_READ_ALL_AVAIL
	.no_dead_strip	_read_aggregate
.subsections_via_symbols
