	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_parse_range
_http_parse_range:                      ## @http_parse_range
	.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, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$6, %edx
	callq	_strncasecmp
	movl	$-1, %r13d
	testq	%rax, %rax
	je	LBB0_1
LBB0_26:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movb	6(%rbx), %al
	testb	%al, %al
	je	LBB0_26
## %bb.2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	cmpb	$42, %al
	jne	LBB0_3
## %bb.13:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	addq	$7, %rbx
	movl	$-1, %r15d
	movl	$-1, %r14d
LBB0_14:
	cmpb	$47, (%rbx)
	jne	LBB0_26
## %bb.15:
	movb	1(%rbx), %al
	testb	%al, %al
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.17:
	addq	$2, %rbx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	leal	(%r12,%r12,4), %eax
	movsbl	-1(%rbx), %ecx
	leal	(%rcx,%rax,2), %r12d
	addl	$-48, %r12d
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_18
	jmp	LBB0_21
LBB0_3:
	addq	$7, %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	(%r14,%r14,4), %eax
	movsbl	-1(%rbx), %ecx
	leal	(%rcx,%rax,2), %r14d
	addl	$-48, %r14d
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_4
	jmp	LBB0_26
LBB0_6:
	cmpb	$45, -1(%rbx)
	jne	LBB0_26
## %bb.7:
	movb	(%rbx), %al
	testb	%al, %al
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.9:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	(%r15,%r15,4), %eax
	movsbl	(%rbx), %ecx
	leal	(%rcx,%rax,2), %r15d
	addl	$-48, %r15d
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_10
	jmp	LBB0_12
LBB0_16:
	xorl	%r12d, %r12d
	jmp	LBB0_21
LBB0_20:
	cmpb	$0, -1(%rbx)
	jne	LBB0_26
LBB0_21:
	movl	%r15d, %ebx
	subl	%r14d, %ebx
	cmpl	%ebx, %r12d
	jle	LBB0_26
## %bb.22:
	cmpl	$-1, %r14d
	je	LBB0_23
## %bb.24:
	incl	%ebx
	movslq	%r14d, %rsi
	movslq	%r15d, %rdx
	movslq	%r12d, %rcx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DEBUGF
	jmp	LBB0_25
LBB0_8:
	xorl	%r15d, %r15d
LBB0_12:
	cmpl	%r14d, %r15d
	jl	LBB0_26
	jmp	LBB0_14
LBB0_23:
	movslq	%r12d, %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_DEBUGF
LBB0_25:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	xorl	%r13d, %r13d
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bytes "

L_.str.1:                               ## @.str.1
	.asciz	"content range: [*/%lld]\n"

L_.str.2:                               ## @.str.2
	.asciz	"content range: [%lld-%lld/%lld]\n"

	.no_dead_strip	_http_parse_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_parse_range
_http_parse_range:                      ; @http_parse_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #6
	bl	_strncasecmp
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #-1
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_3:
	ldrb	w8, [x22, #6]
	cbz	w8, LBB0_1
; %bb.4:
	cmp	w8, #42
	b.ne	LBB0_11
; %bb.5:
	add	x22, x22, #7
	mov	w24, #-1
	mov	w23, #-1
LBB0_6:
	ldrb	w8, [x22]
	cmp	w8, #47
	b.ne	LBB0_1
; %bb.7:
	ldrb	w8, [x22, #1]!
	cbz	w8, LBB0_19
; %bb.8:
	mov	w25, #0
	mov	w26, #10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	and	w0, w8, #0xff
	bl	_isdigit
	cbz	x0, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrsb	w8, [x22]
	madd	w8, w25, w26, w8
	sub	w25, w8, #48
	ldrb	w8, [x22, #1]!
	cbnz	w8, LBB0_9
	b	LBB0_21
LBB0_11:
	mov	w23, #0
	add	x22, x22, #7
	mov	w24, #10
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	and	w0, w8, #0xff
	bl	_isdigit
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldursb	w8, [x22, #-1]
	madd	w8, w23, w24, w8
	sub	w23, w8, #48
	ldrb	w8, [x22], #1
	cbnz	w8, LBB0_12
	b	LBB0_1
LBB0_14:
	ldurb	w8, [x22, #-1]
	cmp	w8, #45
	b.ne	LBB0_1
; %bb.15:
	ldrb	w8, [x22]
	cbz	w8, LBB0_24
; %bb.16:
	mov	w24, #0
	mov	w25, #10
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	and	w0, w8, #0xff
	bl	_isdigit
	cbz	x0, LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldrsb	w8, [x22]
	madd	w8, w24, w25, w8
	sub	w24, w8, #48
	ldrb	w8, [x22, #1]!
	cbnz	w8, LBB0_17
	b	LBB0_25
LBB0_19:
	mov	w25, #0
	b	LBB0_21
LBB0_20:
	ldrb	w8, [x22]
	cbnz	w8, LBB0_1
LBB0_21:
	sub	w8, w24, w23
	cmp	w25, w8
	b.le	LBB0_1
; %bb.22:
	cmn	w23, #1
	b.eq	LBB0_26
; %bb.23:
	add	w22, w8, #1
	sxtw	x1, w23
	sxtw	x8, w24
	mov	x9, x25
	sxtw	x9, w9
	stp	x8, x9, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DEBUGF
	b	LBB0_27
LBB0_24:
	mov	w24, #0
LBB0_25:
	cmp	w24, w23
	b.lt	LBB0_1
	b	LBB0_6
LBB0_26:
	sxtw	x1, w25
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DEBUGF
	mov	w22, #0
LBB0_27:
	mov	w0, #0
	str	w22, [x21]
	str	w23, [x20]
	str	w25, [x19]
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bytes "

l_.str.1:                               ; @.str.1
	.asciz	"content range: [*/%lld]\n"

l_.str.2:                               ; @.str.2
	.asciz	"content range: [%lld-%lld/%lld]\n"

	.no_dead_strip	_http_parse_range
.subsections_via_symbols
