	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_do_set_size              ## -- Begin function cache_do_set_size
	.p2align	4, 0x90
_cache_do_set_size:                     ## @cache_do_set_size
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %rdx
	testq	%rsi, %rsi
	js	LBB0_7
## %bb.1:
	movq	_CACHE_MAX_SIZE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jl	LBB0_7
## %bb.2:
	xorl	%r14d, %r14d
	movq	%rdx, %rdi
	xorl	%esi, %esi
	callq	_get_uri_f
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r15
	cmpq	%rbx, (%rax)
	je	LBB0_11
## %bb.4:
	movq	%r15, %rdi
	callq	_cache_get_unique_md5_bytes
	movl	%eax, %r12d
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_assert
	movq	%rbx, %rax
	shrq	$32, %rax
	jne	LBB0_9
## %bb.5:
	cmpl	$8, %r12d
	jne	LBB0_9
## %bb.6:
	movq	_LEV_CACHE_SET_SIZE_SHORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	movl	%ebx, %edx
	callq	_alloc_log_event
	movl	(%rax), %edi
	movq	%r15, %rsi
	addq	$8, %rsi
	movl	$8, %edx
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%rbx, %rcx
	callq	_vkprintf
LBB0_8:
	movl	$-1, %r14d
LBB0_11:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_LEV_CACHE_SET_SIZE_LONG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_alloc_log_event
	movq	%rax, %r12
	movq	%rbx, (%rax)
	movq	%r15, %rdi
	callq	_compute_get_uri_f_last_md5
	movl	8(%r12), %edi
	movq	_get_uri_f_last_md5@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$16, %edx
LBB0_10:
	callq	_memcpy
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cache_set_size
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_CACHE_MAX_SIZE,8,3             ## @CACHE_MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache_do_set_size (%s, %lld), size is out of range\n"

	.comm	_LEV_CACHE_SET_SIZE_SHORT,4,2   ## @LEV_CACHE_SET_SIZE_SHORT
	.comm	_LEV_CACHE_SET_SIZE_LONG,4,2    ## @LEV_CACHE_SET_SIZE_LONG
	.comm	_get_uri_f_last_md5,8,3         ## @get_uri_f_last_md5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_do_set_size              ; -- Begin function cache_do_set_size
	.p2align	2
_cache_do_set_size:                     ; @cache_do_set_size
	.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	x19, x1
	mov	x2, x0
	tbnz	x1, #63, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _CACHE_MAX_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CACHE_MAX_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x19
	b.lt	LBB0_7
; %bb.2:
	mov	x0, x2
	mov	w1, #0
	bl	_get_uri_f
	cbz	x0, LBB0_8
; %bb.3:
	mov	x20, x0
	ldr	x8, [x0]
	cmp	x8, x19
	b.eq	LBB0_11
; %bb.4:
	mov	x0, x20
	bl	_cache_get_unique_md5_bytes
	mov	x21, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_assert
	lsr	x8, x19, #32
	cbnz	x8, LBB0_9
; %bb.5:
	cmp	w21, #8
	b.ne	LBB0_9
; %bb.6:
Lloh3:
	adrp	x8, _LEV_CACHE_SET_SIZE_SHORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LEV_CACHE_SET_SIZE_SHORT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #4
	mov	x2, x19
	bl	_alloc_log_event
	ldr	w0, [x0]
	add	x1, x20, #8
	mov	w2, #8
	b	LBB0_10
LBB0_7:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x3, x19
	bl	_vkprintf
LBB0_8:
	mov	w0, #-1
	b	LBB0_12
LBB0_9:
Lloh8:
	adrp	x8, _LEV_CACHE_SET_SIZE_LONG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LEV_CACHE_SET_SIZE_LONG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #16
	mov	w2, #0
	bl	_alloc_log_event
	mov	x21, x0
	str	x19, [x0]
	mov	x0, x20
	bl	_compute_get_uri_f_last_md5
	ldr	w0, [x21, #8]
Lloh11:
	adrp	x8, _get_uri_f_last_md5@GOTPAGE
Lloh12:
	ldr	x8, [x8, _get_uri_f_last_md5@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
	mov	w2, #16
LBB0_10:
	bl	_memcpy
	mov	x0, x20
	mov	x1, x19
	bl	_cache_set_size
LBB0_11:
	mov	w0, #0
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CACHE_MAX_SIZE,8,3             ; @CACHE_MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache_do_set_size (%s, %lld), size is out of range\n"

	.comm	_LEV_CACHE_SET_SIZE_SHORT,4,2   ; @LEV_CACHE_SET_SIZE_SHORT
	.comm	_LEV_CACHE_SET_SIZE_LONG,4,2    ; @LEV_CACHE_SET_SIZE_LONG
	.comm	_get_uri_f_last_md5,8,3         ; @get_uri_f_last_md5
.subsections_via_symbols
