	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_dump_state
_bnx2_dump_state:                       ## @bnx2_dump_state
	.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, %rbx
	movq	24(%rdi), %r14
	movl	4(%rdi), %edi
	movq	_PCI_COMMAND@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-28(%rbp), %r15
	movq	%r15, %rdx
	callq	_pci_read_config_dword
	leaq	16(%rbx), %rdi
	callq	_atomic_read
	movl	-28(%rbp), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	movl	4(%rbx), %edi
	movq	_PCI_PM_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movq	%r15, %rdx
	callq	_pci_read_config_dword
	movl	4(%rbx), %edi
	movq	_BNX2_PCICFG_MISC_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-32(%rbp), %rdx
	callq	_pci_read_config_dword
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_BNX2_EMAC_TX_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BNX2_RD
	movl	%eax, %r15d
	movq	_BNX2_EMAC_RX_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BNX2_RD
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_BNX2_RPM_MGMT_PKT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BNX2_RD
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_BNX2_HC_STATS_INTERRUPT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BNX2_RD
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_BNX2_FLAG_USING_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_BNX2_PCI_GRC_WINDOW3_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BNX2_RD
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_COMMAND,8,3                ## @PCI_COMMAND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DEBUG: intr_sem[%x] PCI_CMD[%08x]\n"

	.comm	_PCI_PM_CTRL,8,3                ## @PCI_PM_CTRL
	.comm	_BNX2_PCICFG_MISC_CONFIG,8,3    ## @BNX2_PCICFG_MISC_CONFIG
L_.str.1:                               ## @.str.1
	.asciz	"DEBUG: PCI_PM[%08x] PCI_MISC_CFG[%08x]\n"

L_.str.2:                               ## @.str.2
	.asciz	"DEBUG: EMAC_TX_STATUS[%08x] EMAC_RX_STATUS[%08x]\n"

	.comm	_BNX2_EMAC_TX_STATUS,4,2        ## @BNX2_EMAC_TX_STATUS
	.comm	_BNX2_EMAC_RX_STATUS,4,2        ## @BNX2_EMAC_RX_STATUS
L_.str.3:                               ## @.str.3
	.asciz	"DEBUG: RPM_MGMT_PKT_CTRL[%08x]\n"

	.comm	_BNX2_RPM_MGMT_PKT_CTRL,4,2     ## @BNX2_RPM_MGMT_PKT_CTRL
L_.str.4:                               ## @.str.4
	.asciz	"DEBUG: HC_STATS_INTERRUPT_STATUS[%08x]\n"

	.comm	_BNX2_HC_STATS_INTERRUPT_STATUS,4,2 ## @BNX2_HC_STATS_INTERRUPT_STATUS
	.comm	_BNX2_FLAG_USING_MSIX,4,2       ## @BNX2_FLAG_USING_MSIX
L_.str.5:                               ## @.str.5
	.asciz	"DEBUG: PBA[%08x]\n"

	.comm	_BNX2_PCI_GRC_WINDOW3_BASE,4,2  ## @BNX2_PCI_GRC_WINDOW3_BASE
	.no_dead_strip	_bnx2_dump_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_dump_state
_bnx2_dump_state:                       ; @bnx2_dump_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	ldr	x19, [x0, #24]
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _PCI_COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	add	x0, x20, #16
	bl	_atomic_read
	mov	x2, x0
	ldr	w8, [sp, #12]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	ldr	w0, [x20, #4]
	ldr	x8, [x20, #8]
Lloh5:
	adrp	x9, _PCI_PM_CTRL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PCI_PM_CTRL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	w0, [x20, #4]
Lloh8:
	adrp	x8, _BNX2_PCICFG_MISC_CONFIG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNX2_PCICFG_MISC_CONFIG@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
	add	x2, sp, #8
	bl	_pci_read_config_dword
	ldp	w8, w2, [sp, #8]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
Lloh13:
	adrp	x8, _BNX2_EMAC_TX_STATUS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BNX2_EMAC_TX_STATUS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_BNX2_RD
	mov	x21, x0
Lloh16:
	adrp	x8, _BNX2_EMAC_RX_STATUS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BNX2_EMAC_RX_STATUS@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_BNX2_RD
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_netdev_err
Lloh21:
	adrp	x8, _BNX2_RPM_MGMT_PKT_CTRL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BNX2_RPM_MGMT_PKT_CTRL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_BNX2_RD
	mov	x2, x0
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
Lloh26:
	adrp	x8, _BNX2_HC_STATS_INTERRUPT_STATUS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BNX2_HC_STATS_INTERRUPT_STATUS@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_BNX2_RD
	mov	x2, x0
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	ldr	w8, [x20]
Lloh31:
	adrp	x9, _BNX2_FLAG_USING_MSIX@GOTPAGE
Lloh32:
	ldr	x9, [x9, _BNX2_FLAG_USING_MSIX@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh34:
	adrp	x8, _BNX2_PCI_GRC_WINDOW3_BASE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BNX2_PCI_GRC_WINDOW3_BASE@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_BNX2_RD
	mov	x2, x0
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_COMMAND,8,3                ; @PCI_COMMAND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DEBUG: intr_sem[%x] PCI_CMD[%08x]\n"

	.comm	_PCI_PM_CTRL,8,3                ; @PCI_PM_CTRL
	.comm	_BNX2_PCICFG_MISC_CONFIG,8,3    ; @BNX2_PCICFG_MISC_CONFIG
l_.str.1:                               ; @.str.1
	.asciz	"DEBUG: PCI_PM[%08x] PCI_MISC_CFG[%08x]\n"

l_.str.2:                               ; @.str.2
	.asciz	"DEBUG: EMAC_TX_STATUS[%08x] EMAC_RX_STATUS[%08x]\n"

	.comm	_BNX2_EMAC_TX_STATUS,4,2        ; @BNX2_EMAC_TX_STATUS
	.comm	_BNX2_EMAC_RX_STATUS,4,2        ; @BNX2_EMAC_RX_STATUS
l_.str.3:                               ; @.str.3
	.asciz	"DEBUG: RPM_MGMT_PKT_CTRL[%08x]\n"

	.comm	_BNX2_RPM_MGMT_PKT_CTRL,4,2     ; @BNX2_RPM_MGMT_PKT_CTRL
l_.str.4:                               ; @.str.4
	.asciz	"DEBUG: HC_STATS_INTERRUPT_STATUS[%08x]\n"

	.comm	_BNX2_HC_STATS_INTERRUPT_STATUS,4,2 ; @BNX2_HC_STATS_INTERRUPT_STATUS
	.comm	_BNX2_FLAG_USING_MSIX,4,2       ; @BNX2_FLAG_USING_MSIX
l_.str.5:                               ; @.str.5
	.asciz	"DEBUG: PBA[%08x]\n"

	.comm	_BNX2_PCI_GRC_WINDOW3_BASE,4,2  ; @BNX2_PCI_GRC_WINDOW3_BASE
	.no_dead_strip	_bnx2_dump_state
.subsections_via_symbols
