	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_fw_init_one_p2
_bnxt_fw_init_one_p2:                   ## @bnxt_fw_init_one_p2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_bnxt_hwrm_func_qcaps
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_netdev_err
	jmp	LBB0_7
LBB0_2:
	movq	%r14, %rdi
	callq	_bnxt_hwrm_cfa_adv_flow_mgnt_qcaps
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_netdev_warn
LBB0_4:
	movq	%r14, %rdi
	callq	_bnxt_hwrm_error_recovery_qcfg
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	callq	_netdev_warn
LBB0_6:
	movq	%r14, %rdi
	callq	_bnxt_hwrm_func_drv_rgtr
	testl	%eax, %eax
	je	LBB0_10
LBB0_7:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_8:
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_bnxt_hwrm_func_rgtr_async_events
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	movq	%r14, %rdi
	callq	_bnxt_hwrm_func_qcfg
	movq	%r14, %rdi
	callq	_bnxt_hwrm_vnic_qcaps
	movq	%r14, %rdi
	callq	_bnxt_hwrm_port_led_qcaps
	movq	%r14, %rdi
	callq	_bnxt_ethtool_init
	movq	%r14, %rdi
	callq	_bnxt_dcb_init
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hwrm query capability failure rc: %x\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"hwrm query adv flow mgnt failure rc: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"hwrm query error recovery failure rc: %d\n"

	.no_dead_strip	_bnxt_fw_init_one_p2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_fw_init_one_p2
_bnxt_fw_init_one_p2:                   ; @bnxt_fw_init_one_p2
	.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
	bl	_bnxt_hwrm_func_qcaps
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
	b	LBB0_8
LBB0_2:
	mov	x0, x19
	bl	_bnxt_hwrm_cfa_adv_flow_mgnt_qcaps
	cbz	w0, LBB0_4
; %bb.3:
	mov	x2, x0
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_warn
LBB0_4:
	mov	x0, x19
	bl	_bnxt_hwrm_error_recovery_qcfg
	cbz	w0, LBB0_6
; %bb.5:
	mov	x2, x0
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_warn
LBB0_6:
	mov	x0, x19
	bl	_bnxt_hwrm_func_drv_rgtr
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	bl	_bnxt_hwrm_func_rgtr_async_events
	cbz	w0, LBB0_10
LBB0_8:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x19
	bl	_bnxt_hwrm_func_qcfg
	mov	x0, x19
	bl	_bnxt_hwrm_vnic_qcaps
	mov	x0, x19
	bl	_bnxt_hwrm_port_led_qcaps
	mov	x0, x19
	bl	_bnxt_ethtool_init
	mov	x0, x19
	bl	_bnxt_dcb_init
	mov	w0, #0
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hwrm query capability failure rc: %x\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"hwrm query adv flow mgnt failure rc: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"hwrm query error recovery failure rc: %d\n"

	.no_dead_strip	_bnxt_fw_init_one_p2
.subsections_via_symbols
