	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function var_to_partition
_var_to_partition:                      ## @var_to_partition
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_TREE_CODE
	movq	_SSA_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	8(%r14), %r15d
	movl	%ebx, %edi
	callq	_SSA_NAME_VERSION
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_partition_find
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.2:
	cltq
	movl	(%rcx,%rax,4), %eax
	jmp	LBB0_5
LBB0_3:
	movl	%ebx, %edi
	callq	_var_ann
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.6:
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VAR_ANN_PARTITION              ## TAILCALL
LBB0_4:
	movq	_NO_PARTITION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSA_NAME,8,3                   ## @SSA_NAME
	.comm	_NO_PARTITION,4,2               ## @NO_PARTITION
	.no_dead_strip	_var_to_partition
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function var_to_partition
_var_to_partition:                      ; @var_to_partition
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _SSA_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSA_NAME@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w21, [x19, #8]
	mov	x0, x20
	bl	_SSA_NAME_VERSION
	mov	x1, x0
	mov	x0, x21
	bl	_partition_find
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w0, [x8, w0, sxtw #2]
	b	LBB0_6
LBB0_3:
	mov	x0, x20
	bl	_var_ann
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.4:
	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
	b	_VAR_ANN_PARTITION
LBB0_5:
Lloh3:
	adrp	x8, _NO_PARTITION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NO_PARTITION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SSA_NAME,8,3                   ; @SSA_NAME
	.comm	_NO_PARTITION,4,2               ; @NO_PARTITION
	.no_dead_strip	_var_to_partition
.subsections_via_symbols
