	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_setup_cnic_irq_info      ## -- Begin function bnx2x_setup_cnic_irq_info
	.p2align	4, 0x90
_bnx2x_setup_cnic_irq_info:             ## @bnx2x_setup_cnic_irq_info
	.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
	movq	%rdi, %rbx
	movq	_USING_MSIX_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CNIC_DRV_STATE_USING_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, (%rdi)
	je	LBB0_2
## %bb.1:
	orl	%eax, 56(%rbx)
	movq	_CNIC_IRQ_FL_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	48(%rbx), %rcx
	orl	%eax, 16(%rcx)
	movq	32(%rbx), %rax
	movl	4(%rax), %eax
	movl	%eax, 20(%rcx)
	jmp	LBB0_3
LBB0_2:
	notl	%eax
	andl	%eax, 56(%rbx)
	movq	_CNIC_IRQ_FL_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	48(%rbx), %rcx
	andl	%eax, 16(%rcx)
LBB0_3:
	movq	%rbx, %rdi
	callq	_CHIP_IS_E1x
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movq	16(%rbx,%rcx,8), %rax
	movq	48(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	%rbx, %rdi
	callq	_bnx2x_cnic_fw_sb_id
	movq	48(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movq	%rbx, %rdi
	callq	_bnx2x_cnic_igu_sb_id
	movq	48(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	8(%rbx), %rax
	movq	%rax, 32(%rcx)
	movq	_DEF_SB_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rcx)
	movq	_DEF_SB_IGU_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rcx)
	movl	$2, 40(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USING_MSIX_FLAG,4,2            ## @USING_MSIX_FLAG
	.comm	_CNIC_DRV_STATE_USING_MSIX,4,2  ## @CNIC_DRV_STATE_USING_MSIX
	.comm	_CNIC_IRQ_FL_MSIX,4,2           ## @CNIC_IRQ_FL_MSIX
	.comm	_DEF_SB_ID,4,2                  ## @DEF_SB_ID
	.comm	_DEF_SB_IGU_ID,4,2              ## @DEF_SB_IGU_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_setup_cnic_irq_info      ; -- Begin function bnx2x_setup_cnic_irq_info
	.p2align	2
_bnx2x_setup_cnic_irq_info:             ; @bnx2x_setup_cnic_irq_info
	.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, x0
Lloh0:
	adrp	x8, _USING_MSIX_FLAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USING_MSIX_FLAG@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _CNIC_DRV_STATE_USING_MSIX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CNIC_DRV_STATE_USING_MSIX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x19, #56]
	orr	w8, w9, w8
	str	w8, [x19, #56]
Lloh6:
	adrp	x8, _CNIC_IRQ_FL_MSIX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CNIC_IRQ_FL_MSIX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x19, #48]
	ldr	w10, [x9, #16]
	orr	w8, w10, w8
	ldr	x10, [x19, #32]
	ldr	w10, [x10, #4]
	stp	w8, w10, [x9, #16]
	b	LBB0_3
LBB0_2:
	ldr	w9, [x19, #56]
	bic	w8, w9, w8
Lloh9:
	adrp	x9, _CNIC_IRQ_FL_MSIX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CNIC_IRQ_FL_MSIX@GOTPAGEOFF]
	str	w8, [x19, #56]
Lloh11:
	ldr	w8, [x9]
	ldr	x9, [x19, #48]
	ldr	w10, [x9, #16]
	bic	w8, w10, w8
	str	w8, [x9, #16]
LBB0_3:
	mov	x0, x19
	bl	_CHIP_IS_E1x
	cmp	w0, #0
	mov	w8, #16
	mov	w9, #24
	csel	x8, x9, x8, eq
	ldr	x8, [x19, x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, #8]
	mov	x0, x19
	bl	_bnx2x_cnic_fw_sb_id
	ldr	x8, [x19, #48]
	str	w0, [x8, #4]
	mov	x0, x19
	bl	_bnx2x_cnic_igu_sb_id
	ldr	x8, [x19, #48]
	str	w0, [x8]
	ldr	x9, [x19, #8]
	str	x9, [x8, #32]
Lloh12:
	adrp	x9, _DEF_SB_ID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DEF_SB_ID@GOTPAGEOFF]
Lloh14:
	adrp	x10, _DEF_SB_IGU_ID@GOTPAGE
Lloh15:
	ldr	x10, [x10, _DEF_SB_IGU_ID@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #24]
	mov	w8, #2
	str	w8, [x19, #40]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_USING_MSIX_FLAG,4,2            ; @USING_MSIX_FLAG
	.comm	_CNIC_DRV_STATE_USING_MSIX,4,2  ; @CNIC_DRV_STATE_USING_MSIX
	.comm	_CNIC_IRQ_FL_MSIX,4,2           ; @CNIC_IRQ_FL_MSIX
	.comm	_DEF_SB_ID,4,2                  ; @DEF_SB_ID
	.comm	_DEF_SB_IGU_ID,4,2              ; @DEF_SB_IGU_ID
.subsections_via_symbols
