	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _warc_rdlen
__warc_rdlen:                           ## @_warc_rdlen
	.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
	pushq	%rax
	.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, %r15
	movq	$0, -48(%rbp)
	leaq	__warc_rdlen._key(%rip), %rdx
	movl	$17, %ecx
	callq	_xmemmem
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r12
	leaq	17(%rax), %rbx
	addl	%r13d, %r15d
	subl	%ebx, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	__warc_find_eol
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %r15
	cmpq	%rax, %rbx
	jae	LBB0_8
## %bb.3:
	movq	%r15, %rax
	subq	%r12, %rax
	addq	$-17, %rax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	decq	%rax
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %ecx
	cmpb	$32, %cl
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$9, %cl
	je	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movq	%r15, %rbx
LBB0_8:
	movzbl	(%rbx), %edi
	callq	_isdigit
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-48(%rbp), %rcx
	xorq	%r15, %rcx
	orq	(%r14), %rcx
	movl	$-1, %r14d
	cmovel	%eax, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @_warc_rdlen._key
__warc_rdlen._key:
	.asciz	"\r\nContent-Length:"

	.comm	_errno,8,3                      ## @errno
	.no_dead_strip	__warc_rdlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _warc_rdlen
__warc_rdlen:                           ; @_warc_rdlen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x22, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x2, __warc_rdlen._key@PAGE
Lloh1:
	add	x2, x2, __warc_rdlen._key@PAGEOFF
	mov	w3, #17
	bl	_xmemmem
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	add	x19, x0, #17
	add	w8, w22, w20
	sub	w1, w8, w19
	mov	x0, x19
	bl	__warc_find_eol
	cbz	x0, LBB0_9
; %bb.2:
	mov	x20, x0
	cmp	x19, x0
	b.hs	LBB0_7
; %bb.3:
	sub	x8, x20, x21
	sub	x8, x8, #17
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x19]
	cmp	w9, #32
	ccmp	w9, #9, #4, ne
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	subs	x8, x8, #1
	b.ne	LBB0_4
; %bb.6:
	mov	x19, x20
LBB0_7:
	ldrb	w0, [x19]
	bl	_isdigit
	cbz	w0, LBB0_9
; %bb.8:
Lloh2:
	adrp	x21, _errno@GOTPAGE
Lloh3:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	xzr, [x21]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #10
	bl	_strtol
	ldr	x8, [x21]
	ldr	x9, [sp, #8]
	cmp	x9, x20
	ccmp	x8, #0, #0, eq
	csinv	w0, w0, wzr, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
__warc_rdlen._key:                      ; @_warc_rdlen._key
	.asciz	"\r\nContent-Length:"

	.comm	_errno,8,3                      ; @errno
	.no_dead_strip	__warc_rdlen
.subsections_via_symbols
