	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_rpc_store_header
_do_rpc_store_header:                   ## @do_rpc_store_header
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_store@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ADD_CNT
	movl	(%r15), %edi
	callq	_START_TIMER
	movq	_outbuf@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rax
	movq	_RPC_BUFFER_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_assert
	movq	(%r12), %rdi
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.4:
	movq	_TL_RPC_DEST_ACTOR_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_buffer_write_int
	movq	(%r12), %rdi
	movq	%r14, %rsi
	callq	_buffer_write_long
	movq	(%r12), %rdi
	movl	%ebx, %esi
	callq	_buffer_write_int
	jmp	LBB0_6
LBB0_5:
	movq	_TL_RPC_DEST_ACTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_buffer_write_int
	movq	(%r12), %rdi
	movq	%r14, %rsi
	callq	_buffer_write_long
LBB0_6:
	movl	(%r15), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_END_TIMER                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_store,4,2                      ## @store
	.comm	_outbuf,8,3                     ## @outbuf
	.comm	_RPC_BUFFER_MAGIC,8,3           ## @RPC_BUFFER_MAGIC
	.comm	_TL_RPC_DEST_ACTOR_FLAGS,4,2    ## @TL_RPC_DEST_ACTOR_FLAGS
	.comm	_TL_RPC_DEST_ACTOR,4,2          ## @TL_RPC_DEST_ACTOR
	.no_dead_strip	_do_rpc_store_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_rpc_store_header
_do_rpc_store_header:                   ; @do_rpc_store_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _store@GOTPAGE
Lloh1:
	ldr	x21, [x21, _store@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_ADD_CNT
	ldr	w0, [x21]
	bl	_START_TIMER
Lloh2:
	adrp	x22, _outbuf@GOTPAGE
Lloh3:
	ldr	x22, [x22, _outbuf@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x8]
Lloh4:
	adrp	x9, _RPC_BUFFER_MAGIC@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RPC_BUFFER_MAGIC@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_assert
	ldr	x0, [x22]
	cbz	w20, LBB0_5
; %bb.4:
Lloh7:
	adrp	x8, _TL_RPC_DEST_ACTOR_FLAGS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TL_RPC_DEST_ACTOR_FLAGS@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_buffer_write_int
	ldr	x0, [x22]
	mov	x1, x19
	bl	_buffer_write_long
	ldr	x0, [x22]
	mov	x1, x20
	bl	_buffer_write_int
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _TL_RPC_DEST_ACTOR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TL_RPC_DEST_ACTOR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_buffer_write_int
	ldr	x0, [x22]
	mov	x1, x19
	bl	_buffer_write_long
LBB0_6:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_END_TIMER
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_store,4,2                      ; @store
	.comm	_outbuf,8,3                     ; @outbuf
	.comm	_RPC_BUFFER_MAGIC,8,3           ; @RPC_BUFFER_MAGIC
	.comm	_TL_RPC_DEST_ACTOR_FLAGS,4,2    ; @TL_RPC_DEST_ACTOR_FLAGS
	.comm	_TL_RPC_DEST_ACTOR,4,2          ; @TL_RPC_DEST_ACTOR
	.no_dead_strip	_do_rpc_store_header
.subsections_via_symbols
