	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_siw_qp_llp_data_ready          ## -- Begin function siw_qp_llp_data_ready
	.p2align	4, 0x90
_siw_qp_llp_data_ready:                 ## @siw_qp_llp_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_read_lock
	cmpl	$0, 4(%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_sk_to_qp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movq	%rbx, %rdi
	callq	_sk_to_qp
	movq	%rax, %r14
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	jne	LBB0_6
## %bb.5:
	leaq	4(%r14), %rdi
	callq	_down_read_trylock
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_6:
	callq	_likely
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movl	$1, -32(%rbp)
	movq	%r14, -24(%rbp)
	movq	8(%r14), %rax
	movq	_SIW_QP_STATE_RTS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_siw_tcp_rx_data@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_tcp_read_sock
LBB0_9:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_up_read
	jmp	LBB0_11
LBB0_10:
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_siw_dbg_qp
LBB0_11:
	movq	%rbx, %rdi
	callq	_read_unlock
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIW_QP_STATE_RTS,8,3           ## @SIW_QP_STATE_RTS
	.comm	_siw_tcp_rx_data,4,2            ## @siw_tcp_rx_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to process RX, suspend: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_siw_qp_llp_data_ready          ; -- Begin function siw_qp_llp_data_ready
	.p2align	2
_siw_qp_llp_data_ready:                 ; @siw_qp_llp_data_ready
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_read_lock
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_sk_to_qp
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_10
	b	LBB0_3
LBB0_2:
	mov	w0, #1
	bl	_unlikely
	cbnz	x0, LBB0_10
LBB0_3:
	mov	x0, x19
	bl	_sk_to_qp
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.4:
	mov	w0, #0
	bl	_likely
	cbz	x0, LBB0_9
LBB0_5:
	mov	w8, #1
	str	w8, [sp]
	str	x20, [sp, #8]
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _SIW_QP_STATE_RTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIW_QP_STATE_RTS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_7
; %bb.6:
Lloh3:
	adrp	x8, _siw_tcp_rx_data@GOTPAGE
Lloh4:
	ldr	x8, [x8, _siw_tcp_rx_data@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x19
	bl	_tcp_read_sock
LBB0_7:
	add	x0, x20, #4
	bl	_up_read
	b	LBB0_10
LBB0_8:
	add	x0, x20, #4
	bl	_down_read_trylock
	cmp	x0, #0
	cset	w0, ne
	bl	_likely
	cbnz	x0, LBB0_5
LBB0_9:
	ldr	w2, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_siw_dbg_qp
LBB0_10:
	mov	x0, x19
	bl	_read_unlock
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SIW_QP_STATE_RTS,8,3           ; @SIW_QP_STATE_RTS
	.comm	_siw_tcp_rx_data,4,2            ; @siw_tcp_rx_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to process RX, suspend: %d\n"

.subsections_via_symbols
