	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mini_cqe_res_format_to_hw
_mini_cqe_res_format_to_hw:             ## @mini_cqe_res_format_to_hw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$130, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_6
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_8
## %bb.3:
	movq	_MLX5_CQE_RES_FORMAT_HASH@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_MLX5_CQE_RES_FORMAT_CSUM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movl	(%rdi), %edi
	movq	_mini_cqe_resp_stride_index@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	_MLX5_CQE_RES_FORMAT_CSUM_STRIDX@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_9:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_10:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_CQE_RES_FORMAT_HASH,4,2   ## @MLX5_CQE_RES_FORMAT_HASH
	.comm	_MLX5_CQE_RES_FORMAT_CSUM,4,2   ## @MLX5_CQE_RES_FORMAT_CSUM
	.comm	_mini_cqe_resp_stride_index,4,2 ## @mini_cqe_resp_stride_index
	.comm	_MLX5_CQE_RES_FORMAT_CSUM_STRIDX,4,2 ## @MLX5_CQE_RES_FORMAT_CSUM_STRIDX
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mini_cqe_res_format_to_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mini_cqe_res_format_to_hw
_mini_cqe_res_format_to_hw:             ; @mini_cqe_res_format_to_hw
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w1, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _MLX5_CQE_RES_FORMAT_HASH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_CQE_RES_FORMAT_HASH@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x8, _MLX5_CQE_RES_FORMAT_CSUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLX5_CQE_RES_FORMAT_CSUM@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	w0, [x0]
Lloh4:
	adrp	x8, _mini_cqe_resp_stride_index@GOTPAGE
Lloh5:
	ldr	x8, [x8, _mini_cqe_resp_stride_index@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
	cbz	w0, LBB0_9
; %bb.6:
Lloh7:
	adrp	x8, _MLX5_CQE_RES_FORMAT_CSUM_STRIDX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MLX5_CQE_RES_FORMAT_CSUM_STRIDX@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh11:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_CQE_RES_FORMAT_HASH,4,2   ; @MLX5_CQE_RES_FORMAT_HASH
	.comm	_MLX5_CQE_RES_FORMAT_CSUM,4,2   ; @MLX5_CQE_RES_FORMAT_CSUM
	.comm	_mini_cqe_resp_stride_index,4,2 ; @mini_cqe_resp_stride_index
	.comm	_MLX5_CQE_RES_FORMAT_CSUM_STRIDX,4,2 ; @MLX5_CQE_RES_FORMAT_CSUM_STRIDX
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mini_cqe_res_format_to_hw
.subsections_via_symbols
