	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function targ_load_saved_data
_targ_load_saved_data:                  ## @targ_load_saved_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	leaq	-20(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_nbit_set
	movq	_mc_store@GOTPCREL(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$24, %edx
	callq	_nbit_read_in
	cmpl	$24, %eax
	jne	LBB0_1
## %bb.3:
	movq	_TARG_STORE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, (%r14)
	callq	_assert
	movq	8(%r14), %rax
	movq	16(%r14), %rcx
	movq	_MAX_QUERY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	cmovlq	%rcx, %rdx
	movq	_tag_save@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_QLsave@GOTPCREL(%rip), %rbx
	movl	%edx, (%rbx)
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	je	LBB0_8
## %bb.6:
	movq	_Qsave@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-20(%rbp), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_nbit_read_in
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	jmp	LBB0_7
LBB0_1:
	movq	_tag_save@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_8
LBB0_4:
	movq	_Qsave@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shll	$2, %edx
	leaq	-20(%rbp), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_nbit_read_in
	movl	(%rbx), %ecx
	shll	$2, %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
LBB0_7:
	sete	%dil
	callq	_assert
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tag_save,8,3                   ## @tag_save
	.comm	_mc_store,24,3                  ## @mc_store
	.comm	_TARG_STORE_MAGIC,4,2           ## @TARG_STORE_MAGIC
	.comm	_QLsave,4,2                     ## @QLsave
	.comm	_MAX_QUERY,8,3                  ## @MAX_QUERY
	.comm	_Qsave,8,3                      ## @Qsave
	.no_dead_strip	_targ_load_saved_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function targ_load_saved_data
_targ_load_saved_data:                  ; @targ_load_saved_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	w1, [x0]
	cbz	w1, LBB0_5
; %bb.1:
	add	x0, sp, #12
	bl	_nbit_set
Lloh0:
	adrp	x19, _mc_store@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mc_store@GOTPAGEOFF]
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #24
	bl	_nbit_read_in
	cmp	w0, #24
	b.ne	LBB0_5
; %bb.2:
Lloh2:
	adrp	x8, _TARG_STORE_MAGIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TARG_STORE_MAGIC@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	w0, [x19]
	bl	_assert
Lloh5:
	adrp	x9, _tag_save@GOTPAGE
Lloh6:
	ldr	x9, [x9, _tag_save@GOTPAGEOFF]
	ldp	x8, x10, [x19, #8]
Lloh7:
	str	x8, [x9]
Lloh8:
	adrp	x9, _MAX_QUERY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAX_QUERY@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x10, x9
	csel	x2, x10, x9, lt
Lloh11:
	adrp	x19, _QLsave@GOTPAGE
Lloh12:
	ldr	x19, [x19, _QLsave@GOTPAGEOFF]
	str	w2, [x19]
	tbnz	x8, #63, LBB0_6
; %bb.3:
	cbz	x8, LBB0_8
; %bb.4:
Lloh13:
	adrp	x8, _Qsave@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Qsave@GOTPAGEOFF]
Lloh15:
	ldr	x1, [x8]
	add	x0, sp, #12
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_nbit_read_in
	ldr	w8, [x19]
	cmp	w0, w8
	b	LBB0_7
LBB0_5:
Lloh16:
	adrp	x8, _tag_save@GOTPAGE
Lloh17:
	ldr	x8, [x8, _tag_save@GOTPAGEOFF]
Lloh18:
	str	xzr, [x8]
	b	LBB0_8
LBB0_6:
Lloh19:
	adrp	x8, _Qsave@GOTPAGE
Lloh20:
	ldr	x8, [x8, _Qsave@GOTPAGEOFF]
Lloh21:
	ldr	x1, [x8]
	lsl	w2, w2, #2
	add	x0, sp, #12
	bl	_nbit_read_in
	ldr	w8, [x19]
	cmp	w0, w8, lsl #2
LBB0_7:
	cset	w0, eq
	bl	_assert
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_tag_save,8,3                   ; @tag_save
	.comm	_mc_store,24,3                  ; @mc_store
	.comm	_TARG_STORE_MAGIC,4,2           ; @TARG_STORE_MAGIC
	.comm	_QLsave,4,2                     ; @QLsave
	.comm	_MAX_QUERY,8,3                  ; @MAX_QUERY
	.comm	_Qsave,8,3                      ; @Qsave
	.no_dead_strip	_targ_load_saved_data
.subsections_via_symbols
