	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function int64_to_numericvar
_int64_to_numericvar:                   ## @int64_to_numericvar
	.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
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_DEC_DIGITS@GOTPCREL(%rip), %rcx
	movl	$20, %eax
	xorl	%edx, %edx
	idivl	(%rcx)
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_alloc_var
	testl	%ebx, %ebx
	js	LBB0_1
## %bb.5:
	movq	_NUMERIC_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	$0, 16(%r14)
	jne	LBB0_2
## %bb.6:
	movl	$0, (%r14)
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_1:
	movq	_NUMERIC_NEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	negl	%ebx
	movq	$0, 16(%r14)
LBB0_2:
	movslq	(%r14), %rsi
	shlq	$2, %rsi
	addq	8(%r14), %rsi
	movl	$-1, %ecx
	movq	_NBASE@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	cltd
	idivl	(%rdi)
	movl	%edx, -4(%rsi)
	addq	$-4, %rsi
	incl	%ecx
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	%rsi, 8(%r14)
	leal	1(%rcx), %eax
	movl	%eax, (%r14)
LBB0_7:
	movl	%ecx, 4(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEC_DIGITS,4,2                 ## @DEC_DIGITS
	.comm	_NUMERIC_NEG,4,2                ## @NUMERIC_NEG
	.comm	_NUMERIC_POS,4,2                ## @NUMERIC_POS
	.comm	_NBASE,4,2                      ## @NBASE
	.no_dead_strip	_int64_to_numericvar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function int64_to_numericvar
_int64_to_numericvar:                   ; @int64_to_numericvar
	.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
Lloh0:
	adrp	x8, _DEC_DIGITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEC_DIGITS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #20
	sdiv	w1, w9, w8
	mov	x0, x19
	bl	_alloc_var
	tbnz	w20, #31, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _NUMERIC_POS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NUMERIC_POS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
	cbnz	w20, LBB0_4
; %bb.2:
	mov	w8, #0
	str	wzr, [x19]
	b	LBB0_7
LBB0_3:
Lloh6:
	adrp	x8, _NUMERIC_NEG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NUMERIC_NEG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	neg	w20, w20
	str	xzr, [x19, #16]
LBB0_4:
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x9, x8, x9, lsl #2
	mov	w8, #-1
Lloh9:
	adrp	x10, _NBASE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _NBASE@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	sdiv	w12, w20, w11
	msub	w11, w12, w11, w20
	str	w11, [x9, #-4]!
	add	w8, w8, #1
	mov	x20, x12
	cbnz	w12, LBB0_5
; %bb.6:
	str	x9, [x19, #8]
	add	w9, w8, #1
	str	w9, [x19]
LBB0_7:
	str	w8, [x19, #4]
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DEC_DIGITS,4,2                 ; @DEC_DIGITS
	.comm	_NUMERIC_NEG,4,2                ; @NUMERIC_NEG
	.comm	_NUMERIC_POS,4,2                ; @NUMERIC_POS
	.comm	_NBASE,4,2                      ; @NBASE
	.no_dead_strip	_int64_to_numericvar
.subsections_via_symbols
