	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bad_image_cache_probe
_bad_image_cache_probe:                 ## @bad_image_cache_probe
	.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, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rax
	xorq	%rsi, %rax
	movq	_BAD_IMAGE_CACHE_PRIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%r14d, %r14d
	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
	leaq	(%rbx,%rbx,2), %rcx
	movq	(%rax,%rcx,8), %rdx
	cmpq	(%r12), %rdx
	jne	LBB0_3
## %bb.1:
	cmpq	%r15, 8(%rax,%rcx,8)
	jne	LBB0_3
## %bb.2:
	movq	_now@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%r14d, %r14d
	cmpq	16(%rax,%rcx,8), %rdx
	setle	%r14b
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BAD_IMAGE_CACHE_PRIME,8,3      ## @BAD_IMAGE_CACHE_PRIME
	.comm	_CBI,8,3                        ## @CBI
	.comm	_now,8,3                        ## @now
	.no_dead_strip	_bad_image_cache_probe
.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_probe
_bad_image_cache_probe:                 ; @bad_image_cache_probe
	.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]
	eor	x8, x8, x1
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
	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]
	mov	w9, #24
	smull	x9, w21, w9
	ldr	x9, [x8, x9]
	ldr	x10, [x20]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	mov	w9, #24
	madd	x9, x21, x9, x8
	ldr	x9, [x9, #8]
	cmp	x9, x19
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _now@GOTPAGE
Lloh7:
	ldr	x9, [x9, _now@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	mov	w10, #24
	madd	x8, x21, x10, x8
	ldr	x8, [x8, #16]
	cmp	x9, x8
	cset	w0, le
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_BAD_IMAGE_CACHE_PRIME,8,3      ; @BAD_IMAGE_CACHE_PRIME
	.comm	_CBI,8,3                        ; @CBI
	.comm	_now,8,3                        ; @now
	.no_dead_strip	_bad_image_cache_probe
.subsections_via_symbols
