	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modify_raw_packet_qp
_modify_raw_packet_qp:                  ## @modify_raw_packet_qp
	.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
	movl	%ecx, %r13d
	movl	(%rdx), %ecx
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_6
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	addq	$16, %rsi
	movl	4(%rbx), %r12d
	movl	8(%rbx), %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	8(%r15), %eax
	movq	_MLX5_RAW_QP_RATE_LIMIT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_21
## %bb.3:
	movl	(%rsi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_16
LBB0_4:
	cmpl	$0, 8(%r15)
	jne	LBB0_7
	jmp	LBB0_22
LBB0_6:
	movl	$1, %edi
	callq	_WARN_ON
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_28
LBB0_8:
	movq	_MLX5_SQC_STATE_RDY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_16
## %bb.9:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	_MLX5_RQC_STATE_RDY@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_10:
	movq	_MLX5_SQC_STATE_RST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	_MLX5_RQC_STATE_RST@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_MLX5_SQC_STATE_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_16
## %bb.13:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	_MLX5_RQC_STATE_ERR@GOTPCREL(%rip), %rax
LBB0_14:
	leaq	32(%rbx), %rsi
	movl	(%rax), %edx
	movl	(%rbx), %r8d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rcx
	callq	_modify_raw_packet_qp_rq
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_28
## %bb.15:
	testl	%r12d, %r12d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_17
	jmp	LBB0_28
LBB0_16:
	testl	%r12d, %r12d
	je	LBB0_22
LBB0_17:
	testl	%r13d, %r13d
	je	LBB0_19
## %bb.18:
	movq	%rdi, %r12
	movl	(%rdi), %edi
	movl	(%rbx), %ecx
	movq	%rsi, %r14
	movl	%r13d, %edx
	callq	_modify_raw_packet_tx_affinity
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_28
LBB0_19:
	movl	4(%r15), %edx
	movq	%rdi, %r14
	movq	%rsi, %r12
	callq	_create_flow_rule_vport_sq
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_22:
	xorl	%r14d, %r14d
	jmp	LBB0_28
LBB0_21:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	subl	(%rcx), %r14d
	testl	%eax, %eax
	cmovel	%eax, %r14d
LBB0_28:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movl	(%r14), %edi
	movl	(%rbx), %r8d
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	callq	_modify_raw_packet_qp_sq
	testl	%eax, %eax
	je	LBB0_26
## %bb.24:
	movl	%eax, %r14d
	testq	%r13, %r13
	je	LBB0_28
## %bb.25:
	movq	%r13, %rdi
	callq	_mlx5_del_flow_rules
	jmp	LBB0_28
LBB0_26:
	xorl	%r14d, %r14d
	testq	%r13, %r13
	je	LBB0_28
## %bb.27:
	movq	%r12, %rdi
	callq	_destroy_flow_rule_vport_sq
	movq	%r13, 24(%rbx)
	jmp	LBB0_28
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_MLX5_RQC_STATE_RDY,4,2         ## @MLX5_RQC_STATE_RDY
	.comm	_MLX5_SQC_STATE_RDY,4,2         ## @MLX5_SQC_STATE_RDY
	.comm	_MLX5_RQC_STATE_ERR,4,2         ## @MLX5_RQC_STATE_ERR
	.comm	_MLX5_SQC_STATE_ERR,4,2         ## @MLX5_SQC_STATE_ERR
	.comm	_MLX5_RQC_STATE_RST,4,2         ## @MLX5_RQC_STATE_RST
	.comm	_MLX5_SQC_STATE_RST,4,2         ## @MLX5_SQC_STATE_RST
	.comm	_MLX5_RAW_QP_RATE_LIMIT,4,2     ## @MLX5_RAW_QP_RATE_LIMIT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_modify_raw_packet_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modify_raw_packet_qp
_modify_raw_packet_qp:                  ; @modify_raw_packet_qp
	.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
	ldr	w8, [x2]
	sub	w9, w8, #128
	cmp	w9, #6
	b.hi	LBB0_5
; %bb.1:
	mov	x24, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	add	x20, x1, #16
	ldp	w26, w8, [x1, #4]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	w8, [x21, #8]
Lloh2:
	adrp	x9, _MLX5_RAW_QP_RATE_LIMIT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MLX5_RAW_QP_RATE_LIMIT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.3:
	ldr	w23, [x20]
	b	LBB0_14
LBB0_4:
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_6
	b	LBB0_25
LBB0_5:
	mov	w0, #1
	bl	_WARN_ON
LBB0_6:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_26
LBB0_7:
Lloh8:
	adrp	x9, _MLX5_SQC_STATE_RDY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MLX5_SQC_STATE_RDY@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x9]
	cbz	w8, LBB0_14
; %bb.8:
Lloh11:
	adrp	x8, _MLX5_RQC_STATE_RDY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLX5_RQC_STATE_RDY@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh13:
	adrp	x9, _MLX5_SQC_STATE_RST@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MLX5_SQC_STATE_RST@GOTPAGEOFF]
Lloh15:
	ldr	w23, [x9]
	cbz	w8, LBB0_14
; %bb.10:
Lloh16:
	adrp	x8, _MLX5_RQC_STATE_RST@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MLX5_RQC_STATE_RST@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh18:
	adrp	x9, _MLX5_SQC_STATE_ERR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MLX5_SQC_STATE_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w23, [x9]
	cbz	w8, LBB0_14
; %bb.12:
Lloh21:
	adrp	x8, _MLX5_RQC_STATE_ERR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MLX5_RQC_STATE_ERR@GOTPAGEOFF]
LBB0_13:
	add	x1, x19, #32
	ldr	w2, [x8]
	ldr	w4, [x19]
	mov	x0, x22
	mov	x3, x21
	bl	_modify_raw_packet_qp_rq
	mov	x25, x0
	cmp	w0, #0
	ccmp	w26, #0, #4, eq
	b.eq	LBB0_26
	b	LBB0_15
LBB0_14:
	cbz	w26, LBB0_25
LBB0_15:
	cbz	w24, LBB0_17
; %bb.16:
	ldr	w0, [x22]
	ldr	w3, [x19]
	mov	x1, x20
	mov	x2, x24
	bl	_modify_raw_packet_tx_affinity
	mov	x25, x0
	cbnz	w0, LBB0_26
LBB0_17:
	ldr	w2, [x21, #4]
	mov	x0, x22
	mov	x1, x20
	bl	_create_flow_rule_vport_sq
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_20
; %bb.18:
	mov	x0, x24
	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
	b	_PTR_ERR
LBB0_19:
Lloh23:
	adrp	x9, _EINVAL@GOTPAGE
Lloh24:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, #0
	csneg	w25, wzr, w9, eq
	b	LBB0_26
LBB0_20:
	ldr	w0, [x22]
	ldr	w4, [x19]
	mov	x1, x20
	mov	x2, x23
	mov	x3, x21
	bl	_modify_raw_packet_qp_sq
	cbz	w0, LBB0_23
; %bb.21:
	mov	x25, x0
	cbz	x24, LBB0_26
; %bb.22:
	mov	x0, x24
	bl	_mlx5_del_flow_rules
	b	LBB0_26
LBB0_23:
	cbz	x24, LBB0_25
; %bb.24:
	mov	x0, x20
	bl	_destroy_flow_rule_vport_sq
	mov	w25, #0
	str	x24, [x19, #24]
	b	LBB0_26
LBB0_25:
	mov	w25, #0
LBB0_26:
	mov	x0, x25
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_MLX5_RQC_STATE_RDY,4,2         ; @MLX5_RQC_STATE_RDY
	.comm	_MLX5_SQC_STATE_RDY,4,2         ; @MLX5_SQC_STATE_RDY
	.comm	_MLX5_RQC_STATE_ERR,4,2         ; @MLX5_RQC_STATE_ERR
	.comm	_MLX5_SQC_STATE_ERR,4,2         ; @MLX5_SQC_STATE_ERR
	.comm	_MLX5_RQC_STATE_RST,4,2         ; @MLX5_RQC_STATE_RST
	.comm	_MLX5_SQC_STATE_RST,4,2         ; @MLX5_SQC_STATE_RST
	.comm	_MLX5_RAW_QP_RATE_LIMIT,4,2     ; @MLX5_RAW_QP_RATE_LIMIT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_modify_raw_packet_qp
.subsections_via_symbols
