	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function siw_rtr_data_ready
_siw_rtr_data_ready:                    ## @siw_rtr_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_read_lock
	movq	%rbx, %rdi
	callq	_sk_to_cep
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_sk_to_qp
	movq	%rax, %r15
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r15, -40(%rbp)
	movl	$1, -48(%rbp)
	movq	_siw_tcp_rx_data@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_tcp_read_sock
	cmpl	$0, (%r15)
	jne	LBB0_3
## %bb.2:
	movq	_IW_CM_EVENT_ESTABLISHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_siw_cm_upcall
LBB0_3:
	movq	%rbx, %rdi
	callq	_read_unlock
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_siw_qp_socket_assoc
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_read_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No connection endpoint\n"

	.comm	_siw_tcp_rx_data,4,2            ## @siw_tcp_rx_data
	.comm	_IW_CM_EVENT_ESTABLISHED,4,2    ## @IW_CM_EVENT_ESTABLISHED
	.no_dead_strip	_siw_rtr_data_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function siw_rtr_data_ready
_siw_rtr_data_ready:                    ; @siw_rtr_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
	bl	_read_lock
	mov	x0, x19
	bl	_sk_to_cep
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_sk_to_qp
	mov	x21, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	str	x21, [sp, #8]
	mov	w8, #1
	str	w8, [sp]
Lloh0:
	adrp	x8, _siw_tcp_rx_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _siw_tcp_rx_data@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x19
	bl	_tcp_read_sock
	ldr	w8, [x21]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _IW_CM_EVENT_ESTABLISHED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IW_CM_EVENT_ESTABLISHED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_siw_cm_upcall
LBB0_3:
	mov	x0, x19
	bl	_read_unlock
	mov	x0, x20
	mov	x1, x21
	bl	_siw_qp_socket_assoc
	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
LBB0_4:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
	mov	x0, x19
	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
	b	_read_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No connection endpoint\n"

	.comm	_siw_tcp_rx_data,4,2            ; @siw_tcp_rx_data
	.comm	_IW_CM_EVENT_ESTABLISHED,4,2    ; @IW_CM_EVENT_ESTABLISHED
	.no_dead_strip	_siw_rtr_data_ready
.subsections_via_symbols
