	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_variable
_find_variable:                         ## @find_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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rsi), %rax
	movq	(%rax), %rdi
	callq	_is_c_varname
	movq	(%r15), %rbx
	testl	%eax, %eax
	je	LBB0_1
## %bb.8:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_14
## %bb.9:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_synthesize_perf_probe_arg
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	leaq	-64(%rbp), %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movb	$95, (%rax)
LBB0_13:
	leaq	-64(%rbp), %rdi
LBB0_14:
	callq	_strdup
	movq	16(%r15), %rcx
	movq	%rax, (%rcx)
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.15:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movl	12(%r15), %edx
	leaq	-68(%rbp), %rcx
	movq	%r14, %rdi
	callq	_die_find_variable_at
	testl	%eax, %eax
	jne	LBB0_19
## %bb.16:
	leaq	8(%r15), %rdi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	leaq	-68(%rbp), %rcx
	xorl	%edx, %edx
	callq	_die_find_variable_at
	testl	%eax, %eax
	je	LBB0_17
LBB0_19:
	leaq	-68(%rbp), %rdi
	movq	%r15, %rsi
	callq	_convert_variable
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_21
	jmp	LBB0_20
LBB0_1:
	movq	(%rbx), %rdi
	callq	_strdup
	movq	16(%r15), %r14
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_strdup
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_strdup
	movq	%rax, (%r14)
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_21
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_21
LBB0_10:
	movl	%eax, %ebx
	jmp	LBB0_21
LBB0_7:
	movq	$0, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_17:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_19
## %bb.18:
	negl	%ebx
LBB0_20:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_warning
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Searching '%s' variable in context.\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"Failed to find '%s' in this function.\n"

	.no_dead_strip	_find_variable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_variable
_find_variable:                         ; @find_variable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x8, [x1]
	ldr	x0, [x8]
	bl	_is_c_varname
	ldr	x21, [x19]
	cbz	w0, LBB0_10
; %bb.1:
	ldr	x0, [x21, #16]
	cbnz	x0, LBB0_6
; %bb.2:
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #32
	bl	_synthesize_perf_probe_arg
	tbnz	w0, #31, LBB0_17
; %bb.3:
	add	x0, sp, #8
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.4:
	mov	w8, #95
	strb	w8, [x0]
LBB0_5:
	add	x0, sp, #8
LBB0_6:
	bl	_strdup
	ldr	x8, [x19, #16]
	str	x0, [x8]
	mov	x8, x0
	cbz	x8, LBB0_16
; %bb.7:
	ldr	x8, [x19]
	ldr	x1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x19]
	ldr	x1, [x8]
	ldr	w2, [x19, #12]
	add	x3, sp, #4
	mov	x0, x20
	bl	_die_find_variable_at
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x19
	ldr	x8, [x0], #8
	ldr	x1, [x8]
	add	x3, sp, #4
	mov	w2, #0
	bl	_die_find_variable_at
	cbz	w0, LBB0_19
LBB0_9:
	add	x0, sp, #4
	mov	x1, x19
	bl	_convert_variable
	mov	x21, x0
	tbz	w0, #31, LBB0_22
	b	LBB0_21
LBB0_10:
	ldr	x0, [x21]
	bl	_strdup
	ldr	x19, [x19, #16]
	str	x0, [x19, #16]
	cbz	x0, LBB0_16
; %bb.11:
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_strdup
	str	x0, [x19, #8]
	cbz	x0, LBB0_16
LBB0_13:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_18
; %bb.14:
	bl	_strdup
	str	x0, [x19]
	cbz	x0, LBB0_16
; %bb.15:
	mov	w21, #0
	b	LBB0_22
LBB0_16:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_22
LBB0_17:
	mov	x21, x0
	b	LBB0_22
LBB0_18:
	mov	w21, #0
	str	xzr, [x19]
	b	LBB0_22
LBB0_19:
Lloh8:
	adrp	x8, _ENOENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, #0
	b.le	LBB0_9
; %bb.20:
	neg	w21, w8
LBB0_21:
	ldr	x8, [x19]
	ldr	x1, [x8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_warning
LBB0_22:
	ldr	x8, [sp, #40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Searching '%s' variable in context.\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"Failed to find '%s' in this function.\n"

	.no_dead_strip	_find_variable
.subsections_via_symbols
