	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_target_lookup              ## -- Begin function rpc_target_lookup
	.p2align	4, 0x90
_rpc_target_lookup:                     ## @rpc_target_lookup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_assert
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_st_update_host
	movq	(%rbx), %rax
	movq	_rpc_targets_cur_host@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rax
	movq	%rcx, %rdx
	cmovneq	%rax, %rdx
	testq	%rcx, %rcx
	cmoveq	%rax, %rdx
	movq	%rdx, _rpc_target_lookup.t(%rip)
	leaq	_rpc_target_lookup.t(%rip), %rsi
	movq	_rpc_target_tree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tree_lookup_rpc_target
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %r14
LBB0_2:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_rpc_target_lookup.t,8,3 ## @rpc_target_lookup.t
	.comm	_rpc_targets_cur_host,8,3       ## @rpc_targets_cur_host
	.comm	_rpc_target_tree,4,2            ## @rpc_target_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_target_lookup              ; -- Begin function rpc_target_lookup
	.p2align	2
_rpc_target_lookup:                     ; @rpc_target_lookup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_assert
	bl	_st_update_host
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _rpc_targets_cur_host@GOTPAGE
Lloh1:
	ldr	x9, [x9, _rpc_targets_cur_host@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, eq
	csel	x8, x8, x9, eq
Lloh3:
	adrp	x1, _rpc_target_lookup.t@PAGE
Lloh4:
	add	x1, x1, _rpc_target_lookup.t@PAGEOFF
	str	x8, [x1]
Lloh5:
	adrp	x8, _rpc_target_tree@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rpc_target_tree@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_tree_lookup_rpc_target
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x0]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_rpc_target_lookup.t,8,3 ; @rpc_target_lookup.t
	.comm	_rpc_targets_cur_host,8,3       ; @rpc_targets_cur_host
	.comm	_rpc_target_tree,4,2            ; @rpc_target_tree
.subsections_via_symbols
