	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bad_image_cache_store
_bad_image_cache_store:                 ## @bad_image_cache_store
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %rax
	xorq	(%rdi), %rax
	movq	_BAD_IMAGE_CACHE_PRIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	divq	%rcx
	testl	$-2147483648, %edx              ## imm = 0x80000000
	sete	%al
	movslq	%edx, %rbx
	cmpq	%rcx, %rbx
	setb	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	_CBI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$5, %rbx
	leaq	(%rax,%rbx), %rcx
	cmpq	$0, 8(%r14)
	je	LBB0_7
## %bb.1:
	movq	(%rcx), %rsi
	movq	(%r15), %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_6
## %bb.2:
	movq	8(%rax,%rbx), %rdx
	cmpq	(%r14), %rdx
	jne	LBB0_6
## %bb.3:
	movl	16(%rax,%rbx), %edx
	addl	%edx, %edx
	movl	%edx, 16(%rax,%rbx)
	movslq	%edx, %r8
	movq	_bad_image_cache_max_living_time@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	cmpq	%r8, %rdi
	jae	LBB0_4
## %bb.5:
	leaq	(%rax,%rbx), %rdx
	addq	$16, %rdx
	movl	%edi, (%rdx)
	movl	%edi, %edx
	movq	%rsi, %rdi
	jmp	LBB0_8
LBB0_6:
	movq	_bad_image_cache_min_living_time@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%rax,%rbx)
	jmp	LBB0_8
LBB0_7:
	movq	_bad_image_cache_max_living_time@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%rax,%rbx)
	movq	(%r15), %rdi
LBB0_8:
	movq	%rdi, (%rcx)
	movq	(%r14), %rcx
	movq	%rcx, 8(%rax,%rbx)
	movq	_now@GOTPCREL(%rip), %rcx
	movslq	%edx, %rdx
	addq	(%rcx), %rdx
	movq	%rdx, 24(%rax,%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rsi, %rdi
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_BAD_IMAGE_CACHE_PRIME,8,3      ## @BAD_IMAGE_CACHE_PRIME
	.comm	_CBI,8,3                        ## @CBI
	.comm	_bad_image_cache_max_living_time,8,3 ## @bad_image_cache_max_living_time
	.comm	_bad_image_cache_min_living_time,8,3 ## @bad_image_cache_min_living_time
	.comm	_now,8,3                        ## @now
	.no_dead_strip	_bad_image_cache_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bad_image_cache_store
_bad_image_cache_store:                 ; @bad_image_cache_store
	.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	x20, x0
	ldr	x8, [x0]
	ldr	x9, [x1]
	eor	x8, x9, x8
Lloh0:
	adrp	x9, _BAD_IMAGE_CACHE_PRIME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BAD_IMAGE_CACHE_PRIME@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	tst	x8, #0x80000000
	lsl	x22, x8, #32
	sxtw	x21, w8
	ccmp	x21, x9, #2, eq
	cset	w0, lo
	bl	_assert
Lloh3:
	adrp	x8, _CBI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CBI@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x9, x8, x22, asr #27
	ldr	x10, [x19, #8]
	cbz	x10, LBB0_6
; %bb.1:
	ldr	x10, [x9]
	ldr	x13, [x20]
	cmp	x10, x13
	b.ne	LBB0_5
; %bb.2:
	add	x12, x8, x21, lsl #5
	ldr	x11, [x12, #8]
	ldr	x14, [x19]
	cmp	x11, x14
	b.ne	LBB0_5
; %bb.3:
	ldr	w11, [x12, #16]!
	lsl	w11, w11, #1
	str	w11, [x12]
Lloh6:
	adrp	x13, _bad_image_cache_max_living_time@GOTPAGE
Lloh7:
	ldr	x13, [x13, _bad_image_cache_max_living_time@GOTPAGEOFF]
Lloh8:
	ldr	x13, [x13]
	cmp	x13, w11, sxtw
	b.hs	LBB0_7
; %bb.4:
	str	w13, [x12]
	mov	x11, x13
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x10, _bad_image_cache_min_living_time@GOTPAGE
Lloh10:
	ldr	x10, [x10, _bad_image_cache_min_living_time@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x10]
	add	x10, x8, x21, lsl #5
	str	w11, [x10, #16]
	mov	x10, x13
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x10, _bad_image_cache_max_living_time@GOTPAGE
Lloh13:
	ldr	x10, [x10, _bad_image_cache_max_living_time@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x10]
	add	x10, x8, x21, lsl #5
	str	w11, [x10, #16]
	ldr	x10, [x20]
LBB0_7:
	str	x10, [x9]
	ldr	x9, [x19]
	add	x8, x8, x21, lsl #5
	str	x9, [x8, #8]
Lloh15:
	adrp	x9, _now@GOTPAGE
Lloh16:
	ldr	x9, [x9, _now@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x9, x9, w11, sxtw
	str	x9, [x8, #24]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_BAD_IMAGE_CACHE_PRIME,8,3      ; @BAD_IMAGE_CACHE_PRIME
	.comm	_CBI,8,3                        ; @CBI
	.comm	_bad_image_cache_max_living_time,8,3 ; @bad_image_cache_max_living_time
	.comm	_bad_image_cache_min_living_time,8,3 ; @bad_image_cache_min_living_time
	.comm	_now,8,3                        ; @now
	.no_dead_strip	_bad_image_cache_store
.subsections_via_symbols
