	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_hc_int_disable
_bnx2x_hc_int_disable:                  ## @bnx2x_hc_int_disable
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_BP_PORT
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_HC_REG_CONFIG_0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_HC_REG_CONFIG_1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r15d
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_REG_RD
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_CHIP_IS_E1
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_HC_REG_INT_MASK@GOTPCREL(%rip), %rax
	movl	%r14d, %esi
	shll	$2, %esi
	addl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	movq	_HC_CONFIG_0_REG_INT_LINE_EN_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_HC_CONFIG_0_REG_SINGLE_ISR_EN_0@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	movq	_HC_CONFIG_0_REG_SINGLE_ISR_EN_0@GOTPCREL(%rip), %rcx
	movq	_HC_CONFIG_0_REG_MSI_MSIX_INT_EN_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_HC_CONFIG_0_REG_INT_LINE_EN_0@GOTPCREL(%rip), %rcx
LBB0_6:
	orl	(%rcx), %eax
	movq	_HC_CONFIG_0_REG_ATTN_BIT_EN_0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_NETIF_MSG_IFDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	callq	_DP
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_REG_WR
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_REG_RD
	cmpl	%ebx, %eax
	jne	LBB0_8
## %bb.7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HC_REG_CONFIG_1,4,2            ## @HC_REG_CONFIG_1
	.comm	_HC_REG_CONFIG_0,4,2            ## @HC_REG_CONFIG_0
	.comm	_HC_REG_INT_MASK,4,2            ## @HC_REG_INT_MASK
	.comm	_HC_CONFIG_0_REG_SINGLE_ISR_EN_0,4,2 ## @HC_CONFIG_0_REG_SINGLE_ISR_EN_0
	.comm	_HC_CONFIG_0_REG_INT_LINE_EN_0,4,2 ## @HC_CONFIG_0_REG_INT_LINE_EN_0
	.comm	_HC_CONFIG_0_REG_ATTN_BIT_EN_0,4,2 ## @HC_CONFIG_0_REG_ATTN_BIT_EN_0
	.comm	_HC_CONFIG_0_REG_MSI_MSIX_INT_EN_0,4,2 ## @HC_CONFIG_0_REG_MSI_MSIX_INT_EN_0
	.comm	_NETIF_MSG_IFDOWN,4,2           ## @NETIF_MSG_IFDOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"write %x to HC %d (addr 0x%x)\n"

L_.str.1:                               ## @.str.1
	.asciz	"BUG! Proper val not read from IGU!\n"

	.no_dead_strip	_bnx2x_hc_int_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_hc_int_disable
_bnx2x_hc_int_disable:                  ; @bnx2x_hc_int_disable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_BP_PORT
	mov	x21, x0
Lloh0:
	adrp	x8, _HC_REG_CONFIG_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HC_REG_CONFIG_1@GOTPAGEOFF]
Lloh2:
	adrp	x9, _HC_REG_CONFIG_0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HC_REG_CONFIG_0@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_REG_RD
	mov	x22, x0
	mov	x0, x19
	bl	_CHIP_IS_E1
	cbz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _HC_REG_INT_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HC_REG_INT_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	add	w1, w8, w21, lsl #2
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
Lloh7:
	adrp	x8, _HC_CONFIG_0_REG_INT_LINE_EN_0@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HC_CONFIG_0_REG_INT_LINE_EN_0@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _HC_CONFIG_0_REG_SINGLE_ISR_EN_0@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HC_CONFIG_0_REG_SINGLE_ISR_EN_0@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _HC_CONFIG_0_REG_SINGLE_ISR_EN_0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HC_CONFIG_0_REG_SINGLE_ISR_EN_0@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _HC_CONFIG_0_REG_MSI_MSIX_INT_EN_0@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HC_CONFIG_0_REG_MSI_MSIX_INT_EN_0@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _HC_CONFIG_0_REG_INT_LINE_EN_0@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HC_CONFIG_0_REG_INT_LINE_EN_0@GOTPAGEOFF]
LBB0_3:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _HC_CONFIG_0_REG_ATTN_BIT_EN_0@GOTPAGE
Lloh21:
	ldr	x9, [x9, _HC_CONFIG_0_REG_ATTN_BIT_EN_0@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w22, w22, w8
Lloh23:
	adrp	x8, _NETIF_MSG_IFDOWN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NETIF_MSG_IFDOWN@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_DP
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_REG_WR
	mov	x0, x19
	mov	x1, x20
	bl	_REG_RD
	cmp	w0, w22
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_BNX2X_ERR
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_HC_REG_CONFIG_1,4,2            ; @HC_REG_CONFIG_1
	.comm	_HC_REG_CONFIG_0,4,2            ; @HC_REG_CONFIG_0
	.comm	_HC_REG_INT_MASK,4,2            ; @HC_REG_INT_MASK
	.comm	_HC_CONFIG_0_REG_SINGLE_ISR_EN_0,4,2 ; @HC_CONFIG_0_REG_SINGLE_ISR_EN_0
	.comm	_HC_CONFIG_0_REG_INT_LINE_EN_0,4,2 ; @HC_CONFIG_0_REG_INT_LINE_EN_0
	.comm	_HC_CONFIG_0_REG_ATTN_BIT_EN_0,4,2 ; @HC_CONFIG_0_REG_ATTN_BIT_EN_0
	.comm	_HC_CONFIG_0_REG_MSI_MSIX_INT_EN_0,4,2 ; @HC_CONFIG_0_REG_MSI_MSIX_INT_EN_0
	.comm	_NETIF_MSG_IFDOWN,4,2           ; @NETIF_MSG_IFDOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"write %x to HC %d (addr 0x%x)\n"

l_.str.1:                               ; @.str.1
	.asciz	"BUG! Proper val not read from IGU!\n"

	.no_dead_strip	_bnx2x_hc_int_disable
.subsections_via_symbols
