	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wildcard_add_value             ## -- Begin function wildcard_add_value
	.p2align	4, 0x90
_wildcard_add_value:                    ## @wildcard_add_value
	.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	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r14
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movslq	%ecx, %rax
	movslq	%esi, %rcx
	leaq	(%rcx,%rax), %rbx
	addq	$32, %rbx
	movq	_wildcard_cache_memory@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	addq	%rbx, %rax
	movq	_memory_for_wildcard_cache@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jbe	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_wildcard_free_lru
	movq	(%r15), %rax
	addq	%rbx, %rax
	cmpq	(%r12), %rax
	ja	LBB0_1
LBB0_3:
	movq	%r14, %r12
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_wildcard_get_value
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	movl	$32, %edi
	callq	_zzmalloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_wildcard_add_use
	movl	%r13d, (%r14)
	movl	%r13d, %edi
	callq	_zzmalloc
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, 4(%r14)
	movl	%ebx, %edi
	callq	_zzmalloc
	movq	%rax, 16(%r14)
	movl	$1, 8(%r14)
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movq	_wildcard_cache_tree@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	callq	_lrand48
	movl	%r12d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_tree_insert
	movq	_wildcard_cache_tree@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addl	%r13d, %ebx
	movslq	%ebx, %rax
	movq	(%r15), %rcx
	addq	%rcx, %rax
	addq	$32, %rax
	movq	%rax, (%r15)
	movq	_wildcard_cache_entries@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wildcard_cache_memory,8,3      ## @wildcard_cache_memory
	.comm	_memory_for_wildcard_cache,8,3  ## @memory_for_wildcard_cache
	.comm	_wildcard_cache_tree,4,2        ## @wildcard_cache_tree
	.comm	_wildcard_cache_entries,4,2     ## @wildcard_cache_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wildcard_add_value             ; -- Begin function wildcard_add_value
	.p2align	2
_wildcard_add_value:                    ; @wildcard_add_value
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sxtw	x8, w20
	add	x8, x8, w3, sxtw
	add	x23, x8, #32
Lloh0:
	adrp	x24, _wildcard_cache_memory@GOTPAGE
Lloh1:
	ldr	x24, [x24, _wildcard_cache_memory@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x25, _memory_for_wildcard_cache@GOTPAGE
Lloh3:
	ldr	x25, [x25, _memory_for_wildcard_cache@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25]
	add	x8, x23, x8
	cmp	x8, x9
	b.ls	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_wildcard_free_lru
	ldr	x8, [x24]
	b	LBB0_1
LBB0_3:
	mov	x0, x22
	mov	x1, x20
	bl	_wildcard_get_value
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #32
	bl	_zzmalloc
	mov	x23, x0
	bl	_wildcard_add_use
	str	w20, [x23]
	mov	x0, x20
	bl	_zzmalloc
	str	x0, [x23, #24]
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	str	w19, [x23, #4]
	mov	x0, x19
	bl	_zzmalloc
	str	x0, [x23, #16]
	mov	w8, #1
	str	w8, [x23, #8]
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
Lloh4:
	adrp	x22, _wildcard_cache_tree@GOTPAGE
Lloh5:
	ldr	x22, [x22, _wildcard_cache_tree@GOTPAGEOFF]
	ldr	w21, [x22]
	bl	_lrand48
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_tree_insert
	str	w0, [x22]
	add	w8, w19, w20
	ldr	x9, [x24]
	add	x8, x9, w8, sxtw
	add	x8, x8, #32
	str	x8, [x24]
Lloh6:
	adrp	x8, _wildcard_cache_entries@GOTPAGE
Lloh7:
	ldr	x8, [x8, _wildcard_cache_entries@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_wildcard_cache_memory,8,3      ; @wildcard_cache_memory
	.comm	_memory_for_wildcard_cache,8,3  ; @memory_for_wildcard_cache
	.comm	_wildcard_cache_tree,4,2        ; @wildcard_cache_tree
	.comm	_wildcard_cache_entries,4,2     ; @wildcard_cache_entries
.subsections_via_symbols
