	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_askregvar                      ## -- Begin function askregvar
	.p2align	4, 0x90
_askregvar:                             ## @askregvar
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_assert
	movq	(%rbx), %rax
	movq	_REGISTER@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movl	40(%rbx), %edi
	callq	_isscalar
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	cmpq	$0, 32(%rbx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rax
	movq	%rax, 16(%rbx)
	movl	$1, %r14d
	jmp	LBB0_7
LBB0_4:
	movq	_vmask@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_askreg
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	24(%rax), %rcx
	movq	%rcx, 24(%rbx)
	movq	%rbx, (%rcx)
	movq	16(%rax), %rsi
	movq	%rsi, 16(%rbx)
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_dumpregs
	movl	%eax, %edi
	callq	_debug
	movl	$1, %r14d
	jmp	LBB0_7
LBB0_6:
	movq	_AUTO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REGISTER,8,3                   ## @REGISTER
	.comm	_AUTO,8,3                       ## @AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"?"

	.comm	_vmask,4,2                      ## @vmask
L_.str.1:                               ## @.str.1
	.asciz	"(allocating %s to symbol %s)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_askregvar                      ; -- Begin function askregvar
	.p2align	2
_askregvar:                             ; @askregvar
	.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	x20, x1
	mov	x19, x0
	bl	_assert
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _REGISTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REGISTER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x19, #40]
	bl	_isscalar
	cbz	w0, LBB0_7
; %bb.2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19, #16]
	mov	w0, #1
	b	LBB0_8
LBB0_4:
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh5:
	adrp	x8, _vmask@GOTPAGE
Lloh6:
	ldr	x8, [x8, _vmask@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_askreg
	cbz	x0, LBB0_7
; %bb.6:
	ldp	x1, x8, [x0, #16]
	str	x19, [x8]
	stp	x1, x8, [x19, #16]
	ldr	w2, [x19, #8]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dumpregs
	bl	_debug
	mov	w0, #1
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _AUTO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AUTO@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_REGISTER,8,3                   ; @REGISTER
	.comm	_AUTO,8,3                       ; @AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"?"

	.comm	_vmask,4,2                      ; @vmask
l_.str.1:                               ; @.str.1
	.asciz	"(allocating %s to symbol %s)\n"

.subsections_via_symbols
