	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function siw_orqe_start_rx
_siw_orqe_start_rx:                     ## @siw_orqe_start_rx
	.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	%rdi, %r15
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%r15, %rdi
	callq	_orq_get_current
	movq	%rax, %r12
	movl	8(%rax), %edi
	callq	_READ_ONCE
	movq	_SIW_WQE_VALID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_rx_wqe
	movq	%rax, %rbx
	movl	16(%r12), %eax
	movl	%eax, 52(%rbx)
	movl	12(%r12), %eax
	movl	%eax, 48(%rbx)
	movq	(%r12), %rax
	movl	8(%rax), %ecx
	movq	40(%rbx), %rdx
	movl	%ecx, 8(%rdx)
	movl	4(%rax), %ecx
	movl	%ecx, 4(%rdx)
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	8(%r12), %ecx
	movl	%ecx, 36(%rbx)
	movl	$1, 32(%rbx)
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	8(%rbx), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_smp_wmb
	movq	_SIW_WR_INPROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	_EPROTO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIW_WQE_VALID,4,2              ## @SIW_WQE_VALID
	.comm	_SIW_WR_INPROGRESS,4,2          ## @SIW_WR_INPROGRESS
	.comm	_EPROTO,4,2                     ## @EPROTO
	.no_dead_strip	_siw_orqe_start_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function siw_orqe_start_rx
_siw_orqe_start_rx:                     ; @siw_orqe_start_rx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_smp_mb
	mov	x0, x20
	bl	_orq_get_current
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_READ_ONCE
Lloh0:
	adrp	x8, _SIW_WQE_VALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIW_WQE_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_rx_wqe
	mov	x20, x0
	ldur	d0, [x19, #12]
	str	d0, [x0, #48]
	ldr	x8, [x19]
	ldr	w9, [x8, #8]
	ldr	x10, [x0, #40]
	str	w9, [x10, #8]
	ldr	d0, [x8]
	str	d0, [x10]
	ldr	w8, [x19, #8]
	mov	w9, #1
	stp	w9, w8, [x0, #32]
	str	s0, [x0, #24]
	str	xzr, [x0, #16]
	ldr	x8, [x0, #8]
	str	xzr, [x8]
	bl	_smp_wmb
	mov	w0, #0
Lloh3:
	adrp	x8, _SIW_WR_INPROGRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIW_WR_INPROGRESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _EPROTO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SIW_WQE_VALID,4,2              ; @SIW_WQE_VALID
	.comm	_SIW_WR_INPROGRESS,4,2          ; @SIW_WR_INPROGRESS
	.comm	_EPROTO,4,2                     ; @EPROTO
	.no_dead_strip	_siw_orqe_start_rx
.subsections_via_symbols
