	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _warc_rduri
__warc_rduri:                           ## @_warc_rduri
	.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	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	leaq	__warc_rduri._key(%rip), %rdx
	movq	%rsi, %rdi
	movl	%r13d, %esi
	movl	$18, %ecx
	callq	_xmemmem
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%rax, %r12
	leaq	18(%rax), %rbx
	addl	%r13d, %r14d
	subl	%ebx, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	__warc_find_eol
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_23
## %bb.2:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	cmpq	%r13, %rbx
	jae	LBB0_8
## %bb.3:
	movq	%r13, %rax
	subq	%r12, %rax
	addq	$-18, %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	%r13, %rbx
LBB0_8:
	subq	%rbx, %r13
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	$3, %ecx
	callq	_xmemmem
	testq	%rax, %rax
	je	LBB0_23
## %bb.9:
	movq	%rax, %r12
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	jae	LBB0_13
## %bb.10:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%r14), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%r14
	cmpq	%r14, %r13
	jne	LBB0_12
LBB0_13:
	leaq	3(%rbx), %rax
	cmpq	%rax, %r12
	jb	LBB0_23
## %bb.14:
	addq	$3, %r12
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_23
LBB0_18:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %r12
	jae	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	1(%r12), %rax
	cmpb	$47, (%r12)
	movq	%rax, %r12
	jne	LBB0_19
	jmp	LBB0_22
LBB0_15:
	movq	%r12, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_20:
	movq	%r12, %rax
LBB0_22:
	movq	%rax, 8(%r15)
	subl	%eax, %ecx
	movl	%ecx, 16(%r15)
LBB0_23:
	movq	%r15, %rax
	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_rduri._key
__warc_rduri._key:
	.asciz	"\r\nWARC-Target-URI:"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"://"

L_.str.1:                               ## @.str.1
	.asciz	"file"

L_.str.2:                               ## @.str.2
	.asciz	"http"

L_.str.3:                               ## @.str.3
	.asciz	"ftp"

	.no_dead_strip	__warc_rduri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _warc_rduri
__warc_rduri:                           ; @_warc_rduri
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x23, x0
	mov	x19, x8
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8]
Lloh0:
	adrp	x2, __warc_rduri._key@PAGE
Lloh1:
	add	x2, x2, __warc_rduri._key@PAGEOFF
	mov	w3, #18
	bl	_xmemmem
	cbz	x0, LBB0_19
; %bb.1:
	mov	x22, x0
	add	x21, x0, #18
	add	w8, w23, w20
	sub	w1, w8, w21
	mov	x0, x21
	bl	__warc_find_eol
	cbz	x0, LBB0_19
; %bb.2:
	mov	x20, x0
	cmp	x21, x0
	b.hs	LBB0_7
; %bb.3:
	sub	x8, x20, x22
	sub	x8, x8, #18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21]
	cmp	w9, #32
	ccmp	w9, #9, #4, ne
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	subs	x8, x8, #1
	b.ne	LBB0_4
; %bb.6:
	mov	x21, x20
LBB0_7:
	sub	x22, x20, x21
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	w3, #3
	bl	_xmemmem
	cbz	x0, LBB0_19
; %bb.8:
	mov	x23, x0
	cmp	x21, x20
	b.hs	LBB0_12
; %bb.9:
	mov	x24, x21
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x24]
	bl	_isspace
	cbnz	x0, LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x24, x24, #1
	subs	x22, x22, #1
	b.ne	LBB0_10
LBB0_12:
	add	x8, x21, #3
	cmp	x23, x8
	b.lo	LBB0_19
; %bb.13:
	add	x22, x23, #3
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_18
; %bb.14:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_16
; %bb.15:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w2, #3
	bl	_memcmp
	cbnz	x0, LBB0_19
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cmp	x22, x20
	b.hs	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldrb	w8, [x22], #1
	cmp	w8, #47
	b.ne	LBB0_16
LBB0_18:
	str	x22, [x19, #8]
	sub	w8, w20, w22
	str	w8, [x19, #16]
LBB0_19:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
__warc_rduri._key:                      ; @_warc_rduri._key
	.asciz	"\r\nWARC-Target-URI:"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"://"

l_.str.1:                               ; @.str.1
	.asciz	"file"

l_.str.2:                               ; @.str.2
	.asciz	"http"

l_.str.3:                               ; @.str.3
	.asciz	"ftp"

	.no_dead_strip	__warc_rduri
.subsections_via_symbols
