	.file	"extr_main.c_init_one.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"devlink alloc failed\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"mlx5_pci_init failed with error code %d\n"
	.align 8
.LC2:
	.string	"mlx5_load_one failed with error code %d\n"
	.align 8
.LC3:
	.string	"mlx5_crdump_enable failed with error code %d\n"
	.text
	.p2align 4
	.type	init_one, @function
init_one:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	call	mlx5_devlink_alloc@PLT
	test	rax, rax
	je	.L18
	mov	rdi, rax
	mov	rbp, rax
	call	devlink_priv@PLT
	mov	esi, DWORD PTR prof_sel[rip]
	mov	QWORD PTR 16[rax], r13
	mov	r14, rax
	mov	QWORD PTR 8[rax], r13
	mov	eax, DWORD PTR [r15]
	mov	rdi, r14
	test	DWORD PTR MLX5_PCI_DEV_IS_VF[rip], eax
	mov	eax, DWORD PTR MLX5_COREDEV_VF[rip]
	cmove	eax, DWORD PTR MLX5_COREDEV_PF[rip]
	mov	DWORD PTR [r14], eax
	call	mlx5_mdev_init@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L19
.L6:
	mov	rdi, rbp
	call	mlx5_devlink_free@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	rdx, r15
	mov	rsi, r13
	mov	rdi, r14
	call	mlx5_pci_init@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L20
	mov	esi, 1
	mov	rdi, r14
	call	mlx5_load_one@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L21
	mov	edi, DWORD PTR MLX5_IB_MOD[rip]
	call	request_module_nowait@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	mlx5_devlink_register@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L22
	mov	rdi, r14
	call	mlx5_crdump_enable@PLT
	test	eax, eax
	jne	.L23
.L12:
	mov	rdi, r13
	call	pci_save_state@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, r14
	call	mlx5_core_err@PLT
.L10:
	mov	rdi, r14
	call	mlx5_pci_close@PLT
.L8:
	mov	rdi, r14
	call	mlx5_mdev_uninit@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, r13
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	mlx5_core_err@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L22:
	mov	esi, 1
	mov	rdi, r14
	call	mlx5_unload_one@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edx, eax
	lea	rsi, .LC3[rip]
	mov	rdi, r13
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	init_one, .-init_one
	.comm	prof_sel,4,4
	.comm	MLX5_PCI_DEV_IS_VF,4,4
	.comm	MLX5_IB_MOD,4,4
	.comm	MLX5_COREDEV_VF,4,4
	.comm	MLX5_COREDEV_PF,4,4
	.comm	ENOMEM,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_main.c_init_one.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"devlink alloc failed\012\000"
	.align	2
.LC1:
	.ascii	"mlx5_pci_init failed with error code %d\012\000"
	.align	2
.LC2:
	.ascii	"mlx5_load_one failed with error code %d\012\000"
	.align	2
.LC3:
	.ascii	"mlx5_crdump_enable failed with error code %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_one, %function
init_one:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r8, r1
	bl	mlx5_devlink_alloc
	subs	r7, r0, #0
	beq	.L18
	bl	devlink_priv
	ldr	r3, .L24
	ldr	r2, [r8]
	ldr	r3, [r3]
	str	r6, [r0, #8]
	tst	r2, r3
	ldrne	r3, .L24+4
	ldreq	r3, .L24+8
	str	r6, [r0, #4]
	ldr	r2, [r3]
	ldr	r3, .L24+12
	str	r2, [r0]
	ldr	r1, [r3]
	mov	r5, r0
	bl	mlx5_mdev_init
	subs	r4, r0, #0
	beq	.L19
.L6:
	mov	r0, r7
	bl	mlx5_devlink_free
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	mov	r2, r8
	mov	r1, r6
	mov	r0, r5
	bl	mlx5_pci_init
	subs	r4, r0, #0
	bne	.L20
	mov	r1, #1
	mov	r0, r5
	bl	mlx5_load_one
	subs	r4, r0, #0
	bne	.L21
	ldr	r3, .L24+16
	ldr	r0, [r3]
	bl	request_module_nowait
	mov	r1, r6
	mov	r0, r7
	bl	mlx5_devlink_register
	subs	r4, r0, #0
	bne	.L22
	mov	r0, r5
	bl	mlx5_crdump_enable
	subs	r2, r0, #0
	bne	.L23
.L12:
	mov	r0, r6
	bl	pci_save_state
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L24+20
	bl	mlx5_core_err
.L10:
	mov	r0, r5
	bl	mlx5_pci_close
.L8:
	mov	r0, r5
	bl	mlx5_mdev_uninit
	b	.L6
.L18:
	mov	r0, r6
	ldr	r1, .L24+24
	bl	dev_err
	ldr	r3, .L24+28
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L24+32
	bl	mlx5_core_err
	b	.L8
.L22:
	mov	r1, #1
	mov	r0, r5
	bl	mlx5_unload_one
	b	.L10
.L23:
	mov	r0, r6
	ldr	r1, .L24+36
	bl	dev_err
	b	.L12
.L25:
	.align	2
.L24:
	.word	MLX5_PCI_DEV_IS_VF
	.word	MLX5_COREDEV_VF
	.word	MLX5_COREDEV_PF
	.word	prof_sel
	.word	MLX5_IB_MOD
	.word	.LC2
	.word	.LC0
	.word	ENOMEM
	.word	.LC1
	.word	.LC3
	.size	init_one, .-init_one
	.comm	prof_sel,4,4
	.comm	MLX5_PCI_DEV_IS_VF,4,4
	.comm	MLX5_IB_MOD,4,4
	.comm	MLX5_COREDEV_VF,4,4
	.comm	MLX5_COREDEV_PF,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
