	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_open_rq                  ## -- Begin function mlx5e_open_rq
	.p2align	4, 0x90
_mlx5e_open_rq:                         ## @mlx5e_open_rq
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rcx, %rdx
	movq	%r8, %rcx
	movq	%r13, %r8
	callq	_mlx5e_alloc_rq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mlx5e_create_rq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	_MLX5_RQC_STATE_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MLX5_RQC_STATE_RDY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_mlx5e_modify_rq_state
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mlx5e_destroy_rq
LBB0_4:
	movq	%r12, %rdi
	callq	_mlx5e_free_rq
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	16(%r14), %edi
	movq	_cqe_checksum_full@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_ETH
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_MLX5E_RQ_STATE_CSUM_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	___set_bit
LBB0_8:
	cmpq	$0, (%r15)
	je	LBB0_10
## %bb.9:
	movq	_MLX5E_RQ_STATE_AM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	___set_bit
LBB0_10:
	movq	_MLX5E_PFLAG_RX_NO_CSUM_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_MLX5E_GET_PFLAG
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	cmpq	$0, 8(%r14)
	je	LBB0_13
LBB0_12:
	movq	_MLX5E_RQ_STATE_NO_CSUM_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	___set_bit
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_RQC_STATE_RST,4,2         ## @MLX5_RQC_STATE_RST
	.comm	_MLX5_RQC_STATE_RDY,4,2         ## @MLX5_RQC_STATE_RDY
	.comm	_cqe_checksum_full,4,2          ## @cqe_checksum_full
	.comm	_MLX5E_RQ_STATE_CSUM_FULL,4,2   ## @MLX5E_RQ_STATE_CSUM_FULL
	.comm	_MLX5E_RQ_STATE_AM,4,2          ## @MLX5E_RQ_STATE_AM
	.comm	_MLX5E_PFLAG_RX_NO_CSUM_COMPLETE,4,2 ## @MLX5E_PFLAG_RX_NO_CSUM_COMPLETE
	.comm	_MLX5E_RQ_STATE_NO_CSUM_COMPLETE,4,2 ## @MLX5E_RQ_STATE_NO_CSUM_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_open_rq                  ; -- Begin function mlx5e_open_rq
	.p2align	2
_mlx5e_open_rq:                         ; @mlx5e_open_rq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x5
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x2, x3
	mov	x3, x4
	mov	x4, x23
	bl	_mlx5e_alloc_rq
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.1:
	mov	x0, x21
	mov	x1, x23
	bl	_mlx5e_create_rq
	mov	x22, x0
	cbnz	w0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _MLX5_RQC_STATE_RST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_RQC_STATE_RST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MLX5_RQC_STATE_RDY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_RQC_STATE_RDY@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_mlx5e_modify_rq_state
	cbz	w0, LBB0_6
; %bb.3:
	mov	x22, x0
	mov	x0, x21
	bl	_mlx5e_destroy_rq
LBB0_4:
	mov	x0, x21
	bl	_mlx5e_free_rq
LBB0_5:
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w0, [x19, #16]
Lloh6:
	adrp	x8, _cqe_checksum_full@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cqe_checksum_full@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_MLX5_CAP_ETH
	cbz	x0, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _MLX5E_RQ_STATE_CSUM_FULL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX5E_RQ_STATE_CSUM_FULL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	___set_bit
LBB0_8:
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.9:
Lloh12:
	adrp	x8, _MLX5E_RQ_STATE_AM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX5E_RQ_STATE_AM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x19
	bl	___set_bit
LBB0_10:
Lloh15:
	adrp	x8, _MLX5E_PFLAG_RX_NO_CSUM_COMPLETE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MLX5E_PFLAG_RX_NO_CSUM_COMPLETE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5E_GET_PFLAG
	cbnz	x0, LBB0_12
; %bb.11:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_13
LBB0_12:
Lloh18:
	adrp	x8, _MLX5E_RQ_STATE_NO_CSUM_COMPLETE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MLX5E_RQ_STATE_NO_CSUM_COMPLETE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x19
	bl	___set_bit
LBB0_13:
	mov	w22, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_RQC_STATE_RST,4,2         ; @MLX5_RQC_STATE_RST
	.comm	_MLX5_RQC_STATE_RDY,4,2         ; @MLX5_RQC_STATE_RDY
	.comm	_cqe_checksum_full,4,2          ; @cqe_checksum_full
	.comm	_MLX5E_RQ_STATE_CSUM_FULL,4,2   ; @MLX5E_RQ_STATE_CSUM_FULL
	.comm	_MLX5E_RQ_STATE_AM,4,2          ; @MLX5E_RQ_STATE_AM
	.comm	_MLX5E_PFLAG_RX_NO_CSUM_COMPLETE,4,2 ; @MLX5E_PFLAG_RX_NO_CSUM_COMPLETE
	.comm	_MLX5E_RQ_STATE_NO_CSUM_COMPLETE,4,2 ; @MLX5E_RQ_STATE_NO_CSUM_COMPLETE
.subsections_via_symbols
