	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_variable
_convert_variable:                      ## @convert_variable
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_dwarf_diename
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_debug
	movl	20(%r15), %esi
	movl	16(%r15), %edx
	movq	8(%r15), %rcx
	movq	%r14, %rdi
	callq	_convert_variable_location
	movl	%eax, %ebx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movl	16(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_6
LBB0_2:
	movq	_ENOTSUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_6
LBB0_4:
	movq	(%r15), %rax
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movl	16(%rax), %esi
	movq	8(%r15), %rcx
	leaq	-36(%rbp), %r12
	movq	%r14, %rdi
	movq	%r12, %r8
	callq	_convert_variable_fields
	movl	%eax, %ebx
	movq	%r12, %r14
LBB0_6:
	testl	%ebx, %ebx
	jne	LBB0_8
## %bb.7:
	movq	(%r15), %rax
	movq	8(%r15), %rsi
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_convert_variable_type
	movl	%eax, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Converting variable %s into trace event.\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"Failed to find the location of %s at this address.\n Perhaps, it has been optimized out.\n"

	.comm	_ENOTSUP,4,2                    ## @ENOTSUP
L_.str.2:                               ## @.str.2
	.asciz	"Sorry, we don't support this variable location yet.\n"

	.no_dead_strip	_convert_variable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_variable
_convert_variable:                      ; @convert_variable
	.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	x19, x1
	mov	x20, x0
	bl	_dwarf_diename
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldp	w2, w1, [x19, #16]
	ldr	x3, [x19, #8]
	mov	x0, x20
	bl	_convert_variable_location
	mov	x21, x0
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8, #16]
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	b	LBB0_6
LBB0_2:
Lloh7:
	adrp	x8, _ENOTSUP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOTSUP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmn	w21, w8
	b.ne	LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19]
	ldr	x2, [x8, #8]
	cbz	x2, LBB0_6
; %bb.5:
	ldr	w1, [x8, #16]
	ldr	x3, [x19, #8]
	add	x4, sp, #12
	mov	x0, x20
	bl	_convert_variable_fields
	mov	x21, x0
	add	x20, sp, #12
LBB0_6:
	cbnz	w21, LBB0_8
; %bb.7:
	ldp	x8, x1, [x19]
	ldr	w2, [x8]
	mov	x0, x20
	bl	_convert_variable_type
	mov	x21, x0
LBB0_8:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Converting variable %s into trace event.\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"Failed to find the location of %s at this address.\n Perhaps, it has been optimized out.\n"

	.comm	_ENOTSUP,4,2                    ; @ENOTSUP
l_.str.2:                               ; @.str.2
	.asciz	"Sorry, we don't support this variable location yet.\n"

	.no_dead_strip	_convert_variable
.subsections_via_symbols
