	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetTempTablespaces             ## -- Begin function SetTempTablespaces
	.p2align	4, 0x90
_SetTempTablespaces:                    ## @SetTempTablespaces
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_Assert
	movq	_tempTableSpaces@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	movq	_numTempTableSpaces@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	xorl	%edx, %edx
	cmpl	$2, %ebx
	jl	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_random
	cltd
	idivl	%ebx
LBB0_2:
	movq	_nextTempTableSpace@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tempTableSpaces,8,3            ## @tempTableSpaces
	.comm	_numTempTableSpaces,4,2         ## @numTempTableSpaces
	.comm	_nextTempTableSpace,4,2         ## @nextTempTableSpace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetTempTablespaces             ; -- Begin function SetTempTablespaces
	.p2align	2
_SetTempTablespaces:                    ; @SetTempTablespaces
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mvn	w8, w1
	lsr	w0, w8, #31
	bl	_Assert
Lloh0:
	adrp	x8, _tempTableSpaces@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tempTableSpaces@GOTPAGEOFF]
Lloh2:
	str	x20, [x8]
Lloh3:
	adrp	x8, _numTempTableSpaces@GOTPAGE
Lloh4:
	ldr	x8, [x8, _numTempTableSpaces@GOTPAGEOFF]
Lloh5:
	str	w19, [x8]
	cmp	w19, #2
	b.lt	LBB0_2
; %bb.1:
	bl	_random
	sdiv	w8, w0, w19
	msub	w8, w8, w19, w0
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
Lloh6:
	adrp	x9, _nextTempTableSpace@GOTPAGE
Lloh7:
	ldr	x9, [x9, _nextTempTableSpace@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_tempTableSpaces,8,3            ; @tempTableSpaces
	.comm	_numTempTableSpaces,4,2         ; @numTempTableSpaces
	.comm	_nextTempTableSpace,4,2         ; @nextTempTableSpace
.subsections_via_symbols
