	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serf_dechunk_read
_serf_dechunk_read:                     ## @serf_dechunk_read
	.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	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %r12
	leaq	16(%r12), %r13
	leaq	LJTI0_0(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	je	LBB0_15
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, (%r14)
	testl	%ebx, %ebx
	jne	LBB0_29
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r12), %esi
	movl	8(%r12), %edi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_serf_bucket_read
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SERF_BUCKET_READ_ERROR
	testl	%eax, %eax
	jne	LBB0_29
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r12), %eax
	subl	(%r14), %eax
	movl	%eax, 4(%r12)
	je	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_APR_STATUS_IS_EOF
	testl	%eax, %eax
	jne	LBB0_27
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r12), %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r12), %esi
	movq	_SERF_NEWLINE_CRLF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_serf_linebuf_fetch
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SERF_BUCKET_READ_ERROR
	testl	%eax, %eax
	jne	LBB0_29
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	32(%r12), %eax
	movq	_SERF_LINEBUF_READY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r13), %rax
	cmpq	$8, %rax
	je	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	$0, (%rcx,%rax)
	movq	24(%r12), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_apr_strtoi64
	movl	%eax, 4(%r12)
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edi
	je	LBB0_26
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$131, (%r12)
	testl	%ebx, %ebx
	je	LBB0_3
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$129, (%r12)
	jmp	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$130, (%r12)
	movq	_APR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_3
LBB0_17:
	movl	$0, (%r14)
	jmp	LBB0_29
LBB0_18:
	movq	_APR_EGENERAL@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_19:
	movl	$0, (%r14)
	movq	_APR_EOF@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_20:
	movl	4(%r12), %eax
	movl	8(%r12), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %eax
	cmovll	%eax, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_serf_bucket_read
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SERF_BUCKET_READ_ERROR
	testl	%eax, %eax
	jne	LBB0_29
## %bb.21:
	movl	(%r14), %eax
	subl	%eax, 4(%r12)
	jne	LBB0_23
## %bb.22:
	movabsq	$8589934720, %rax               ## imm = 0x200000080
	movq	%rax, (%r12)
LBB0_23:
	movl	%ebx, %edi
	callq	_APR_STATUS_IS_EOF
	testl	%eax, %eax
	je	LBB0_29
LBB0_27:
	movq	_SERF_ERROR_TRUNCATED_HTTP_RESPONSE@GOTPCREL(%rip), %rax
LBB0_28:
	movl	(%rax), %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_26:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_APR_FROM_OS_ERROR              ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_19
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_SERF_NEWLINE_CRLF,4,2          ## @SERF_NEWLINE_CRLF
	.comm	_SERF_LINEBUF_READY,4,2         ## @SERF_LINEBUF_READY
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_errno,4,2                      ## @errno
	.comm	_APR_EOF,4,2                    ## @APR_EOF
	.comm	_SERF_ERROR_TRUNCATED_HTTP_RESPONSE,4,2 ## @SERF_ERROR_TRUNCATED_HTTP_RESPONSE
	.comm	_APR_EGENERAL,4,2               ## @APR_EGENERAL
	.no_dead_strip	_serf_dechunk_read
.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 serf_dechunk_read
lCPI0_0:
	.long	128                             ; 0x80
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_serf_dechunk_read:                     ; @serf_dechunk_read
	.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, x3
	mov	x21, x2
	str	w1, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x24, [x0]
	add	x23, x24, #16
Lloh0:
	adrp	x25, lJTI0_0@PAGE
Lloh1:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh2:
	adrp	x27, _SERF_NEWLINE_CRLF@GOTPAGE
Lloh3:
	ldr	x27, [x27, _SERF_NEWLINE_CRLF@GOTPAGEOFF]
Lloh4:
	adrp	x28, _SERF_LINEBUF_READY@GOTPAGE
Lloh5:
	ldr	x28, [x28, _SERF_LINEBUF_READY@GOTPAGEOFF]
Lloh6:
	adrp	x22, _errno@GOTPAGE
Lloh7:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
Lloh8:
	adrp	x26, _ERANGE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _ERANGE@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w8, LBB0_15
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x19]
	cbnz	w20, LBB0_29
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_5
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	w1, w0, [x24, #4]
	mov	x2, x21
	mov	x3, x19
	bl	_serf_bucket_read
	mov	x20, x0
	bl	_SERF_BUCKET_READ_ERROR
	cbnz	w0, LBB0_29
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x24, #4]
	subs	w8, w9, w8
	str	w8, [x24, #4]
	b.eq	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_APR_STATUS_IS_EOF
	cbnz	w0, LBB0_27
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24, #4]
	b	LBB0_1
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24, #8]
	ldr	w2, [x27]
	mov	x0, x23
	bl	_serf_linebuf_fetch
	mov	x20, x0
	bl	_SERF_BUCKET_READ_ERROR
	cbnz	w0, LBB0_29
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24, #32]
	ldr	w9, [x28]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x23]
	cmp	w8, #8
	b.eq	LBB0_24
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x24, #24]
	strb	wzr, [x9, x8]
	ldr	x0, [x24, #24]
	mov	x1, #0
	mov	w2, #16
	bl	_apr_strtoi64
	str	w0, [x24, #4]
	ldr	w8, [x22]
	ldr	w9, [x26]
	cmp	w8, w9
	b.eq	LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	w0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #131
	str	w8, [x24]
	cbz	w20, LBB0_3
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #129
	str	w8, [x24]
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #130
	str	w8, [x24]
Lloh10:
	adrp	x8, _APR_EOF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _APR_EOF@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	cbz	w20, LBB0_3
LBB0_17:
	str	wzr, [x19]
	b	LBB0_29
LBB0_18:
Lloh13:
	adrp	x8, _APR_EGENERAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _APR_EGENERAL@GOTPAGEOFF]
	b	LBB0_28
LBB0_19:
	str	wzr, [x19]
Lloh15:
	adrp	x8, _APR_EOF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _APR_EOF@GOTPAGEOFF]
	b	LBB0_28
LBB0_20:
	ldp	w8, w0, [x24, #4]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, w9
	csel	w1, w8, w9, lt
	mov	x2, x21
	mov	x3, x19
	bl	_serf_bucket_read
	mov	x20, x0
	bl	_SERF_BUCKET_READ_ERROR
	cbnz	w0, LBB0_29
; %bb.21:
	ldr	w8, [x19]
	ldr	w9, [x24, #4]
	subs	w8, w9, w8
	str	w8, [x24, #4]
	b.ne	LBB0_23
; %bb.22:
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x24]
LBB0_23:
	mov	x0, x20
	bl	_APR_STATUS_IS_EOF
Lloh19:
	adrp	x8, _SERF_ERROR_TRUNCATED_HTTP_RESPONSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SERF_ERROR_TRUNCATED_HTTP_RESPONSE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w20, w20, w8, eq
	b	LBB0_29
LBB0_24:
	ldr	w0, [x26]
	b	LBB0_26
LBB0_25:
	mov	x0, x8
LBB0_26:
	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
	b	_APR_FROM_OS_ERROR
LBB0_27:
Lloh22:
	adrp	x8, _SERF_ERROR_TRUNCATED_HTTP_RESPONSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SERF_ERROR_TRUNCATED_HTTP_RESPONSE@GOTPAGEOFF]
LBB0_28:
	ldr	w20, [x8]
LBB0_29:
	mov	x0, x20
	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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_19-LBB0_5)>>2
	.byte	(LBB0_20-LBB0_5)>>2
                                        ; -- End function
	.comm	_SERF_NEWLINE_CRLF,4,2          ; @SERF_NEWLINE_CRLF
	.comm	_SERF_LINEBUF_READY,4,2         ; @SERF_LINEBUF_READY
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
	.comm	_APR_EOF,4,2                    ; @APR_EOF
	.comm	_SERF_ERROR_TRUNCATED_HTTP_RESPONSE,4,2 ; @SERF_ERROR_TRUNCATED_HTTP_RESPONSE
	.comm	_APR_EGENERAL,4,2               ; @APR_EGENERAL
	.no_dead_strip	_serf_dechunk_read
.subsections_via_symbols
