	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfa_nw_ioc_pci_init            ## -- Begin function bfa_nw_ioc_pci_init
	.p2align	4, 0x90
_bfa_nw_ioc_pci_init:                   ## @bfa_nw_ioc_pci_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	%edx, (%rdi)
	movq	(%rsi), %rax
	movq	%rax, 72(%rdi)
	movq	_BFI_PORT_MODE_FC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rdi)
	movq	%rax, 64(%rdi)
	movq	_BFI_ASIC_MODE_FC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%rdi)
	movl	(%rsi), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.2:
	movq	_BFI_ASIC_GEN_CT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_BFI_PORT_MODE_ETH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 56(%rbx)
	movq	%rcx, 64(%rbx)
	movq	_BFI_ASIC_MODE_ETH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%rbx)
	jmp	LBB0_7
LBB0_3:
	movq	_BFI_ASIC_GEN_CT2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_BFI_PCIFN_CLASS_FC@GOTPCREL(%rip), %rdi
	movl	4(%rsi), %ecx
	cmpl	%edx, (%rdi)
	jne	LBB0_6
## %bb.4:
	movq	_BFA_PCI_CT2_SSID_FC@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_6
## %bb.5:
	movq	_BFI_ASIC_MODE_FC16@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%rbx)
	movl	$1, 16(%rbx)
	movq	_BFA_MODE_HBA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 32(%rbx)
	movq	%rcx, 40(%rbx)
	movq	_BFA_CM_HBA@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_10:
	movl	$1, %edi
	callq	_BUG_ON
	movq	8(%rbx), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_BFI_PORT_MODE_ETH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 56(%rbx)
	movq	%rdx, 64(%rbx)
	movq	_BFI_ASIC_MODE_ETH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 48(%rbx)
	movq	_BFA_PCI_CT2_SSID_FCoE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_9
LBB0_7:
	movq	_BFA_MODE_CNA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 32(%rbx)
	movq	%rcx, 40(%rbx)
	movq	_BFA_CM_CNA@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rbx)
LBB0_11:
	movq	_BFI_ASIC_GEN_CT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_bfa_nw_ioc_set_ct_hwif
	jmp	LBB0_14
LBB0_13:
	movq	_BFI_ASIC_GEN_CT2@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	movq	%rbx, %rdi
	callq	_bfa_nw_ioc_set_ct2_hwif
	movq	%rbx, %rdi
	callq	_bfa_nw_ioc_ct2_poweron
LBB0_14:
	movq	%rbx, %rdi
	callq	_bfa_ioc_map_port
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bfa_ioc_reg_init               ## TAILCALL
LBB0_9:
	movq	_BFA_MODE_NIC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 32(%rbx)
	movq	%rcx, 40(%rbx)
	movq	_BFA_CM_NIC@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_BFI_PORT_MODE_FC,8,3           ## @BFI_PORT_MODE_FC
	.comm	_BFI_ASIC_MODE_FC,8,3           ## @BFI_ASIC_MODE_FC
	.comm	_BFI_ASIC_GEN_CT,8,3            ## @BFI_ASIC_GEN_CT
	.comm	_BFI_PORT_MODE_ETH,8,3          ## @BFI_PORT_MODE_ETH
	.comm	_BFI_ASIC_MODE_ETH,8,3          ## @BFI_ASIC_MODE_ETH
	.comm	_BFA_MODE_CNA,8,3               ## @BFA_MODE_CNA
	.comm	_BFA_CM_CNA,8,3                 ## @BFA_CM_CNA
	.comm	_BFI_ASIC_GEN_CT2,8,3           ## @BFI_ASIC_GEN_CT2
	.comm	_BFI_PCIFN_CLASS_FC,4,2         ## @BFI_PCIFN_CLASS_FC
	.comm	_BFA_PCI_CT2_SSID_FC,4,2        ## @BFA_PCI_CT2_SSID_FC
	.comm	_BFI_ASIC_MODE_FC16,8,3         ## @BFI_ASIC_MODE_FC16
	.comm	_BFA_MODE_HBA,8,3               ## @BFA_MODE_HBA
	.comm	_BFA_CM_HBA,8,3                 ## @BFA_CM_HBA
	.comm	_BFA_PCI_CT2_SSID_FCoE,4,2      ## @BFA_PCI_CT2_SSID_FCoE
	.comm	_BFA_MODE_NIC,8,3               ## @BFA_MODE_NIC
	.comm	_BFA_CM_NIC,8,3                 ## @BFA_CM_NIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfa_nw_ioc_pci_init            ; -- Begin function bfa_nw_ioc_pci_init
	.p2align	2
_bfa_nw_ioc_pci_init:                   ; @bfa_nw_ioc_pci_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	w2, [x0]
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _BFI_PORT_MODE_FC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BFI_PORT_MODE_FC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stp	x9, x8, [x0, #64]
Lloh3:
	adrp	x8, _BFI_ASIC_MODE_FC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BFI_ASIC_MODE_FC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, x9, [x0, #48]
	ldr	w8, [x1]
Lloh6:
	adrp	x20, _BFI_ASIC_GEN_CT@GOTPAGE
Lloh7:
	ldr	x20, [x20, _BFI_ASIC_GEN_CT@GOTPAGEOFF]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x20]
	str	x8, [x19, #8]
Lloh8:
	adrp	x9, _BFI_PORT_MODE_ETH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BFI_PORT_MODE_ETH@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _BFI_ASIC_MODE_ETH@GOTPAGE
Lloh12:
	ldr	x10, [x10, _BFI_ASIC_MODE_ETH@GOTPAGEOFF]
	stp	x9, x9, [x19, #56]
Lloh13:
	ldr	x9, [x10]
Lloh14:
	adrp	x10, _BFA_MODE_CNA@GOTPAGE
Lloh15:
	ldr	x10, [x10, _BFA_MODE_CNA@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	stp	x10, x9, [x19, #40]
Lloh17:
	adrp	x9, _BFA_CM_CNA@GOTPAGE
Lloh18:
	ldr	x9, [x9, _BFA_CM_CNA@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh19:
	adrp	x8, _BFI_ASIC_GEN_CT2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BFI_ASIC_GEN_CT2@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh22:
	adrp	x9, _BFI_PCIFN_CLASS_FC@GOTPAGE
Lloh23:
	ldr	x9, [x9, _BFI_PCIFN_CLASS_FC@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x9]
	ldr	w9, [x1, #4]
Lloh25:
	adrp	x11, _BFA_PCI_CT2_SSID_FC@GOTPAGE
Lloh26:
	ldr	x11, [x11, _BFA_PCI_CT2_SSID_FC@GOTPAGEOFF]
Lloh27:
	ldr	w11, [x11]
	cmp	w10, w2
	ccmp	w9, w11, #0, eq
	b.eq	LBB0_7
; %bb.4:
Lloh28:
	adrp	x10, _BFI_PORT_MODE_ETH@GOTPAGE
Lloh29:
	ldr	x10, [x10, _BFI_PORT_MODE_ETH@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
	str	x10, [x19, #64]
Lloh31:
	adrp	x11, _BFI_ASIC_MODE_ETH@GOTPAGE
Lloh32:
	ldr	x11, [x11, _BFI_ASIC_MODE_ETH@GOTPAGEOFF]
Lloh33:
	ldr	x11, [x11]
	stp	x11, x10, [x19, #48]
Lloh34:
	adrp	x10, _BFA_PCI_CT2_SSID_FCoE@GOTPAGE
Lloh35:
	ldr	x10, [x10, _BFA_PCI_CT2_SSID_FCoE@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_9
; %bb.5:
Lloh37:
	adrp	x9, _BFA_MODE_CNA@GOTPAGE
Lloh38:
	ldr	x9, [x9, _BFA_MODE_CNA@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	str	x9, [x19, #40]
Lloh40:
	adrp	x10, _BFA_CM_CNA@GOTPAGE
Lloh41:
	ldr	x10, [x10, _BFA_CM_CNA@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	mov	w0, #1
	bl	_BUG_ON
	ldr	x8, [x19, #8]
	b	LBB0_11
LBB0_7:
Lloh42:
	adrp	x9, _BFI_ASIC_MODE_FC16@GOTPAGE
Lloh43:
	ldr	x9, [x9, _BFI_ASIC_MODE_FC16@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	mov	w10, #1
	str	w10, [x19, #16]
Lloh45:
	adrp	x10, _BFA_MODE_HBA@GOTPAGE
Lloh46:
	ldr	x10, [x10, _BFA_MODE_HBA@GOTPAGEOFF]
Lloh47:
	ldr	x10, [x10]
	stp	x10, x9, [x19, #40]
Lloh48:
	adrp	x9, _BFA_CM_HBA@GOTPAGE
Lloh49:
	ldr	x9, [x9, _BFA_CM_HBA@GOTPAGEOFF]
LBB0_8:
	ldr	x9, [x9]
	stp	x9, x10, [x19, #24]
	b	LBB0_11
LBB0_9:
Lloh50:
	adrp	x9, _BFA_MODE_NIC@GOTPAGE
Lloh51:
	ldr	x9, [x9, _BFA_MODE_NIC@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	str	x9, [x19, #40]
Lloh53:
	adrp	x10, _BFA_CM_NIC@GOTPAGE
Lloh54:
	ldr	x10, [x10, _BFA_CM_NIC@GOTPAGEOFF]
LBB0_10:
	ldr	x10, [x10]
	stp	x10, x9, [x19, #24]
LBB0_11:
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_bfa_nw_ioc_set_ct_hwif
	b	LBB0_14
LBB0_13:
Lloh55:
	adrp	x9, _BFI_ASIC_GEN_CT2@GOTPAGE
Lloh56:
	ldr	x9, [x9, _BFI_ASIC_GEN_CT2@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	mov	x0, x19
	bl	_bfa_nw_ioc_set_ct2_hwif
	mov	x0, x19
	bl	_bfa_nw_ioc_ct2_poweron
LBB0_14:
	mov	x0, x19
	bl	_bfa_ioc_map_port
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bfa_ioc_reg_init
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_BFI_PORT_MODE_FC,8,3           ; @BFI_PORT_MODE_FC
	.comm	_BFI_ASIC_MODE_FC,8,3           ; @BFI_ASIC_MODE_FC
	.comm	_BFI_ASIC_GEN_CT,8,3            ; @BFI_ASIC_GEN_CT
	.comm	_BFI_PORT_MODE_ETH,8,3          ; @BFI_PORT_MODE_ETH
	.comm	_BFI_ASIC_MODE_ETH,8,3          ; @BFI_ASIC_MODE_ETH
	.comm	_BFA_MODE_CNA,8,3               ; @BFA_MODE_CNA
	.comm	_BFA_CM_CNA,8,3                 ; @BFA_CM_CNA
	.comm	_BFI_ASIC_GEN_CT2,8,3           ; @BFI_ASIC_GEN_CT2
	.comm	_BFI_PCIFN_CLASS_FC,4,2         ; @BFI_PCIFN_CLASS_FC
	.comm	_BFA_PCI_CT2_SSID_FC,4,2        ; @BFA_PCI_CT2_SSID_FC
	.comm	_BFI_ASIC_MODE_FC16,8,3         ; @BFI_ASIC_MODE_FC16
	.comm	_BFA_MODE_HBA,8,3               ; @BFA_MODE_HBA
	.comm	_BFA_CM_HBA,8,3                 ; @BFA_CM_HBA
	.comm	_BFA_PCI_CT2_SSID_FCoE,4,2      ; @BFA_PCI_CT2_SSID_FCoE
	.comm	_BFA_MODE_NIC,8,3               ; @BFA_MODE_NIC
	.comm	_BFA_CM_NIC,8,3                 ; @BFA_CM_NIC
.subsections_via_symbols
