	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_work
_rpc_work:                              ## @rpc_work
	.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
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	_rpc_work(%rip), %rdi
	callq	_ADD_CNT
	movq	%r14, %rdi
	movl	%ebx, %esi
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_rpc_read
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	setne	%al
	movzbl	%al, %eax
	jmp	LBB0_3
LBB0_1:
	movq	%r14, %rdi
	callq	_rpc_server_failure
	movl	$-1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rpc_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_work
_rpc_work:                              ; @rpc_work
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	fmov	d8, d0
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, _rpc_work@PAGE
Lloh1:
	add	x0, x0, _rpc_work@PAGEOFF
	bl	_ADD_CNT
	mov	x0, x19
	mov	x1, x20
	fmov	d0, d8
	bl	_rpc_read
	tbnz	w0, #31, LBB0_2
; %bb.1:
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_rpc_server_failure
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rpc_work
.subsections_via_symbols
