	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_str_from_var
_get_str_from_var:                      ## @get_str_from_var
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_NUMERIC_NAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	$4, %edi
	callq	_pgtypes_alloc
	testq	%rax, %rax
	je	LBB0_21
## %bb.2:
	movq	%rax, %r15
	movl	$5136718, (%rax)                ## imm = 0x4E614E
	jmp	LBB0_26
LBB0_3:
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	8(%rdi), %eax
	movl	12(%rdi), %esi
	leal	(%rax,%r14), %edi
	incl	%edi
                                        ## kill: def $eax killed $eax killed $rax
	addl	%r14d, %eax
	cmpl	$-1, %eax
	jl	LBB0_10
## %bb.4:
	cmpl	%edi, %esi
	jle	LBB0_10
## %bb.5:
	movq	16(%r12), %r8
	movl	%edi, %ecx
	cmpl	$5, (%r8,%rcx,4)
	movl	%edi, 12(%r12)
	jl	LBB0_8
## %bb.6:
	movslq	%edi, %rcx
	leaq	(%r8,%rcx,4), %rcx
	addq	$-4, %rcx
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %esi
	leal	(%rsi,%rdx), %ebx
	movslq	%ebx, %rbx
	addl	%edx, %esi
	addl	$9, %esi
	imulq	$1717986919, %rbx, %rdx         ## imm = 0x66666667
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$34, %rdx
	addl	%eax, %edx
	leal	(%rdx,%rdx), %eax
	leal	(%rax,%rax,4), %eax
	subl	%eax, %ebx
	movl	%ebx, (%rcx)
	decl	%edi
	addq	$-4, %rcx
                                        ## kill: def $edx killed $edx killed $rdx def $rdx
	cmpl	$18, %esi
	ja	LBB0_7
LBB0_8:
	testl	%edi, %edi
	jns	LBB0_11
## %bb.9:
	addq	$-4, %r8
	movq	%r8, 16(%r12)
	incl	12(%r12)
	incl	8(%r12)
	jmp	LBB0_11
LBB0_10:
	callq	_Min
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_Max
	movl	%eax, 12(%r12)
LBB0_11:
	xorl	%edi, %edi
	movl	%r14d, %esi
	callq	_Max
	movl	%eax, %r15d
	movl	8(%r12), %esi
	xorl	%edi, %edi
	callq	_Max
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r15,%rax), %edi
	addl	$4, %edi
	callq	_pgtypes_alloc
	testq	%rax, %rax
	je	LBB0_21
## %bb.12:
	movq	%rax, %r15
	movq	(%r12), %rax
	movq	_NUMERIC_NEG@GOTPCREL(%rip), %rcx
	movq	%r15, %rbx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movq	%r15, %rbx
	incq	%rbx
	movb	$45, (%r15)
LBB0_14:
	movl	8(%r12), %edi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_Max
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_23
## %bb.15:
	xorl	%r13d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	movb	%cl, (%rbx)
	incq	%rbx
	leal	-1(%rax), %ecx
	testl	%eax, %eax
	movl	%ecx, %eax
	jle	LBB0_22
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movb	$48, %cl
	cmpl	8(%r12), %eax
	jg	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpl	12(%r12), %r13d
	jge	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	16(%r12), %rcx
	movslq	%r13d, %rdx
	incl	%r13d
	movzbl	(%rcx,%rdx,4), %ecx
	addb	$48, %cl
	jmp	LBB0_16
LBB0_21:
	xorl	%r15d, %r15d
	jmp	LBB0_26
LBB0_22:
	movl	$-1, %eax
LBB0_23:
	testl	%r14d, %r14d
	jle	LBB0_25
## %bb.24:
	movb	$46, (%rbx)
	negl	%r14d
	incq	%rbx
	cmpl	%r14d, %eax
	jae	LBB0_28
LBB0_25:
	movb	$0, (%rbx)
LBB0_26:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=1
	movb	%cl, (%rbx)
	leal	-1(%rax), %ecx
	incq	%rbx
	cmpl	%r14d, %eax
	movl	%ecx, %eax
	jle	LBB0_25
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movb	$48, %cl
	cmpl	8(%r12), %eax
	jg	LBB0_27
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	cmpl	12(%r12), %r13d
	jge	LBB0_27
## %bb.30:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	16(%r12), %rcx
	movslq	%r13d, %rdx
	incl	%r13d
	movzbl	(%rcx,%rdx,4), %ecx
	addb	$48, %cl
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_NUMERIC_NAN,8,3                ## @NUMERIC_NAN
	.comm	_NUMERIC_NEG,8,3                ## @NUMERIC_NEG
	.no_dead_strip	_get_str_from_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_str_from_var
_get_str_from_var:                      ; @get_str_from_var
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NUMERIC_NAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NUMERIC_NAN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	w0, #4
	bl	_pgtypes_alloc
	mov	x21, x0
	cbz	x0, LBB0_23
; %bb.2:
	mov	w8, #24910
	movk	w8, #78, lsl #16
	str	w8, [x21]
	b	LBB0_23
LBB0_3:
	mov	x20, x1
	mov	x19, x0
	ldp	w8, w1, [x0, #8]
	add	w8, w8, w20
	add	w0, w8, #1
	cmn	w8, #1
	ccmp	w1, w0, #4, ge
	b.gt	LBB0_5
; %bb.4:
	bl	_Min
	mov	x1, x0
	mov	w0, #0
	bl	_Max
	str	w0, [x19, #12]
	b	LBB0_10
LBB0_5:
	ldr	x8, [x19, #16]
	ldr	w9, [x8, w0, uxtw #2]
	str	w0, [x19, #12]
	cmp	w9, #5
	b.lt	LBB0_8
; %bb.6:
	add	x9, x8, w0, sxtw #2
	sub	x9, x9, #4
	mov	w12, #1
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mov	w11, #10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9]
	add	w13, w13, w12
	smull	x12, w13, w10
	lsr	x14, x12, #63
	asr	x12, x12, #34
	add	w12, w12, w14
	msub	w14, w12, w11, w13
	str	w14, [x9], #-4
	add	w13, w13, #9
	sub	w0, w0, #1
	cmp	w13, #18
	b.hi	LBB0_7
LBB0_8:
	tbz	w0, #31, LBB0_10
; %bb.9:
	sub	x8, x8, #4
	str	x8, [x19, #16]
	ldr	d0, [x19, #8]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19, #8]
LBB0_10:
	mov	w0, #0
	mov	x1, x20
	bl	_Max
	mov	x21, x0
	ldr	w1, [x19, #8]
	mov	w0, #0
	bl	_Max
	add	w8, w21, w0
	add	w0, w8, #4
	bl	_pgtypes_alloc
	mov	x21, x0
	cbz	x0, LBB0_23
; %bb.11:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _NUMERIC_NEG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NUMERIC_NEG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	mov	x22, x21
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	mov	w8, #45
	mov	x22, x21
	strb	w8, [x22], #1
LBB0_13:
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	_Max
	mov	w8, #0
	tbz	w0, #31, LBB0_17
; %bb.14:
	cmp	w20, #1
	b.ge	LBB0_21
	b	LBB0_22
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	w9, #48
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	strb	w9, [x22], #1
	sub	w9, w0, #1
	cmp	w0, #0
	mov	x0, x9
	b.le	LBB0_20
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, #8]
	cmp	w0, w9
	b.gt	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w9, [x19, #12]
	cmp	w8, w9
	b.ge	LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x9, [x19, #16]
	ldr	w9, [x9, w8, sxtw #2]
	add	w8, w8, #1
	add	w9, w9, #48
	b	LBB0_16
LBB0_20:
	mov	w0, #-1
	cmp	w20, #1
	b.lt	LBB0_22
LBB0_21:
	mov	w9, #46
	strb	w9, [x22], #1
	neg	w9, w20
	cmp	w0, w9
	b.hs	LBB0_26
LBB0_22:
	strb	wzr, [x22]
LBB0_23:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_24:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w10, #48
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	strb	w10, [x22], #1
	sub	w10, w0, #1
	cmp	w0, w9
	mov	x0, x10
	b.le	LBB0_22
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x19, #8]
	cmp	w0, w10
	b.gt	LBB0_24
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w10, [x19, #12]
	cmp	w8, w10
	b.ge	LBB0_24
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x10, [x19, #16]
	ldr	w10, [x10, w8, sxtw #2]
	add	w8, w8, #1
	add	w10, w10, #48
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NUMERIC_NAN,8,3                ; @NUMERIC_NAN
	.comm	_NUMERIC_NEG,8,3                ; @NUMERIC_NEG
	.no_dead_strip	_get_str_from_var
.subsections_via_symbols
