	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_temp_data                 ## -- Begin function load_temp_data
	.p2align	4, 0x90
_load_temp_data:                        ## @load_temp_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_tag_len@GOTPCREL(%rip), %r15
	movl	$0, (%r15)
	movq	_aux_userlist_tag@GOTPCREL(%rip), %r12
	movl	$0, (%r12)
	movq	_aux_userlist_size@GOTPCREL(%rip), %rbx
	movl	$0, (%rbx)
	movl	(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.1:
	leaq	-36(%rbp), %rdi
	callq	_nbit_set
	testq	%rax, %rax
	js	LBB0_8
## %bb.2:
	movq	_tag_id@GOTPCREL(%rip), %r14
	leaq	-36(%rbp), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_nbit_read_in
	cmpl	$4, %eax
	jl	LBB0_8
## %bb.3:
	cmpl	$0, (%r14)
	je	LBB0_8
## %bb.4:
	js	LBB0_11
## %bb.5:
	movq	_value_buff@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	_VALUE_BUFF_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	decl	%edx
	leaq	-36(%rbp), %rdi
	callq	_nbit_read_in
	testl	%eax, %eax
	jle	LBB0_14
## %bb.6:
	movl	(%rbx), %ecx
	decl	%ecx
	cmpl	%ecx, %eax
	jge	LBB0_14
## %bb.7:
	movq	(%r12), %rcx
	movl	%eax, %edx
	movl	$0, (%rcx,%rdx,4)
	movl	%eax, (%r15)
	movl	(%r14), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	movl	%eax, %edx
	callq	_vkprintf
	movl	(%r14), %eax
	jmp	LBB0_10
LBB0_8:
	movq	_tag_id@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_aux_userlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_MAX_AUX_USERS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	shll	$2, %edx
	leaq	-36(%rbp), %rdi
	callq	_nbit_read_in
	testl	$-2147483645, %eax              ## imm = 0x80000003
	jne	LBB0_14
## %bb.12:
	movl	(%r15), %ecx
	shll	$2, %ecx
	cmpl	%ecx, %eax
	je	LBB0_14
## %bb.13:
	shrl	$2, %eax
	movl	%eax, (%rbx)
	movl	(%r14), %ecx
	movl	%ecx, (%r12)
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%eax, %edx
	callq	_vkprintf
LBB0_14:
	movl	$0, (%r14)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_tag_len,4,2                    ## @tag_len
	.comm	_aux_userlist_tag,4,2           ## @aux_userlist_tag
	.comm	_aux_userlist_size,4,2          ## @aux_userlist_size
	.comm	_tag_id,4,2                     ## @tag_id
	.comm	_aux_userlist,8,3               ## @aux_userlist
	.comm	_MAX_AUX_USERS,4,2              ## @MAX_AUX_USERS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"restoring %d words of temp userlist data with tag %d\n"

	.comm	_value_buff,8,3                 ## @value_buff
	.comm	_VALUE_BUFF_SIZE,4,2            ## @VALUE_BUFF_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"restoring %d bytes of temp data with tag %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_temp_data                 ; -- Begin function load_temp_data
	.p2align	2
_load_temp_data:                        ; @load_temp_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x20, _tag_len@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tag_len@GOTPAGEOFF]
	str	wzr, [x20]
Lloh2:
	adrp	x21, _aux_userlist_tag@GOTPAGE
Lloh3:
	ldr	x21, [x21, _aux_userlist_tag@GOTPAGEOFF]
	str	wzr, [x21]
Lloh4:
	adrp	x22, _aux_userlist_size@GOTPAGE
Lloh5:
	ldr	x22, [x22, _aux_userlist_size@GOTPAGEOFF]
	str	wzr, [x22]
	ldr	w1, [x0]
Lloh6:
	adrp	x19, _tag_id@GOTPAGE
Lloh7:
	ldr	x19, [x19, _tag_id@GOTPAGEOFF]
	cbz	w1, LBB0_3
; %bb.1:
	add	x0, sp, #12
	bl	_nbit_set
	tbnz	x0, #63, LBB0_3
; %bb.2:
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #4
	bl	_nbit_read_in
	ldr	w8, [x19]
	cmp	w0, #4
	ccmp	w8, #0, #4, ge
	b.ne	LBB0_5
LBB0_3:
	mov	w0, #0
	str	wzr, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	tbnz	w8, #31, LBB0_9
; %bb.6:
Lloh8:
	adrp	x21, _value_buff@GOTPAGE
Lloh9:
	ldr	x21, [x21, _value_buff@GOTPAGEOFF]
	ldr	x1, [x21]
Lloh10:
	adrp	x22, _VALUE_BUFF_SIZE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _VALUE_BUFF_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	sub	w2, w8, #1
	add	x0, sp, #12
	bl	_nbit_read_in
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.7:
	mov	x2, x0
	ldr	w8, [x22]
	sub	w8, w8, #1
	cmp	w0, w8
	b.ge	LBB0_3
; %bb.8:
	ldr	x8, [x21]
	str	wzr, [x8, w2, uxtw #2]
	str	w2, [x20]
	ldr	w3, [x19]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	ldr	w0, [x19]
	b	LBB0_4
LBB0_9:
Lloh14:
	adrp	x8, _aux_userlist@GOTPAGE
Lloh15:
	ldr	x8, [x8, _aux_userlist@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
Lloh17:
	adrp	x20, _MAX_AUX_USERS@GOTPAGE
Lloh18:
	ldr	x20, [x20, _MAX_AUX_USERS@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w2, w8, #2
	add	x0, sp, #12
	bl	_nbit_read_in
	tst	w0, #0x80000003
	b.ne	LBB0_3
; %bb.10:
	ldr	w8, [x20]
	cmp	w0, w8, lsl #2
	b.eq	LBB0_3
; %bb.11:
	lsr	w2, w0, #2
	str	w2, [x22]
	ldr	w3, [x19]
	str	w3, [x21]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	b	LBB0_3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_tag_len,4,2                    ; @tag_len
	.comm	_aux_userlist_tag,4,2           ; @aux_userlist_tag
	.comm	_aux_userlist_size,4,2          ; @aux_userlist_size
	.comm	_tag_id,4,2                     ; @tag_id
	.comm	_aux_userlist,8,3               ; @aux_userlist
	.comm	_MAX_AUX_USERS,4,2              ; @MAX_AUX_USERS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"restoring %d words of temp userlist data with tag %d\n"

	.comm	_value_buff,8,3                 ; @value_buff
	.comm	_VALUE_BUFF_SIZE,4,2            ; @VALUE_BUFF_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"restoring %d bytes of temp data with tag %d\n"

.subsections_via_symbols
