	.file	"extr_ib_virt.c_set_vf_node_guid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	set_vf_node_guid, @function
set_vf_node_guid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movsx	rbx, esi
	call	to_mdev@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 16
	mov	r12, QWORD PTR [rax]
	mov	r14, QWORD PTR [r12]
	call	kzalloc@PLT
	test	rax, rax
	je	.L7
	mov	rbp, rax
	mov	eax, DWORD PTR MLX5_HCA_VPORT_SEL_NODE_GUID[rip]
	mov	rdi, r12
	lea	ecx, 1[rbx]
	mov	QWORD PTR 0[rbp], r13
	mov	r8, rbp
	mov	edx, 1
	mov	esi, 1
	mov	DWORD PTR 8[rbp], eax
	call	mlx5_core_modify_hca_vport_context@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L8
.L4:
	mov	rdi, rbp
	call	kfree@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	QWORD PTR [r14+rbx*8], r13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r12d, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	set_vf_node_guid, .-set_vf_node_guid
	.comm	MLX5_HCA_VPORT_SEL_NODE_GUID,4,4
	.comm	GFP_KERNEL,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_ib_virt.c_set_vf_node_guid.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_vf_node_guid, %function
set_vf_node_guid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	mov	r6, r1
	mov	r7, r3
	bl	to_mdev
	ldr	r3, .L8
	ldr	r5, [r0]
	ldr	r1, [r3]
	mov	r0, #8
	ldr	r8, [r5]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L7
	mov	r2, #1
	ldr	r3, .L8+4
	mov	r1, r2
	ldr	r3, [r3]
	mov	r0, r5
	str	r3, [r4, #4]
	str	r7, [r4]
	add	r3, r6, r2
	str	r4, [sp]
	bl	mlx5_core_modify_hca_vport_context
	subs	r5, r0, #0
	streq	r7, [r8, r6, lsl #2]
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L8+8
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	GFP_KERNEL
	.word	MLX5_HCA_VPORT_SEL_NODE_GUID
	.word	ENOMEM
	.size	set_vf_node_guid, .-set_vf_node_guid
	.comm	MLX5_HCA_VPORT_SEL_NODE_GUID,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
