	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_parity_reg_mask
_bnx2x_parity_reg_mask:                 ## @bnx2x_parity_reg_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_CHIP_IS_E1
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_bnx2x_blocks_parity_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	shlq	$4, %rcx
	addq	%rax, %rcx
	addq	$12, %rcx
	jmp	LBB0_7
LBB0_2:
	movq	%rbx, %rdi
	callq	_CHIP_IS_E1H
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_bnx2x_blocks_parity_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	shlq	$4, %rcx
	addq	%rax, %rcx
	addq	$8, %rcx
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	callq	_CHIP_IS_E2
	movq	_bnx2x_blocks_parity_data@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r14d, %rdx
	shlq	$4, %rdx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	addq	%rdx, %rcx
	addq	$4, %rcx
	jmp	LBB0_7
LBB0_6:
	addq	%rdx, %rcx
LBB0_7:
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bnx2x_blocks_parity_data,8,3   ## @bnx2x_blocks_parity_data
	.no_dead_strip	_bnx2x_parity_reg_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_parity_reg_mask
_bnx2x_parity_reg_mask:                 ; @bnx2x_parity_reg_mask
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_CHIP_IS_E1
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _bnx2x_blocks_parity_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bnx2x_blocks_parity_data@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w19, sxtw #4
	add	x8, x8, #12
	b	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_CHIP_IS_E1H
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _bnx2x_blocks_parity_data@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bnx2x_blocks_parity_data@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, w19, sxtw #4
	add	x8, x8, #8
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_CHIP_IS_E2
Lloh6:
	adrp	x8, _bnx2x_blocks_parity_data@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bnx2x_blocks_parity_data@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	sxtw	x9, w19
	add	x8, x8, x9, lsl #4
	add	x9, x8, #4
	cmp	x0, #0
	csel	x8, x8, x9, eq
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bnx2x_blocks_parity_data,8,3   ; @bnx2x_blocks_parity_data
	.no_dead_strip	_bnx2x_parity_reg_mask
.subsections_via_symbols
