	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_hairpin_get_prio
_mlx5e_hairpin_get_prio:                ## @mlx5e_hairpin_get_prio
	.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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	_fte_match_param@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	4(%rsi), %esi
	movq	_outer_headers@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_MLX5_ADDR_OF
	movq	%rax, %r12
	movl	(%r13), %edi
	movl	(%rbx), %esi
	movl	(%r14), %edx
	callq	_MLX5_ADDR_OF
	movq	%rax, %rbx
	movq	_fte_match_set_lyr_2_4@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_cvlan_tag@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_MLX5_GET
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	(%r13), %edi
	movq	_first_prio@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	movl	%eax, %r12d
	movl	(%r13), %edi
	movl	(%r14), %edx
	movq	%rbx, %rsi
	callq	_MLX5_GET
	cmpl	$7, %r12d
	je	LBB0_4
## %bb.2:
	testl	%r12d, %r12d
	jne	LBB0_6
LBB0_3:
	movq	_UNKNOWN_MATCH_PRIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movl	%eax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_NL_SET_ERR_MSG_MOD
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fte_match_param,4,2            ## @fte_match_param
	.comm	_outer_headers,4,2              ## @outer_headers
	.comm	_fte_match_set_lyr_2_4,4,2      ## @fte_match_set_lyr_2_4
	.comm	_cvlan_tag,4,2                  ## @cvlan_tag
	.comm	_first_prio,4,2                 ## @first_prio
	.comm	_UNKNOWN_MATCH_PRIO,4,2         ## @UNKNOWN_MATCH_PRIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"masked priority match not supported for hairpin"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MLX5_QPTS_TRUST_PCP,8,3        ## @MLX5_QPTS_TRUST_PCP
	.no_dead_strip	_mlx5e_hairpin_get_prio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_hairpin_get_prio
_mlx5e_hairpin_get_prio:                ; @mlx5e_hairpin_get_prio
	.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	x20, x3
	mov	x19, x2
	mov	x22, x1
Lloh0:
	adrp	x23, _fte_match_param@GOTPAGE
Lloh1:
	ldr	x23, [x23, _fte_match_param@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w1, [x1, #4]
Lloh2:
	adrp	x24, _outer_headers@GOTPAGE
Lloh3:
	ldr	x24, [x24, _outer_headers@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_MLX5_ADDR_OF
	mov	x21, x0
	ldr	w0, [x23]
	ldr	w1, [x22]
	ldr	w2, [x24]
	bl	_MLX5_ADDR_OF
	mov	x22, x0
Lloh4:
	adrp	x23, _fte_match_set_lyr_2_4@GOTPAGE
Lloh5:
	ldr	x23, [x23, _fte_match_set_lyr_2_4@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh6:
	adrp	x8, _cvlan_tag@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cvlan_tag@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX5_GET
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x23]
Lloh9:
	adrp	x24, _first_prio@GOTPAGE
Lloh10:
	ldr	x24, [x24, _first_prio@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x1, x21
	bl	_MLX5_GET
	mov	x21, x0
	ldr	w0, [x23]
	ldr	w2, [x24]
	mov	x1, x22
	bl	_MLX5_GET
	cmp	w21, #7
	b.eq	LBB0_4
; %bb.2:
	cbnz	w21, LBB0_5
LBB0_3:
Lloh11:
	adrp	x8, _UNKNOWN_MATCH_PRIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UNKNOWN_MATCH_PRIO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
LBB0_4:
	mov	w8, #0
	str	w0, [x19]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_NL_SET_ERR_MSG_MOD
Lloh16:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_6:
	mov	x0, x8
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_fte_match_param,4,2            ; @fte_match_param
	.comm	_outer_headers,4,2              ; @outer_headers
	.comm	_fte_match_set_lyr_2_4,4,2      ; @fte_match_set_lyr_2_4
	.comm	_cvlan_tag,4,2                  ; @cvlan_tag
	.comm	_first_prio,4,2                 ; @first_prio
	.comm	_UNKNOWN_MATCH_PRIO,4,2         ; @UNKNOWN_MATCH_PRIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"masked priority match not supported for hairpin"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MLX5_QPTS_TRUST_PCP,8,3        ; @MLX5_QPTS_TRUST_PCP
	.no_dead_strip	_mlx5e_hairpin_get_prio
.subsections_via_symbols
