	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _warc_rdtyp
__warc_rdtyp:                           ## @_warc_rdtyp
	.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, %r12
	movq	%rdi, %r15
	leaq	__warc_rdtyp._key(%rip), %rdx
	movl	$12, %ecx
	callq	_xmemmem
	movq	_WT_NONE@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r14
	leaq	12(%rax), %rbx
	addl	%r12d, %r15d
	subl	%ebx, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	__warc_find_eol
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	cmpq	%rax, %rbx
	jae	LBB0_8
## %bb.3:
	movq	%rax, %rcx
	subq	%r14, %rcx
	addq	$-12, %rcx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	decq	%rcx
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edx
	cmpb	$32, %dl
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$9, %dl
	je	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movq	%rax, %rbx
LBB0_8:
	leaq	8(%rbx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_9
LBB0_13:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	_WT_RSP@GOTPCREL(%rip), %r13
	jmp	LBB0_13
LBB0_10:
	movq	_WT_RSRC@GOTPCREL(%rip), %r13
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
__warc_rdtyp._key:                      ## @_warc_rdtyp._key
	.asciz	"\r\nWARC-Type:"

	.comm	_WT_NONE,4,2                    ## @WT_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resource"

	.comm	_WT_RSRC,4,2                    ## @WT_RSRC
L_.str.1:                               ## @.str.1
	.asciz	"response"

	.comm	_WT_RSP,4,2                     ## @WT_RSP
	.no_dead_strip	__warc_rdtyp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _warc_rdtyp
__warc_rdtyp:                           ; @_warc_rdtyp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x2, __warc_rdtyp._key@PAGE
Lloh1:
	add	x2, x2, __warc_rdtyp._key@PAGEOFF
	mov	w3, #12
	bl	_xmemmem
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	add	x19, x0, #12
	add	w8, w22, w21
	sub	w1, w8, w19
	mov	x0, x19
	bl	__warc_find_eol
	cbz	x0, LBB0_8
; %bb.2:
	cmp	x19, x0
	b.hs	LBB0_7
; %bb.3:
	sub	x8, x0, x20
	sub	x8, x8, #12
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, x0
LBB0_7:
	add	x8, x19, #8
	cmp	x8, x0
	b.eq	LBB0_10
LBB0_8:
Lloh2:
	adrp	x8, _WT_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WT_NONE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #8
	bl	_memcmp
	cbz	x0, LBB0_13
; %bb.11:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #8
	bl	_memcmp
	cbnz	x0, LBB0_8
; %bb.12:
Lloh8:
	adrp	x8, _WT_RSP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WT_RSP@GOTPAGEOFF]
	b	LBB0_9
LBB0_13:
Lloh10:
	adrp	x8, _WT_RSRC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WT_RSRC@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
__warc_rdtyp._key:                      ; @_warc_rdtyp._key
	.asciz	"\r\nWARC-Type:"

	.comm	_WT_NONE,4,2                    ; @WT_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resource"

	.comm	_WT_RSRC,4,2                    ; @WT_RSRC
l_.str.1:                               ; @.str.1
	.asciz	"response"

	.comm	_WT_RSP,4,2                     ; @WT_RSP
	.no_dead_strip	__warc_rdtyp
.subsections_via_symbols
