	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_pfc_nig_rx_priority_mask
_bnx2x_pfc_nig_rx_priority_mask:        ## @bnx2x_pfc_nig_rx_priority_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	xorl	%ebx, %ebx
	movl	$0, %esi
	cmpl	$5, %eax
	ja	LBB0_19
## %bb.1:
	movl	%eax, %eax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	jmpq	*%rax
LBB0_2:
	testl	%ecx, %ecx
	jne	LBB0_3
## %bb.4:
	movq	_NIG_REG_P0_RX_COS0_PRIORITY_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_5:
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.7:
	movq	_NIG_REG_P0_RX_COS1_PRIORITY_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_8:
	testl	%ecx, %ecx
	jne	LBB0_9
## %bb.10:
	movq	_NIG_REG_P0_RX_COS2_PRIORITY_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_11:
	testl	%ecx, %ecx
	jne	LBB0_12
## %bb.13:
	movq	_NIG_REG_P0_RX_COS3_PRIORITY_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_14:
	testl	%ecx, %ecx
	jne	LBB0_12
## %bb.15:
	movq	_NIG_REG_P0_RX_COS4_PRIORITY_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	testl	%ecx, %ecx
	je	LBB0_17
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_20
LBB0_3:
	movq	_NIG_REG_P1_RX_COS0_PRIORITY_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_6:
	movq	_NIG_REG_P1_RX_COS1_PRIORITY_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_9:
	movq	_NIG_REG_P1_RX_COS2_PRIORITY_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_17:
	movq	_NIG_REG_P0_RX_COS5_PRIORITY_MASK@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %esi
LBB0_19:
	callq	_REG_WR
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_NIG_REG_P1_RX_COS0_PRIORITY_MASK,4,2 ## @NIG_REG_P1_RX_COS0_PRIORITY_MASK
	.comm	_NIG_REG_P0_RX_COS0_PRIORITY_MASK,4,2 ## @NIG_REG_P0_RX_COS0_PRIORITY_MASK
	.comm	_NIG_REG_P1_RX_COS1_PRIORITY_MASK,4,2 ## @NIG_REG_P1_RX_COS1_PRIORITY_MASK
	.comm	_NIG_REG_P0_RX_COS1_PRIORITY_MASK,4,2 ## @NIG_REG_P0_RX_COS1_PRIORITY_MASK
	.comm	_NIG_REG_P1_RX_COS2_PRIORITY_MASK,4,2 ## @NIG_REG_P1_RX_COS2_PRIORITY_MASK
	.comm	_NIG_REG_P0_RX_COS2_PRIORITY_MASK,4,2 ## @NIG_REG_P0_RX_COS2_PRIORITY_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NIG_REG_P0_RX_COS3_PRIORITY_MASK,4,2 ## @NIG_REG_P0_RX_COS3_PRIORITY_MASK
	.comm	_NIG_REG_P0_RX_COS4_PRIORITY_MASK,4,2 ## @NIG_REG_P0_RX_COS4_PRIORITY_MASK
	.comm	_NIG_REG_P0_RX_COS5_PRIORITY_MASK,4,2 ## @NIG_REG_P0_RX_COS5_PRIORITY_MASK
	.no_dead_strip	_bnx2x_pfc_nig_rx_priority_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_pfc_nig_rx_priority_mask
_bnx2x_pfc_nig_rx_priority_mask:        ; @bnx2x_pfc_nig_rx_priority_mask
	.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, #5
	b.hi	LBB0_3
; %bb.1:
	mov	w8, w1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _NIG_REG_P1_RX_COS0_PRIORITY_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NIG_REG_P1_RX_COS0_PRIORITY_MASK@GOTPAGEOFF]
Lloh4:
	adrp	x9, _NIG_REG_P0_RX_COS0_PRIORITY_MASK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _NIG_REG_P0_RX_COS0_PRIORITY_MASK@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	mov	w1, #0
	b	LBB0_8
LBB0_4:
Lloh6:
	adrp	x8, _NIG_REG_P1_RX_COS1_PRIORITY_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIG_REG_P1_RX_COS1_PRIORITY_MASK@GOTPAGEOFF]
Lloh8:
	adrp	x9, _NIG_REG_P0_RX_COS1_PRIORITY_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NIG_REG_P0_RX_COS1_PRIORITY_MASK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _NIG_REG_P1_RX_COS2_PRIORITY_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NIG_REG_P1_RX_COS2_PRIORITY_MASK@GOTPAGEOFF]
Lloh12:
	adrp	x9, _NIG_REG_P0_RX_COS2_PRIORITY_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NIG_REG_P0_RX_COS2_PRIORITY_MASK@GOTPAGEOFF]
LBB0_6:
	cmp	w3, #0
	csel	x8, x9, x8, eq
LBB0_7:
	ldr	w1, [x8]
LBB0_8:
	bl	_REG_WR
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
	cbnz	w3, LBB0_14
; %bb.10:
Lloh14:
	adrp	x8, _NIG_REG_P0_RX_COS3_PRIORITY_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NIG_REG_P0_RX_COS3_PRIORITY_MASK@GOTPAGEOFF]
	b	LBB0_7
LBB0_11:
	cbnz	w3, LBB0_14
; %bb.12:
Lloh16:
	adrp	x8, _NIG_REG_P0_RX_COS4_PRIORITY_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NIG_REG_P0_RX_COS4_PRIORITY_MASK@GOTPAGEOFF]
	b	LBB0_7
LBB0_13:
	cbz	w3, LBB0_15
LBB0_14:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh21:
	adrp	x8, _NIG_REG_P0_RX_COS5_PRIORITY_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NIG_REG_P0_RX_COS5_PRIORITY_MASK@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_NIG_REG_P1_RX_COS0_PRIORITY_MASK,4,2 ; @NIG_REG_P1_RX_COS0_PRIORITY_MASK
	.comm	_NIG_REG_P0_RX_COS0_PRIORITY_MASK,4,2 ; @NIG_REG_P0_RX_COS0_PRIORITY_MASK
	.comm	_NIG_REG_P1_RX_COS1_PRIORITY_MASK,4,2 ; @NIG_REG_P1_RX_COS1_PRIORITY_MASK
	.comm	_NIG_REG_P0_RX_COS1_PRIORITY_MASK,4,2 ; @NIG_REG_P0_RX_COS1_PRIORITY_MASK
	.comm	_NIG_REG_P1_RX_COS2_PRIORITY_MASK,4,2 ; @NIG_REG_P1_RX_COS2_PRIORITY_MASK
	.comm	_NIG_REG_P0_RX_COS2_PRIORITY_MASK,4,2 ; @NIG_REG_P0_RX_COS2_PRIORITY_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NIG_REG_P0_RX_COS3_PRIORITY_MASK,4,2 ; @NIG_REG_P0_RX_COS3_PRIORITY_MASK
	.comm	_NIG_REG_P0_RX_COS4_PRIORITY_MASK,4,2 ; @NIG_REG_P0_RX_COS4_PRIORITY_MASK
	.comm	_NIG_REG_P0_RX_COS5_PRIORITY_MASK,4,2 ; @NIG_REG_P0_RX_COS5_PRIORITY_MASK
	.no_dead_strip	_bnx2x_pfc_nig_rx_priority_mask
.subsections_via_symbols
