	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_queue_upcall               ## -- Begin function rpc_queue_upcall
	.p2align	4, 0x90
_rpc_queue_upcall:                      ## @rpc_queue_upcall
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_RPC_I
	movq	%rax, %r12
	movq	_EPIPE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_spin_lock
	cmpq	$0, 32(%r12)
	je	LBB0_8
## %bb.1:
	cmpq	$0, 24(%r12)
	je	LBB0_3
## %bb.2:
	leaq	8(%r15), %rdi
	leaq	12(%r12), %rsi
	jmp	LBB0_7
LBB0_3:
	movq	_RPC_PIPE_WAIT_FOR_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_8
## %bb.4:
	leaq	12(%r12), %rbx
	movq	%rbx, %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_rpciod_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r12), %rsi
	movq	_RPC_UPCALL_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_queue_delayed_work
LBB0_6:
	leaq	8(%r15), %rdi
	movq	%rbx, %rsi
LBB0_7:
	callq	_list_add_tail
	movl	(%r15), %eax
	addl	%eax, 8(%r12)
	xorl	%ebx, %ebx
LBB0_8:
	movq	%r14, %rdi
	callq	_spin_unlock
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_wake_up
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_RPC_PIPE_WAIT_FOR_OPEN,4,2     ## @RPC_PIPE_WAIT_FOR_OPEN
	.comm	_rpciod_workqueue,4,2           ## @rpciod_workqueue
	.comm	_RPC_UPCALL_TIMEOUT,4,2         ## @RPC_UPCALL_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_queue_upcall               ; -- Begin function rpc_queue_upcall
	.p2align	2
_rpc_queue_upcall:                      ; @rpc_queue_upcall
	.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	x21, x1
	mov	x19, x0
	bl	_RPC_I
	mov	x20, x0
Lloh0:
	adrp	x8, _EPIPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	mov	x0, x19
	bl	_spin_lock
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x21, #8
	add	x1, x20, #12
	b	LBB0_7
LBB0_3:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _RPC_PIPE_WAIT_FOR_OPEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RPC_PIPE_WAIT_FOR_OPEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
	add	x22, x20, #12
	mov	x0, x22
	bl	_list_empty
	cbz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _rpciod_workqueue@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rpciod_workqueue@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x20, #16
Lloh9:
	adrp	x8, _RPC_UPCALL_TIMEOUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RPC_UPCALL_TIMEOUT@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_queue_delayed_work
LBB0_6:
	add	x0, x21, #8
	mov	x1, x22
LBB0_7:
	bl	_list_add_tail
	mov	w22, #0
	ldr	w8, [x21]
	ldr	w9, [x20, #8]
	add	w8, w9, w8
	str	w8, [x20, #8]
LBB0_8:
	mov	x0, x19
	bl	_spin_unlock
	add	x0, x20, #4
	bl	_wake_up
	mov	x0, x22
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_RPC_PIPE_WAIT_FOR_OPEN,4,2     ; @RPC_PIPE_WAIT_FOR_OPEN
	.comm	_rpciod_workqueue,4,2           ; @rpciod_workqueue
	.comm	_RPC_UPCALL_TIMEOUT,4,2         ; @RPC_UPCALL_TIMEOUT
.subsections_via_symbols
