	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_handle_recv_inl_wqe
_hns_roce_handle_recv_inl_wqe:          ## @hns_roce_handle_recv_inl_wqe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	(%rdi), %edi
	movq	_V2_CQE_BYTE_4_WQE_INDX_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQE_BYTE_4_WQE_INDX_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_roce_get_field
	movq	(%rbx), %rdi
	movl	8(%rdi), %ecx
	decl	%ecx
	andl	%eax, %ecx
	movzwl	%cx, %esi
	movq	(%rdi), %rax
	movq	%rsi, %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %r13
	movl	(%rax,%rcx), %ebx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_get_recv_wqe
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r12d
	testl	%r12d, %r12d
	setne	%cl
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.1:
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.2:
	movq	%rax, %r15
	addq	$8, %r13
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	%r12d, %esi
	callq	_min
	movl	%eax, %ebx
	movq	-8(%r13), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_memcpy
	subl	%ebx, %r12d
	setne	%cl
	cmpq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rax
	addq	%rax, %r15
	addq	$16, %r13
	incq	%r14
	testl	%r12d, %r12d
	jne	LBB0_3
LBB0_5:
	xorl	%eax, %eax
	testb	%cl, %cl
	je	LBB0_7
## %bb.6:
	movq	_IB_WC_LOC_LEN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V2_CQE_BYTE_4_WQE_INDX_M,4,2   ## @V2_CQE_BYTE_4_WQE_INDX_M
	.comm	_V2_CQE_BYTE_4_WQE_INDX_S,4,2   ## @V2_CQE_BYTE_4_WQE_INDX_S
	.comm	_IB_WC_LOC_LEN_ERR,4,2          ## @IB_WC_LOC_LEN_ERR
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_hns_roce_handle_recv_inl_wqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_handle_recv_inl_wqe
_hns_roce_handle_recv_inl_wqe:          ; @hns_roce_handle_recv_inl_wqe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _V2_CQE_BYTE_4_WQE_INDX_M@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V2_CQE_BYTE_4_WQE_INDX_M@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _V2_CQE_BYTE_4_WQE_INDX_S@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V2_CQE_BYTE_4_WQE_INDX_S@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_roce_get_field
	ldr	x8, [x20]
	ldr	w9, [x8, #8]
	sub	w9, w9, #1
	and	w9, w0, w9
	and	w1, w9, #0xffff
	ldr	x9, [x8]
	add	x9, x9, w1, uxtw #4
	ldr	x22, [x9, #8]
	ldr	w23, [x9]
	mov	x0, x8
	bl	_get_recv_wqe
	ldr	w21, [x19]
	cmp	w21, #0
	cset	w8, ne
	cmp	w23, #1
	ccmp	w21, #0, #4, ge
	b.eq	LBB0_4
; %bb.1:
	mov	x20, x0
	add	x24, x22, #8
	mov	w25, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	mov	x1, x21
	bl	_min
	mov	x22, x0
	ldur	x0, [x24, #-8]
	mov	x1, x20
	mov	x2, x22
	bl	_memcpy
	subs	w21, w21, w22
	cset	w8, ne
	cmp	x25, x23
	b.hs	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, w22, sxtw
	add	x24, x24, #16
	add	x25, x25, #1
	cbnz	w21, LBB0_2
LBB0_4:
	cbz	w8, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _IB_WC_LOC_LEN_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_WC_LOC_LEN_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #4]
Lloh9:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_V2_CQE_BYTE_4_WQE_INDX_M,4,2   ; @V2_CQE_BYTE_4_WQE_INDX_M
	.comm	_V2_CQE_BYTE_4_WQE_INDX_S,4,2   ; @V2_CQE_BYTE_4_WQE_INDX_S
	.comm	_IB_WC_LOC_LEN_ERR,4,2          ; @IB_WC_LOC_LEN_ERR
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_hns_roce_handle_recv_inl_wqe
.subsections_via_symbols
