	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_rpc_command               ## -- Begin function send_rpc_command
	.p2align	4, 0x90
_send_rpc_command:                      ## @send_rpc_command
	.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
	movq	_compiler@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_tl_compiler_clear_errors
	movq	_P@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_additional@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rsi
	leaq	(%rax,%rsi,4), %rdx
	addq	$20, %rdx
	movq	_PACKET_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	subl	%esi, %ecx
	addl	$-6, %ecx
	movq	_typename@GOTPCREL(%rip), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_tl_serialize_rpc_function_call
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_targ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_target_connection
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_rpcc_send_query
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_log_str
	xorl	%eax, %eax
	callq	_log_errors
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_kprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_compiler,4,2                   ## @compiler
	.comm	_P,8,3                          ## @P
	.comm	_additional,4,2                 ## @additional
	.comm	_PACKET_BUFFER_SIZE,4,2         ## @PACKET_BUFFER_SIZE
	.comm	_typename,4,2                   ## @typename
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tl_serialize_rpc_function_call fail. Errors:\n"

	.comm	_targ,4,2                       ## @targ
L_.str.1:                               ## @.str.1
	.asciz	"get_target_connection returns NULL.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_rpc_command               ; -- Begin function send_rpc_command
	.p2align	2
_send_rpc_command:                      ; @send_rpc_command
	.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
Lloh0:
	adrp	x20, _compiler@GOTPAGE
Lloh1:
	ldr	x20, [x20, _compiler@GOTPAGEOFF]
	mov	x0, x20
	bl	_tl_compiler_clear_errors
Lloh2:
	adrp	x8, _P@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _additional@GOTPAGE
Lloh6:
	ldr	x9, [x9, _additional@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	add	w10, w9, #5
	add	x2, x8, w10, sxtw #2
Lloh8:
	adrp	x8, _PACKET_BUFFER_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PACKET_BUFFER_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	sub	w8, w8, w9
	sub	w3, w8, #6
Lloh11:
	adrp	x4, _typename@GOTPAGE
Lloh12:
	ldr	x4, [x4, _typename@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	bl	_tl_serialize_rpc_function_call
	mov	x19, x0
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh13:
	adrp	x8, _targ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _targ@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_get_target_connection
	cbz	x0, LBB0_5
; %bb.2:
	mov	x1, x19
	bl	_rpcc_send_query
	mov	w19, #0
	b	LBB0_4
LBB0_3:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_str
	bl	_log_errors
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_kprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_compiler,4,2                   ; @compiler
	.comm	_P,8,3                          ; @P
	.comm	_additional,4,2                 ; @additional
	.comm	_PACKET_BUFFER_SIZE,4,2         ; @PACKET_BUFFER_SIZE
	.comm	_typename,4,2                   ; @typename
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tl_serialize_rpc_function_call fail. Errors:\n"

	.comm	_targ,4,2                       ; @targ
l_.str.1:                               ; @.str.1
	.asciz	"get_target_connection returns NULL.\n"

.subsections_via_symbols
