	.file	"extr_bnxt.c_bnxt_fw_init_one_p2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"hwrm query capability failure rc: %x\n"
	.align 8
.LC1:
	.string	"hwrm query adv flow mgnt failure rc: %d\n"
	.align 8
.LC2:
	.string	"hwrm query error recovery failure rc: %d\n"
	.text
	.p2align 4
	.type	bnxt_fw_init_one_p2, @function
bnxt_fw_init_one_p2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	bnxt_hwrm_func_qcaps@PLT
	test	eax, eax
	jne	.L17
	mov	rdi, rbp
	call	bnxt_hwrm_cfa_adv_flow_mgnt_qcaps@PLT
	test	eax, eax
	jne	.L18
	mov	rdi, rbp
	call	bnxt_hwrm_error_recovery_qcfg@PLT
	test	eax, eax
	jne	.L19
.L5:
	mov	rdi, rbp
	call	bnxt_hwrm_func_drv_rgtr@PLT
	test	eax, eax
	je	.L6
.L15:
	mov	r12d, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	bnxt_hwrm_func_rgtr_async_events@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L15
	mov	rdi, rbp
	call	bnxt_hwrm_func_qcfg@PLT
	mov	rdi, rbp
	call	bnxt_hwrm_vnic_qcaps@PLT
	mov	rdi, rbp
	call	bnxt_hwrm_port_led_qcaps@PLT
	mov	rdi, rbp
	call	bnxt_ethtool_init@PLT
	mov	rdi, rbp
	call	bnxt_dcb_init@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, eax
	lea	rsi, .LC2[rip]
	call	netdev_warn@PLT
	mov	rdi, rbp
	call	bnxt_hwrm_func_drv_rgtr@PLT
	test	eax, eax
	jne	.L15
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, eax
	lea	rsi, .LC1[rip]
	call	netdev_warn@PLT
	mov	rdi, rbp
	call	bnxt_hwrm_error_recovery_qcfg@PLT
	test	eax, eax
	je	.L5
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	netdev_err@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bnxt_fw_init_one_p2, .-bnxt_fw_init_one_p2
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_bnxt.c_bnxt_fw_init_one_p2.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"hwrm query capability failure rc: %x\012\000"
	.align	2
.LC1:
	.ascii	"hwrm query adv flow mgnt failure rc: %d\012\000"
	.align	2
.LC2:
	.ascii	"hwrm query error recovery failure rc: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnxt_fw_init_one_p2, %function
bnxt_fw_init_one_p2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	bnxt_hwrm_func_qcaps
	subs	r2, r0, #0
	bne	.L17
	mov	r0, r4
	bl	bnxt_hwrm_cfa_adv_flow_mgnt_qcaps
	subs	r2, r0, #0
	bne	.L18
	mov	r0, r4
	bl	bnxt_hwrm_error_recovery_qcfg
	subs	r2, r0, #0
	bne	.L19
.L5:
	mov	r0, r4
	bl	bnxt_hwrm_func_drv_rgtr
	subs	r2, r0, #0
	beq	.L6
.L15:
	ldr	r3, .L20
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L6:
	mov	r1, r2
	mov	r0, r4
	bl	bnxt_hwrm_func_rgtr_async_events
	subs	r5, r0, #0
	bne	.L15
	mov	r0, r4
	bl	bnxt_hwrm_func_qcfg
	mov	r0, r4
	bl	bnxt_hwrm_vnic_qcaps
	mov	r0, r4
	bl	bnxt_hwrm_port_led_qcaps
	mov	r0, r4
	bl	bnxt_ethtool_init
	mov	r0, r4
	bl	bnxt_dcb_init
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L19:
	ldr	r1, .L20+4
	ldr	r0, [r4]
	bl	netdev_warn
	mov	r0, r4
	bl	bnxt_hwrm_func_drv_rgtr
	subs	r2, r0, #0
	bne	.L15
	b	.L6
.L18:
	ldr	r1, .L20+8
	ldr	r0, [r4]
	bl	netdev_warn
	mov	r0, r4
	bl	bnxt_hwrm_error_recovery_qcfg
	subs	r2, r0, #0
	beq	.L5
	b	.L19
.L17:
	ldr	r0, [r4]
	ldr	r1, .L20+12
	bl	netdev_err
	ldr	r3, .L20
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L21:
	.align	2
.L20:
	.word	ENODEV
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	bnxt_fw_init_one_p2, .-bnxt_fw_init_one_p2
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
