	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_die_get_varname                ## -- Begin function die_get_varname
	.p2align	4, 0x90
_die_get_varname:                       ## @die_get_varname
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_die_get_typename
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	jle	LBB0_4
LBB0_3:
	movl	%ebx, %eax
	addq	%rax, %r15
	subl	%ebx, %r14d
	movq	%r12, %rdi
	callq	_dwarf_diename
	leaq	L_.str.2(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	movq	_E2BIG@GOTPCREL(%rip), %rcx
	subl	(%rcx), %r12d
	addl	%eax, %ebx
	cmpl	%r14d, %eax
	cmovgel	%r12d, %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movl	%eax, %ebx
	testl	%ebx, %ebx
	jg	LBB0_3
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get type, make it unknown.\n"

L_.str.1:                               ## @.str.1
	.asciz	"(unknown_type)"

L_.str.2:                               ## @.str.2
	.asciz	"\t%s"

	.comm	_E2BIG,4,2                      ## @E2BIG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_die_get_varname                ; -- Begin function die_get_varname
	.p2align	2
_die_get_varname:                       ; @die_get_varname
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_die_get_typename
	mov	x19, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	cmp	w19, #1
	b.lt	LBB0_3
LBB0_2:
	add	x22, x22, w19, uxtw
	sub	w21, w21, w19
	mov	x0, x20
	bl	_dwarf_diename
	str	x0, [sp]
Lloh0:
	adrp	x2, l_.str.2@PAGE
Lloh1:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	bl	_snprintf
Lloh2:
	adrp	x8, _E2BIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E2BIG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w9, w0, w19
	cmp	w0, w21
	csneg	w19, w9, w8, lt
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	bl	_snprintf
	mov	x19, x0
	cmp	w19, #1
	b.ge	LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get type, make it unknown.\n"

l_.str.1:                               ; @.str.1
	.asciz	"(unknown_type)"

l_.str.2:                               ; @.str.2
	.asciz	"\t%s"

	.comm	_E2BIG,4,2                      ; @E2BIG
.subsections_via_symbols
