	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_fw_dump_lvl              ## -- Begin function bnx2x_fw_dump_lvl
	.p2align	4, 0x90
_bnx2x_fw_dump_lvl:                     ## @bnx2x_fw_dump_lvl
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_BP_NOMCP
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_printk
	movl	(%r15), %eax
	movl	16(%r15), %esi
	movzbl	%ah, %ebx
	movzbl	%al, %r9d
	shrl	$16, %eax
	movzbl	%al, %ecx
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rdx
	movl	%ebx, %r8d
	callq	_netdev_printk
	movq	_MCP_REG_MCPR_CPU_PROGRAM_COUNTER@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rbx
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	cmpq	%rax, %rbx
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_BNX2X_ERR
LBB0_6:
	movq	%r15, %rdi
	callq	_BP_PATH
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_other_shmem_base_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_SHMEM2_RD
	movq	%rax, %rbx
	jmp	LBB0_9
LBB0_7:
	movq	8(%r15), %rbx
LBB0_9:
	leaq	-2048(%rbx), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	_MFW_TRACE_SIGNATURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.12:
	leaq	-2044(%rbx), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_CHIP_IS_E1x
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:
	movq	_MCP_A_REG_MCPR_SCRATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.11:
	leaq	L_.str.5(%rip), %rdi
LBB0_3:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
LBB0_13:
	movq	_MCP_REG_MCPR_SCRATCH@GOTPCREL(%rip), %rax
LBB0_15:
	addq	$-134217725, %r13               ## imm = 0xF8000003
	andq	$-4, %r13
	addq	(%rax), %r13
	leaq	L_.str.6(%rip), %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_printk
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_printk
	cmpq	%rbx, %r13
	jg	LBB0_18
## %bb.16:
	leaq	-96(%rbp), %r14
	movq	%r13, %r12
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -96(%rbp)
	leaq	4(%r12), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -92(%rbp)
	leaq	8(%r12), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -88(%rbp)
	leaq	12(%r12), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -84(%rbp)
	leaq	16(%r12), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -80(%rbp)
	leaq	20(%r12), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -76(%rbp)
	leaq	24(%r12), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -72(%rbp)
	leaq	28(%r12), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -68(%rbp)
	movl	$0, -64(%rbp)
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_pr_cont
	addq	$32, %r12
	cmpq	%rbx, %r12
	jle	LBB0_17
LBB0_18:
	addq	$-2040, %rbx                    ## imm = 0xF808
	cmpq	%r13, %rbx
	jg	LBB0_21
## %bb.19:
	leaq	L_.str.1(%rip), %r12
	leaq	-96(%rbp), %r14
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -96(%rbp)
	leaq	4(%rbx), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -92(%rbp)
	leaq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -88(%rbp)
	leaq	12(%rbx), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -84(%rbp)
	leaq	16(%rbx), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -80(%rbp)
	leaq	20(%rbx), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -76(%rbp)
	leaq	24(%rbx), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -72(%rbp)
	leaq	28(%rbx), %rsi
	movq	%r15, %rdi
	callq	_REG_RD
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, -68(%rbp)
	movl	$0, -64(%rbp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_pr_cont
	addq	$32, %rbx
	cmpq	%r13, %rbx
	jle	LBB0_20
LBB0_21:
	leaq	L_.str.7(%rip), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printk
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NO MCP - can not dump\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"bc %d.%d.%d\n"

	.comm	_MCP_REG_MCPR_CPU_PROGRAM_COUNTER,8,3 ## @MCP_REG_MCPR_CPU_PROGRAM_COUNTER
L_.str.4:                               ## @.str.4
	.asciz	"%sMCP PC at 0x%x\n"

	.comm	_other_shmem_base_addr,4,2      ## @other_shmem_base_addr
	.comm	_MFW_TRACE_SIGNATURE,8,3        ## @MFW_TRACE_SIGNATURE
L_.str.5:                               ## @.str.5
	.asciz	"Trace buffer signature is missing."

	.comm	_MCP_REG_MCPR_SCRATCH,8,3       ## @MCP_REG_MCPR_SCRATCH
	.comm	_MCP_A_REG_MCPR_SCRATCH,8,3     ## @MCP_A_REG_MCPR_SCRATCH
L_.str.6:                               ## @.str.6
	.asciz	"%sbegin fw dump (mark 0x%x)\n"

L_.str.7:                               ## @.str.7
	.asciz	"%send of fw dump\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_fw_dump_lvl              ; -- Begin function bnx2x_fw_dump_lvl
	.p2align	2
_bnx2x_fw_dump_lvl:                     ; @bnx2x_fw_dump_lvl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	bl	_BP_NOMCP
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_19
LBB0_3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printk
	ldr	w1, [x20, #16]
	ldr	w8, [x20]
	ubfx	w3, w8, #16, #8
	ubfx	w4, w8, #8, #8
	and	w5, w8, #0xff
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_netdev_printk
Lloh14:
	adrp	x22, _MCP_REG_MCPR_CPU_PROGRAM_COUNTER@GOTPAGE
Lloh15:
	ldr	x22, [x22, _MCP_REG_MCPR_CPU_PROGRAM_COUNTER@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, x20
	bl	_REG_RD
	mov	x21, x0
	ldr	x1, [x22]
	mov	x0, x20
	bl	_REG_RD
	cmp	x21, x0
	b.ne	LBB0_5
; %bb.4:
	stp	x19, x21, [sp]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_BNX2X_ERR
LBB0_5:
	mov	x0, x20
	bl	_BP_PATH
	cbz	x0, LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _other_shmem_base_addr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _other_shmem_base_addr@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_SHMEM2_RD
	mov	x21, x0
	b	LBB0_8
LBB0_7:
	ldr	x21, [x20, #8]
LBB0_8:
	sub	x1, x21, #2048
	mov	x0, x20
	bl	_REG_RD
Lloh21:
	adrp	x8, _MFW_TRACE_SIGNATURE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MFW_TRACE_SIGNATURE@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.9:
	sub	x1, x21, #2044
	mov	x0, x20
	bl	_REG_RD
	mov	x22, x0
	mov	x0, x20
	bl	_CHIP_IS_E1x
Lloh24:
	adrp	x8, _MCP_REG_MCPR_SCRATCH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MCP_REG_MCPR_SCRATCH@GOTPAGEOFF]
Lloh26:
	adrp	x9, _MCP_A_REG_MCPR_SCRATCH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MCP_A_REG_MCPR_SCRATCH@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	mov	x9, #-134217725
	add	x9, x22, x9
	and	x9, x9, #0xfffffffffffffffc
	add	x24, x9, x8
	str	x24, [sp]
Lloh28:
	adrp	x0, l_.str.6@PAGE
Lloh29:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_printk
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printk
	cmp	x24, x21
	b.gt	LBB0_12
; %bb.10:
Lloh32:
	adrp	x22, l_.str.1@PAGE
Lloh33:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x23, x24
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #20]
	add	x1, x23, #4
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #24]
	add	x1, x23, #8
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #28]
	add	x1, x23, #12
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #32]
	add	x1, x23, #16
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #36]
	add	x1, x23, #20
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #40]
	add	x1, x23, #24
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #44]
	add	x1, x23, #28
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	stp	w0, wzr, [sp, #48]
	add	x1, sp, #20
	mov	x0, x22
	bl	_pr_cont
	add	x23, x23, #32
	cmp	x23, x21
	b.le	LBB0_11
LBB0_12:
	sub	x21, x21, #2040
	cmp	x21, x24
	b.gt	LBB0_15
; %bb.13:
Lloh34:
	adrp	x22, l_.str.1@PAGE
Lloh35:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #20]
	add	x1, x21, #4
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #24]
	add	x1, x21, #8
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #28]
	add	x1, x21, #12
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #32]
	add	x1, x21, #16
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #36]
	add	x1, x21, #20
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #40]
	add	x1, x21, #24
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	str	w0, [sp, #44]
	add	x1, x21, #28
	mov	x0, x20
	bl	_REG_RD
	bl	_htonl
	stp	w0, wzr, [sp, #48]
	add	x1, sp, #20
	mov	x0, x22
	bl	_pr_cont
	add	x21, x21, #32
	cmp	x21, x24
	b.le	LBB0_14
LBB0_15:
Lloh36:
	adrp	x0, l_.str.7@PAGE
Lloh37:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	bl	_printk
	ldr	x8, [sp, #56]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_17:
	ldr	x8, [sp, #56]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.18:
Lloh44:
	adrp	x0, l_.str.5@PAGE
Lloh45:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_BNX2X_ERR
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NO MCP - can not dump\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"bc %d.%d.%d\n"

	.comm	_MCP_REG_MCPR_CPU_PROGRAM_COUNTER,8,3 ; @MCP_REG_MCPR_CPU_PROGRAM_COUNTER
l_.str.4:                               ; @.str.4
	.asciz	"%sMCP PC at 0x%x\n"

	.comm	_other_shmem_base_addr,4,2      ; @other_shmem_base_addr
	.comm	_MFW_TRACE_SIGNATURE,8,3        ; @MFW_TRACE_SIGNATURE
l_.str.5:                               ; @.str.5
	.asciz	"Trace buffer signature is missing."

	.comm	_MCP_REG_MCPR_SCRATCH,8,3       ; @MCP_REG_MCPR_SCRATCH
	.comm	_MCP_A_REG_MCPR_SCRATCH,8,3     ; @MCP_A_REG_MCPR_SCRATCH
l_.str.6:                               ; @.str.6
	.asciz	"%sbegin fw dump (mark 0x%x)\n"

l_.str.7:                               ; @.str.7
	.asciz	"%send of fw dump\n"

.subsections_via_symbols
