	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx_lookup_symbol
_vx_lookup_symbol:                      ## @vx_lookup_symbol
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, -32(%rbp)
	movl	$0, (%rsi)
	leaq	-24(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_VX_SYMBOL_INQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_xdr_wrapstring@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_xdr_SYMBOL_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rdx
	movq	%r14, %r8
	callq	_net_clnt_call
	movq	_RPC_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movl	-20(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-24(%rbp), %eax
	jmp	LBB0_3
LBB0_1:
	movq	_symfile_complaints@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_complaint
	movl	$-1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VX_SYMBOL_INQ,4,2              ## @VX_SYMBOL_INQ
	.comm	_xdr_wrapstring,4,2             ## @xdr_wrapstring
	.comm	_xdr_SYMBOL_ADDR,4,2            ## @xdr_SYMBOL_ADDR
	.comm	_RPC_SUCCESS,4,2                ## @RPC_SUCCESS
	.comm	_symfile_complaints,4,2         ## @symfile_complaints
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Lost contact with VxWorks target"

	.no_dead_strip	_vx_lookup_symbol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vx_lookup_symbol
_vx_lookup_symbol:                      ; @vx_lookup_symbol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	str	x0, [sp, #8]
	str	wzr, [x1]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x8, _VX_SYMBOL_INQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VX_SYMBOL_INQ@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _xdr_wrapstring@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xdr_wrapstring@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _xdr_SYMBOL_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _xdr_SYMBOL_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x2, sp, #8
	mov	x4, sp
	bl	_net_clnt_call
Lloh9:
	adrp	x8, _RPC_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldp	w0, w8, [sp]
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x0, _symfile_complaints@GOTPAGE
Lloh13:
	ldr	x0, [x0, _symfile_complaints@GOTPAGEOFF]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_complaint
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VX_SYMBOL_INQ,4,2              ; @VX_SYMBOL_INQ
	.comm	_xdr_wrapstring,4,2             ; @xdr_wrapstring
	.comm	_xdr_SYMBOL_ADDR,4,2            ; @xdr_SYMBOL_ADDR
	.comm	_RPC_SUCCESS,4,2                ; @RPC_SUCCESS
	.comm	_symfile_complaints,4,2         ; @symfile_complaints
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Lost contact with VxWorks target"

	.no_dead_strip	_vx_lookup_symbol
.subsections_via_symbols
