	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_decode
_test_decode:                           ## @test_decode
	.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	$0, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	leaq	-48(%rbp), %rdi
	movl	%eax, %esi
	callq	_h2o_cache_digests_load_header
	xorl	%edi, %edi
	cmpq	$0, -48(%rbp)
	setne	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpl	$1, 8(%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$0, 24(%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	movq	16(%rax), %rax
	xorl	%edi, %edi
	cmpl	$7, (%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	movq	16(%rax), %rax
	xorl	%edi, %edi
	cmpl	$1, 8(%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	movq	16(%rax), %rax
	movq	16(%rax), %rax
	xorl	%edi, %edi
	cmpl	$11, (%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rbx
	leaq	L_.str.1(%rip), %r14
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_h2o_cache_digests_lookup_by_url
	movq	_H2O_CACHE_DIGESTS_STATE_FRESH@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rbx
	leaq	L_.str.2(%rip), %r12
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_h2o_cache_digests_lookup_by_url
	movq	_H2O_CACHE_DIGESTS_STATE_UNKNOWN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	leaq	L_.str.3(%rip), %rdi
	callq	_H2O_STRLIT
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_h2o_cache_digests_load_header
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$1, 8(%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$1, 24(%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	movq	32(%rax), %rax
	xorl	%edi, %edi
	cmpl	$7, (%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	movq	32(%rax), %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	movl	(%rax), %edi
	callq	_ok
	movq	-48(%rbp), %rbx
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_h2o_cache_digests_lookup_by_url
	movq	_H2O_CACHE_DIGESTS_STATE_NOT_CACHED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rbx
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_h2o_cache_digests_lookup_by_url
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	sete	%dil
	callq	_ok
	leaq	L_.str.4(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_h2o_cache_digests_load_header
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$1, 8(%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$0, 24(%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	movq	16(%rax), %rax
	xorl	%edi, %edi
	cmpl	$7, (%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	movq	16(%rax), %rax
	xorl	%edi, %edi
	cmpl	$0, 8(%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rdi
	callq	_h2o_cache_digests_destroy
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AeLA"

L_.str.1:                               ## @.str.1
	.asciz	"https://127.0.0.1.xip.io:8081/cache-digests.cgi/hello.js"

	.comm	_H2O_CACHE_DIGESTS_STATE_FRESH,8,3 ## @H2O_CACHE_DIGESTS_STATE_FRESH
L_.str.2:                               ## @.str.2
	.asciz	"https://127.0.0.1.xip.io:8081/notfound.js"

	.comm	_H2O_CACHE_DIGESTS_STATE_UNKNOWN,8,3 ## @H2O_CACHE_DIGESTS_STATE_UNKNOWN
L_.str.3:                               ## @.str.3
	.asciz	"FOO; stale, AcA; validators; complete"

	.comm	_H2O_CACHE_DIGESTS_STATE_NOT_CACHED,8,3 ## @H2O_CACHE_DIGESTS_STATE_NOT_CACHED
L_.str.4:                               ## @.str.4
	.asciz	"AcA; reset"

	.no_dead_strip	_test_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_decode
_test_decode:                           ; @test_decode
	.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
	str	xzr, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
	mov	x1, x0
	add	x0, sp, #8
	bl	_h2o_cache_digests_load_header
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_ok
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x8, #8]
	cmp	w8, #1
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	w8, [x8, #24]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #16]
	ldr	w8, [x8]
	cmp	w8, #7
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #16]
	ldr	w8, [x8, #8]
	cmp	w8, #1
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #16]
	ldr	x8, [x8, #16]
	ldr	w8, [x8]
	cmp	w8, #11
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
	ldr	x20, [sp, #8]
Lloh2:
	adrp	x19, l_.str.1@PAGE
Lloh3:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_H2O_STRLIT
	mov	x1, x0
	mov	x0, x20
	bl	_h2o_cache_digests_lookup_by_url
Lloh4:
	adrp	x22, _H2O_CACHE_DIGESTS_STATE_FRESH@GOTPAGE
Lloh5:
	ldr	x22, [x22, _H2O_CACHE_DIGESTS_STATE_FRESH@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_ok
	ldr	x21, [sp, #8]
Lloh6:
	adrp	x20, l_.str.2@PAGE
Lloh7:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x1, x0
	mov	x0, x21
	bl	_h2o_cache_digests_lookup_by_url
Lloh8:
	adrp	x8, _H2O_CACHE_DIGESTS_STATE_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _H2O_CACHE_DIGESTS_STATE_UNKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_ok
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_H2O_STRLIT
	mov	x1, x0
	add	x0, sp, #8
	bl	_h2o_cache_digests_load_header
	ldr	x8, [sp, #8]
	ldr	w8, [x8, #8]
	cmp	w8, #1
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	w8, [x8, #24]
	cmp	w8, #1
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #32]
	ldr	w8, [x8]
	cmp	w8, #7
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #32]
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	bl	_ok
	ldr	x21, [sp, #8]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x1, x0
	mov	x0, x21
	bl	_h2o_cache_digests_lookup_by_url
Lloh13:
	adrp	x8, _H2O_CACHE_DIGESTS_STATE_NOT_CACHED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _H2O_CACHE_DIGESTS_STATE_NOT_CACHED@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_ok
	ldr	x20, [sp, #8]
	mov	x0, x19
	bl	_H2O_STRLIT
	mov	x1, x0
	mov	x0, x20
	bl	_h2o_cache_digests_lookup_by_url
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_ok
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_H2O_STRLIT
	mov	x1, x0
	add	x0, sp, #8
	bl	_h2o_cache_digests_load_header
	ldr	x8, [sp, #8]
	ldr	w8, [x8, #8]
	cmp	w8, #1
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	w8, [x8, #24]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #16]
	ldr	w8, [x8]
	cmp	w8, #7
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #16]
	ldr	w8, [x8, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
	ldr	x0, [sp, #8]
	bl	_h2o_cache_digests_destroy
LBB0_2:
	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 AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AeLA"

l_.str.1:                               ; @.str.1
	.asciz	"https://127.0.0.1.xip.io:8081/cache-digests.cgi/hello.js"

	.comm	_H2O_CACHE_DIGESTS_STATE_FRESH,8,3 ; @H2O_CACHE_DIGESTS_STATE_FRESH
l_.str.2:                               ; @.str.2
	.asciz	"https://127.0.0.1.xip.io:8081/notfound.js"

	.comm	_H2O_CACHE_DIGESTS_STATE_UNKNOWN,8,3 ; @H2O_CACHE_DIGESTS_STATE_UNKNOWN
l_.str.3:                               ; @.str.3
	.asciz	"FOO; stale, AcA; validators; complete"

	.comm	_H2O_CACHE_DIGESTS_STATE_NOT_CACHED,8,3 ; @H2O_CACHE_DIGESTS_STATE_NOT_CACHED
l_.str.4:                               ; @.str.4
	.asciz	"AcA; reset"

	.no_dead_strip	_test_decode
.subsections_via_symbols
