	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bna_ioceth_init
_bna_ioceth_init:                       ## @bna_ioceth_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %rsi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, 24(%rdi)
	leaq	16(%rdi), %r15
	movq	_bna_ioceth_cbfn@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	callq	_bfa_nw_ioc_attach
	leaq	12(%r12), %rsi
	movq	_BFI_PCIFN_CLASS_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_bfa_nw_ioc_pci_init
	movq	_BNA_RES_MEM_T_ATTR@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rbx,%rax,8), %rdi
	addq	$8, %rdi
	callq	_BNA_GET_DMA_ADDR
	movq	(%r14), %rax
	movq	(%rbx,%rax,8), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_bfa_nw_ioc_mem_claim
	movq	_BNA_RES_MEM_T_FWTRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_bfa_nw_ioc_debug_memclaim
	movq	_BNA_RES_MEM_T_COM@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rbx,%rax,8), %rdi
	addq	$8, %rdi
	callq	_BNA_GET_DMA_ADDR
	movq	(%r14), %rax
	movq	(%rbx,%rax,8), %rax
	movq	(%rax), %r13
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_bfa_nw_cee_attach
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_bfa_nw_cee_mem_claim
	xorl	%eax, %eax
	callq	_bfa_nw_cee_meminfo
	leaq	(%r13,%rax,4), %r13
	xorl	%eax, %eax
	callq	_bfa_nw_cee_meminfo
	movq	%rax, %rbx
	leaq	4(%r12), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_bfa_nw_flash_attach
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_bfa_nw_flash_memclaim
	xorl	%eax, %eax
	callq	_bfa_nw_flash_meminfo
	leaq	(,%rax,4), %r14
	addq	%r13, %r14
	xorl	%eax, %eax
	callq	_bfa_nw_flash_meminfo
	addl	%eax, %ebx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_bfa_msgq_attach
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_bfa_msgq_memclaim
	movq	_BFI_MC_ENET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_bna_msgq_rsp_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r12, %rcx
	callq	_bfa_msgq_regisr
	xorl	%eax, %eax
	callq	_bfa_msgq_meminfo
	xorl	%eax, %eax
	callq	_bfa_msgq_meminfo
	xorps	%xmm0, %xmm0
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movups	%xmm0, (%rbx)
	movq	%rbx, %rdi
	callq	_bna_attr_init
	movq	_bna_ioceth_sm_stopped@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bfa_fsm_set_state              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bna_ioceth_cbfn,4,2            ## @bna_ioceth_cbfn
	.comm	_BFI_PCIFN_CLASS_ETH,4,2        ## @BFI_PCIFN_CLASS_ETH
	.comm	_BNA_RES_MEM_T_ATTR,8,3         ## @BNA_RES_MEM_T_ATTR
	.comm	_BNA_RES_MEM_T_FWTRC,8,3        ## @BNA_RES_MEM_T_FWTRC
	.comm	_BNA_RES_MEM_T_COM,8,3          ## @BNA_RES_MEM_T_COM
	.comm	_BFI_MC_ENET,4,2                ## @BFI_MC_ENET
	.comm	_bna_msgq_rsp_handler,4,2       ## @bna_msgq_rsp_handler
	.comm	_bna_ioceth_sm_stopped,4,2      ## @bna_ioceth_sm_stopped
	.no_dead_strip	_bna_ioceth_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bna_ioceth_init
_bna_ioceth_init:                       ; @bna_ioceth_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	str	x1, [x0, #24]
	add	x21, x0, #16
Lloh0:
	adrp	x2, _bna_ioceth_cbfn@GOTPAGE
Lloh1:
	ldr	x2, [x2, _bna_ioceth_cbfn@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x19
	bl	_bfa_nw_ioc_attach
	add	x1, x20, #12
Lloh2:
	adrp	x8, _BFI_PCIFN_CLASS_ETH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BFI_PCIFN_CLASS_ETH@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_bfa_nw_ioc_pci_init
Lloh5:
	adrp	x23, _BNA_RES_MEM_T_ATTR@GOTPAGE
Lloh6:
	ldr	x23, [x23, _BNA_RES_MEM_T_ATTR@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x22, x8, lsl #3]
	add	x0, x8, #8
	bl	_BNA_GET_DMA_ADDR
	ldr	x8, [x23]
	ldr	x8, [x22, x8, lsl #3]
	ldr	x1, [x8]
	mov	x0, x21
	bl	_bfa_nw_ioc_mem_claim
Lloh7:
	adrp	x8, _BNA_RES_MEM_T_FWTRC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BNA_RES_MEM_T_FWTRC@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x8, [x22, x8, lsl #3]
	ldr	x1, [x8]
	mov	x0, x21
	bl	_bfa_nw_ioc_debug_memclaim
Lloh10:
	adrp	x23, _BNA_RES_MEM_T_COM@GOTPAGE
Lloh11:
	ldr	x23, [x23, _BNA_RES_MEM_T_COM@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x22, x8, lsl #3]
	add	x0, x8, #8
	bl	_BNA_GET_DMA_ADDR
	ldr	x8, [x23]
	ldr	x8, [x22, x8, lsl #3]
	ldr	x22, [x8]
	add	x23, x20, #8
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	bl	_bfa_nw_cee_attach
	mov	x0, x23
	mov	x1, x22
	bl	_bfa_nw_cee_mem_claim
	bl	_bfa_nw_cee_meminfo
	add	x22, x22, x0, lsl #2
	bl	_bfa_nw_cee_meminfo
	mov	x23, x0
	add	x24, x20, #4
	mov	x0, x24
	mov	x1, x21
	mov	x2, x20
	bl	_bfa_nw_flash_attach
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	bl	_bfa_nw_flash_memclaim
	bl	_bfa_nw_flash_meminfo
	add	x22, x22, x0, lsl #2
	bl	_bfa_nw_flash_meminfo
	add	w23, w0, w23
	mov	x0, x20
	mov	x1, x21
	bl	_bfa_msgq_attach
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	bl	_bfa_msgq_memclaim
Lloh12:
	adrp	x8, _BFI_MC_ENET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BFI_MC_ENET@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _bna_msgq_rsp_handler@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bna_msgq_rsp_handler@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x20
	bl	_bfa_msgq_regisr
	bl	_bfa_msgq_meminfo
	bl	_bfa_msgq_meminfo
	stp	xzr, xzr, [x19]
	mov	x0, x19
	bl	_bna_attr_init
Lloh18:
	adrp	x8, _bna_ioceth_sm_stopped@GOTPAGE
Lloh19:
	ldr	x8, [x8, _bna_ioceth_sm_stopped@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bfa_fsm_set_state
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_bna_ioceth_cbfn,4,2            ; @bna_ioceth_cbfn
	.comm	_BFI_PCIFN_CLASS_ETH,4,2        ; @BFI_PCIFN_CLASS_ETH
	.comm	_BNA_RES_MEM_T_ATTR,8,3         ; @BNA_RES_MEM_T_ATTR
	.comm	_BNA_RES_MEM_T_FWTRC,8,3        ; @BNA_RES_MEM_T_FWTRC
	.comm	_BNA_RES_MEM_T_COM,8,3          ; @BNA_RES_MEM_T_COM
	.comm	_BFI_MC_ENET,4,2                ; @BFI_MC_ENET
	.comm	_bna_msgq_rsp_handler,4,2       ; @bna_msgq_rsp_handler
	.comm	_bna_ioceth_sm_stopped,4,2      ; @bna_ioceth_sm_stopped
	.no_dead_strip	_bna_ioceth_init
.subsections_via_symbols
