	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_func_stats_init
_bnx2x_func_stats_init:                 ## @bnx2x_func_stats_init
	.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
	callq	_bnx2x_sp
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rax, %r14
	leaq	16(%rbx), %rdi
	movq	$0, 8(%rbx)
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_DMAE_SRC_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DMAE_DST_GRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMAE_COMP_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_bnx2x_dmae_opcode
	movl	%eax, 72(%rbx)
	movq	_func_stats@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_bnx2x_sp_mapping
	movl	%eax, %edi
	callq	_U64_LO
	movq	%rax, 64(%rbx)
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_bnx2x_sp_mapping
	movl	%eax, %edi
	callq	_U64_HI
	movq	%rax, 56(%rbx)
	movl	(%rbx), %eax
	sarl	$2, %eax
	movl	%eax, 16(%rbx)
	movq	$0, 48(%rbx)
	movl	$1, 20(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_sp_mapping
	movl	%eax, %edi
	callq	_U64_LO
	movq	%rax, 40(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_sp_mapping
	movl	%eax, %edi
	callq	_U64_HI
	movq	%rax, 32(%rbx)
	movq	_DMAE_COMP_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG!\n"

	.comm	_DMAE_SRC_PCI,4,2               ## @DMAE_SRC_PCI
	.comm	_DMAE_DST_GRC,4,2               ## @DMAE_DST_GRC
	.comm	_DMAE_COMP_PCI,4,2              ## @DMAE_COMP_PCI
	.comm	_func_stats,8,3                 ## @func_stats
	.comm	_DMAE_COMP_VAL,4,2              ## @DMAE_COMP_VAL
	.comm	_stats_comp,8,3                 ## @stats_comp
	.no_dead_strip	_bnx2x_func_stats_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_func_stats_init
_bnx2x_func_stats_init:                 ; @bnx2x_func_stats_init
	.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	_bnx2x_sp
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x0
	add	x0, x19, #16
	str	xzr, [x19, #8]
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh0:
	adrp	x8, _DMAE_SRC_PCI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAE_SRC_PCI@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DMAE_DST_GRC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMAE_DST_GRC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _DMAE_COMP_PCI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMAE_COMP_PCI@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	w21, #1
	mov	x0, x19
	mov	w3, #1
	bl	_bnx2x_dmae_opcode
	str	w0, [x19, #72]
Lloh9:
	adrp	x22, _func_stats@GOTPAGE
Lloh10:
	ldr	x22, [x22, _func_stats@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, x19
	bl	_bnx2x_sp_mapping
	bl	_U64_LO
	str	x0, [x19, #64]
	ldr	x1, [x22]
	mov	x0, x19
	bl	_bnx2x_sp_mapping
	bl	_U64_HI
	ldr	w8, [x19]
	asr	w8, w8, #2
	stp	xzr, x0, [x19, #48]
	stp	w8, w21, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_sp_mapping
	bl	_U64_LO
	str	x0, [x19, #40]
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_sp_mapping
	bl	_U64_HI
	str	x0, [x19, #32]
Lloh11:
	adrp	x8, _DMAE_COMP_VAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DMAE_COMP_VAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	xzr, [x20]
	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:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@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 AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG!\n"

	.comm	_DMAE_SRC_PCI,4,2               ; @DMAE_SRC_PCI
	.comm	_DMAE_DST_GRC,4,2               ; @DMAE_DST_GRC
	.comm	_DMAE_COMP_PCI,4,2              ; @DMAE_COMP_PCI
	.comm	_func_stats,8,3                 ; @func_stats
	.comm	_DMAE_COMP_VAL,4,2              ; @DMAE_COMP_VAL
	.comm	_stats_comp,8,3                 ; @stats_comp
	.no_dead_strip	_bnx2x_func_stats_init
.subsections_via_symbols
