	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_serialize_rpc_function_call ## -- Begin function tl_serialize_rpc_function_call
	.p2align	4, 0x90
_tl_serialize_rpc_function_call:        ## @tl_serialize_rpc_function_call
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rdi, %r13
	callq	_tl_scheme_parse
	movq	$0, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	%r13, %rdi
	cmpq	_obj_empty_list@GOTPCREL(%rip), %rax
	je	LBB0_3
## %bb.6:
	callq	_tl_compiler_clear_errors
	movq	%rbx, %rdi
	callq	_tl_scheme_object_free
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tl_failf                       ## TAILCALL
LBB0_1:
	movl	$-1, %r15d
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_tl_serialize
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movq	(%r13), %rdi
	callq	_assert
	movq	(%r13), %rax
	movq	(%rax), %rdi
	callq	_assert
	movq	(%r13), %rax
	movq	(%rax), %rdi
	callq	_cstr_dup
	movq	%rax, (%r14)
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_obj_empty_list,4,2             ## @obj_empty_list
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expected single rpc call"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_serialize_rpc_function_call ; -- Begin function tl_serialize_rpc_function_call
	.p2align	2
_tl_serialize_rpc_function_call:        ; @tl_serialize_rpc_function_call
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x20, x0
	bl	_tl_scheme_parse
	str	xzr, [x19]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _obj_empty_list@GOTPAGE
Lloh1:
	ldr	x9, [x9, _obj_empty_list@GOTPAGEOFF]
	mov	x0, x20
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.2:
	bl	_tl_compiler_clear_errors
	mov	x0, x23
	bl	_tl_scheme_object_free
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_tl_failf
LBB0_3:
	mov	w21, #-1
	b	LBB0_6
LBB0_4:
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_tl_serialize
	mov	x21, x0
	tbnz	w0, #31, LBB0_6
; %bb.5:
	ldr	x0, [x20]
	bl	_assert
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_assert
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_cstr_dup
	str	x0, [x19]
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_obj_empty_list,4,2             ; @obj_empty_list
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expected single rpc call"

.subsections_via_symbols
