	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_link_int_ack
_bnx2x_link_int_ack:                    ## @bnx2x_link_int_ack
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	24(%rdi), %r14
	movslq	(%rdi), %rbx
	movq	_NIG_REG_STATUS_INTERRUPT_PORT0@GOTPCREL(%rip), %rax
	shlq	$2, %rbx
	movq	(%rax), %rsi
	movq	_NIG_STATUS_XGXS0_LINK10G@GOTPCREL(%rip), %rax
	movq	_NIG_STATUS_XGXS0_LINK_STATUS@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	(%rax), %edx
	addq	%rbx, %rsi
	movq	_NIG_STATUS_SERDES0_LINK_STATUS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_bnx2x_bits_dis
	cmpq	$0, (%r13)
	je	LBB0_9
## %bb.1:
	movq	%r14, %rdi
	callq	_USES_WARPCORE
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r12), %r15d
	movq	_NIG_REG_STATUS_INTERRUPT_PORT0@GOTPCREL(%rip), %r12
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:
	movq	_NIG_STATUS_XGXS0_LINK10G@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_NIG_REG_STATUS_INTERRUPT_PORT0@GOTPCREL(%rip), %r12
	jmp	LBB0_8
LBB0_5:
	movq	8(%r15), %rax
	movq	_SWITCH_CFG_10G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_NIG_REG_STATUS_INTERRUPT_PORT0@GOTPCREL(%rip), %r12
	jne	LBB0_7
## %bb.6:
	movq	_PORT_HW_CFG_LANE_SWAP_CFG_MASTER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	16(%r15), %eax
	movq	_PORT_HW_CFG_LANE_SWAP_CFG_MASTER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	$1, %r15d
	movl	%eax, %ecx
	shll	%cl, %r15d
	movq	_NIG_STATUS_XGXS0_LINK_STATUS_SIZE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	jmp	LBB0_8
LBB0_7:
	movq	_NIG_STATUS_SERDES0_LINK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_8:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_DP
	addq	(%r12), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_bits_en                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NIG_REG_STATUS_INTERRUPT_PORT0,8,3 ## @NIG_REG_STATUS_INTERRUPT_PORT0
	.comm	_NIG_STATUS_XGXS0_LINK10G,4,2   ## @NIG_STATUS_XGXS0_LINK10G
	.comm	_NIG_STATUS_XGXS0_LINK_STATUS,4,2 ## @NIG_STATUS_XGXS0_LINK_STATUS
	.comm	_NIG_STATUS_SERDES0_LINK_STATUS,4,2 ## @NIG_STATUS_SERDES0_LINK_STATUS
	.comm	_SWITCH_CFG_10G,8,3             ## @SWITCH_CFG_10G
	.comm	_PORT_HW_CFG_LANE_SWAP_CFG_MASTER_MASK,4,2 ## @PORT_HW_CFG_LANE_SWAP_CFG_MASTER_MASK
	.comm	_PORT_HW_CFG_LANE_SWAP_CFG_MASTER_SHIFT,4,2 ## @PORT_HW_CFG_LANE_SWAP_CFG_MASTER_SHIFT
	.comm	_NIG_STATUS_XGXS0_LINK_STATUS_SIZE,4,2 ## @NIG_STATUS_XGXS0_LINK_STATUS_SIZE
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ack link up interrupt with mask 0x%x\n"

	.no_dead_strip	_bnx2x_link_int_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_link_int_ack
_bnx2x_link_int_ack:                    ; @bnx2x_link_int_ack
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x19, [x0, #24]
	ldrsw	x8, [x0]
Lloh0:
	adrp	x23, _NIG_REG_STATUS_INTERRUPT_PORT0@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NIG_REG_STATUS_INTERRUPT_PORT0@GOTPAGEOFF]
	ldr	x9, [x23]
	lsl	x24, x8, #2
	add	x1, x9, x24
Lloh2:
	adrp	x26, _NIG_STATUS_XGXS0_LINK10G@GOTPAGE
Lloh3:
	ldr	x26, [x26, _NIG_STATUS_XGXS0_LINK10G@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh4:
	adrp	x27, _NIG_STATUS_XGXS0_LINK_STATUS@GOTPAGE
Lloh5:
	ldr	x27, [x27, _NIG_STATUS_XGXS0_LINK_STATUS@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w8, w9, w8
Lloh6:
	adrp	x25, _NIG_STATUS_SERDES0_LINK_STATUS@GOTPAGE
Lloh7:
	ldr	x25, [x25, _NIG_STATUS_SERDES0_LINK_STATUS@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_bnx2x_bits_dis
	ldr	x8, [x22]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_USES_WARPCORE
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w20, [x27]
	b	LBB0_9
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	cbz	w21, LBB0_6
; %bb.5:
	ldr	w20, [x26]
	b	LBB0_9
LBB0_6:
	ldr	x8, [x20, #8]
Lloh8:
	adrp	x9, _SWITCH_CFG_10G@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SWITCH_CFG_10G@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x20, #16]
Lloh11:
	adrp	x9, _PORT_HW_CFG_LANE_SWAP_CFG_MASTER_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PORT_HW_CFG_LANE_SWAP_CFG_MASTER_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh14:
	adrp	x9, _PORT_HW_CFG_LANE_SWAP_CFG_MASTER_SHIFT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PORT_HW_CFG_LANE_SWAP_CFG_MASTER_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	asr	w8, w8, w9
	mov	w9, #1
	lsl	w8, w9, w8
Lloh17:
	adrp	x9, _NIG_STATUS_XGXS0_LINK_STATUS_SIZE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NIG_STATUS_XGXS0_LINK_STATUS_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	lsl	w20, w8, w9
	b	LBB0_9
LBB0_8:
	ldr	w20, [x25]
LBB0_9:
Lloh20:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DP
	ldr	x8, [x23]
	add	x1, x8, x24
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_bnx2x_bits_en
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_NIG_REG_STATUS_INTERRUPT_PORT0,8,3 ; @NIG_REG_STATUS_INTERRUPT_PORT0
	.comm	_NIG_STATUS_XGXS0_LINK10G,4,2   ; @NIG_STATUS_XGXS0_LINK10G
	.comm	_NIG_STATUS_XGXS0_LINK_STATUS,4,2 ; @NIG_STATUS_XGXS0_LINK_STATUS
	.comm	_NIG_STATUS_SERDES0_LINK_STATUS,4,2 ; @NIG_STATUS_SERDES0_LINK_STATUS
	.comm	_SWITCH_CFG_10G,8,3             ; @SWITCH_CFG_10G
	.comm	_PORT_HW_CFG_LANE_SWAP_CFG_MASTER_MASK,4,2 ; @PORT_HW_CFG_LANE_SWAP_CFG_MASTER_MASK
	.comm	_PORT_HW_CFG_LANE_SWAP_CFG_MASTER_SHIFT,4,2 ; @PORT_HW_CFG_LANE_SWAP_CFG_MASTER_SHIFT
	.comm	_NIG_STATUS_XGXS0_LINK_STATUS_SIZE,4,2 ; @NIG_STATUS_XGXS0_LINK_STATUS_SIZE
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ack link up interrupt with mask 0x%x\n"

	.no_dead_strip	_bnx2x_link_int_ack
.subsections_via_symbols
