	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_lib__common__cache_c      ## -- Begin function test_lib__common__cache_c
	.p2align	4, 0x90
_test_lib__common__cache_c:             ## @test_lib__common__cache_c
	.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	_H2O_CACHE_FLAG_EARLY_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_on_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1024, %esi                     ## imm = 0x400
	movl	$1000, %edx                     ## imm = 0x3E8
	callq	_h2o_cache_create
	movq	%rax, %r12
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%eax, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_h2o_cache_fetch
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_h2o_cache_set
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_h2o_cache_delete
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_h2o_cache_fetch
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_h2o_cache_set
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_h2o_cache_fetch
	movq	%rax, %rbx
	movl	(%rax), %r13d
	movl	4(%rax), %r15d
	leaq	L_.str.1(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_h2o_cache_release
	movq	%r12, %rdi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_h2o_cache_fetch
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movq	%r12, %rdi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_h2o_cache_fetch
	movq	%rax, %rbx
	movl	(%rax), %r15d
	movl	4(%rax), %r13d
	leaq	L_.str.1(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%r13d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_h2o_cache_release
	leaq	L_.str.2(%rip), %r15
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r12, %rdi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_h2o_cache_set
	movq	%r12, %rdi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_h2o_cache_fetch
	movq	%rax, %rbx
	movl	(%rax), %r14d
	movl	4(%rax), %r13d
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_h2o_cache_release
	movq	_bytes_destroyed@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpl	$10, (%rbx)
	sete	%dil
	callq	_ok
	movq	%r12, %rdi
	callq	_h2o_cache_destroy
	xorl	%edi, %edi
	cmpl	$16, (%rbx)
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ok                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_CACHE_FLAG_EARLY_UPDATE,4,2 ## @H2O_CACHE_FLAG_EARLY_UPDATE
	.comm	_on_destroy,4,2                 ## @on_destroy
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"key"

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

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

	.comm	_bytes_destroyed,4,2            ## @bytes_destroyed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_lib__common__cache_c      ; -- Begin function test_lib__common__cache_c
	.p2align	2
_test_lib__common__cache_c:             ; @test_lib__common__cache_c
	.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
Lloh0:
	adrp	x8, _H2O_CACHE_FLAG_EARLY_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_CACHE_FLAG_EARLY_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _on_destroy@GOTPAGE
Lloh4:
	ldr	x8, [x8, _on_destroy@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w1, #1024
	mov	w2, #1000
	bl	_h2o_cache_create
	mov	x19, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
	mov	w20, w0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	w3, #0
	bl	_h2o_cache_fetch
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x4, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	w3, #0
	bl	_h2o_cache_set
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	w3, #0
	bl	_h2o_cache_delete
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	w3, #0
	bl	_h2o_cache_fetch
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x4, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	w3, #0
	bl	_h2o_cache_set
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	w3, #0
	bl	_h2o_cache_fetch
	mov	x22, x0
	ldp	w24, w23, [x0]
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	bl	_ok
	mov	x0, x19
	mov	x1, x22
	bl	_h2o_cache_release
	mov	x0, x19
	mov	w1, #999
	mov	x2, x20
	mov	w3, #0
	bl	_h2o_cache_fetch
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	mov	x0, x19
	mov	w1, #999
	mov	x2, x20
	mov	w3, #0
	bl	_h2o_cache_fetch
	mov	x22, x0
	ldp	w24, w23, [x0]
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	bl	_ok
	mov	x0, x19
	mov	x1, x22
	bl	_h2o_cache_release
Lloh10:
	adrp	x21, l_.str.2@PAGE
Lloh11:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x4, x0
	mov	x0, x19
	mov	w1, #999
	mov	x2, x20
	mov	w3, #0
	bl	_h2o_cache_set
	mov	x0, x19
	mov	w1, #999
	mov	x2, x20
	mov	w3, #0
	bl	_h2o_cache_fetch
	mov	x20, x0
	ldp	w23, w22, [x0]
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	mov	x0, x19
	mov	x1, x20
	bl	_h2o_cache_release
Lloh12:
	adrp	x20, _bytes_destroyed@GOTPAGE
Lloh13:
	ldr	x20, [x20, _bytes_destroyed@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #10
	cset	w0, eq
	bl	_ok
	mov	x0, x19
	bl	_h2o_cache_destroy
	ldr	w8, [x20]
	cmp	w8, #16
	cset	w0, eq
	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
	b	_ok
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_CACHE_FLAG_EARLY_UPDATE,4,2 ; @H2O_CACHE_FLAG_EARLY_UPDATE
	.comm	_on_destroy,4,2                 ; @on_destroy
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"key"

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

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

	.comm	_bytes_destroyed,4,2            ; @bytes_destroyed
.subsections_via_symbols
