	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_igu_int_disable
_bnx2x_igu_int_disable:                 ## @bnx2x_igu_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_IGU_REG_PF_CONFIGURATION@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_REG_RD
	movq	_IGU_PF_CONF_MSI_MSIX_EN@GOTPCREL(%rip), %rcx
	movq	_IGU_PF_CONF_INT_LINE_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movq	_IGU_PF_CONF_ATTN_BIT_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_NETIF_MSG_IFDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_DP
	xorl	%eax, %eax
	callq	_mmiowb
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_REG_WR
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_REG_RD
	cmpl	%ebx, %eax
	jne	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IGU_REG_PF_CONFIGURATION,4,2   ## @IGU_REG_PF_CONFIGURATION
	.comm	_IGU_PF_CONF_MSI_MSIX_EN,4,2    ## @IGU_PF_CONF_MSI_MSIX_EN
	.comm	_IGU_PF_CONF_INT_LINE_EN,4,2    ## @IGU_PF_CONF_INT_LINE_EN
	.comm	_IGU_PF_CONF_ATTN_BIT_EN,4,2    ## @IGU_PF_CONF_ATTN_BIT_EN
	.comm	_NETIF_MSG_IFDOWN,4,2           ## @NETIF_MSG_IFDOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"write %x to IGU\n"

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

	.no_dead_strip	_bnx2x_igu_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_igu_int_disable
_bnx2x_igu_int_disable:                 ; @bnx2x_igu_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
Lloh0:
	adrp	x21, _IGU_REG_PF_CONFIGURATION@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IGU_REG_PF_CONFIGURATION@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_REG_RD
Lloh2:
	adrp	x8, _IGU_PF_CONF_MSI_MSIX_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IGU_PF_CONF_MSI_MSIX_EN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _IGU_PF_CONF_INT_LINE_EN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IGU_PF_CONF_INT_LINE_EN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _IGU_PF_CONF_ATTN_BIT_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IGU_PF_CONF_ATTN_BIT_EN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w20, w0, w8
Lloh11:
	adrp	x8, _NETIF_MSG_IFDOWN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETIF_MSG_IFDOWN@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DP
	bl	_mmiowb
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WR
	ldr	w1, [x21]
	mov	x0, x19
	bl	_REG_RD
	cmp	w0, w20
	b.ne	LBB0_2
; %bb.1:
	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_2:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	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 AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IGU_REG_PF_CONFIGURATION,4,2   ; @IGU_REG_PF_CONFIGURATION
	.comm	_IGU_PF_CONF_MSI_MSIX_EN,4,2    ; @IGU_PF_CONF_MSI_MSIX_EN
	.comm	_IGU_PF_CONF_INT_LINE_EN,4,2    ; @IGU_PF_CONF_INT_LINE_EN
	.comm	_IGU_PF_CONF_ATTN_BIT_EN,4,2    ; @IGU_PF_CONF_ATTN_BIT_EN
	.comm	_NETIF_MSG_IFDOWN,4,2           ; @NETIF_MSG_IFDOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"write %x to IGU\n"

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

	.no_dead_strip	_bnx2x_igu_int_disable
.subsections_via_symbols
