	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xs_tcp_data_ready
_xs_tcp_data_ready:                     ## @xs_tcp_data_ready
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	%rbx, %rdi
	callq	_read_lock_bh
	movq	%rbx, %rdi
	callq	_xprt_from_sock
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	$0, (%rax)
LBB0_3:
	movq	%rax, -32(%rbp)
	movq	_xs_tcp_data_recv@GOTPCREL(%rip), %r15
	leaq	-40(%rbp), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$65536, -40(%rbp)               ## imm = 0x10000
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tcp_read_sock
	testl	%eax, %eax
	jg	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_read_unlock_bh
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       xs_tcp_data_ready...\n"

	.comm	_xs_tcp_data_recv,4,2           ## @xs_tcp_data_recv
	.no_dead_strip	_xs_tcp_data_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xs_tcp_data_ready
_xs_tcp_data_ready:                     ; @xs_tcp_data_ready
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	bl	_read_lock_bh
	mov	x0, x19
	bl	_xprt_from_sock
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	str	xzr, [x0]
LBB0_3:
	str	x0, [sp, #8]
	mov	w20, #65536
Lloh2:
	adrp	x21, _xs_tcp_data_recv@GOTPAGE
Lloh3:
	ldr	x21, [x21, _xs_tcp_data_recv@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	w20, [sp]
	ldr	w2, [x21]
	mov	x1, sp
	mov	x0, x19
	bl	_tcp_read_sock
	cmp	w0, #0
	b.gt	LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_read_unlock_bh
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       xs_tcp_data_ready...\n"

	.comm	_xs_tcp_data_recv,4,2           ; @xs_tcp_data_recv
	.no_dead_strip	_xs_tcp_data_ready
.subsections_via_symbols
