	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_var_space                  ## -- Begin function get_var_space
	.p2align	4, 0x90
_get_var_space:                         ## @get_var_space
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movslq	%esi, %rcx
	shlq	$3, %rcx
	subq	%rcx, %rax
	movq	___vars@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_last_var_ptr@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jbe	LBB0_4
## %bb.3:
	movq	%rax, (%rcx)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___vars,8,3                     ## @__vars
	.comm	_last_var_ptr,8,3               ## @last_var_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_var_space                  ; -- Begin function get_var_space
	.p2align	2
_get_var_space:                         ; @get_var_space
	.cfi_startproc
; %bb.0:
	sub	x0, x0, w1, sxtw #3
Lloh0:
	adrp	x8, ___vars@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___vars@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.hs	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
Lloh3:
	adrp	x8, _last_var_ptr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _last_var_ptr@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x9, x0
	b.ls	LBB0_4
; %bb.3:
	str	x0, [x8]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	___vars,8,3                     ; @__vars
	.comm	_last_var_ptr,8,3               ; @last_var_ptr
.subsections_via_symbols
