	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_local_addr                ## -- Begin function test_local_addr
	.p2align	4, 0x90
_test_local_addr:                       ## @test_local_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rcx
	movl	(%rsi), %edx
	movl	$-1, %esi
	callq	_local_route
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_TLA_NONLOCAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_TLA_NOT_IMPLEMENTED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_TLA_LOCAL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLA_LOCAL,4,2                  ## @TLA_LOCAL
	.comm	_TLA_NONLOCAL,4,2               ## @TLA_NONLOCAL
	.comm	_TLA_NOT_IMPLEMENTED,4,2        ## @TLA_NOT_IMPLEMENTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_local_addr                ; -- Begin function test_local_addr
	.p2align	2
_test_local_addr:                       ; @test_local_addr
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x1, LBB0_2
; %bb.1:
	mov	x3, x1
	ldr	w2, [x1]
	mov	w1, #-1
	bl	_local_route
Lloh0:
	adrp	x8, _TLA_LOCAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLA_LOCAL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _TLA_NONLOCAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TLA_NONLOCAL@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, _TLA_NOT_IMPLEMENTED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TLA_NOT_IMPLEMENTED@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TLA_LOCAL,4,2                  ; @TLA_LOCAL
	.comm	_TLA_NONLOCAL,4,2               ; @TLA_NONLOCAL
	.comm	_TLA_NOT_IMPLEMENTED,4,2        ; @TLA_NOT_IMPLEMENTED
.subsections_via_symbols
