	.file	"extr_mlx5_vport.c_mlx5_modify_nic_vport_node_guid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed to allocate inbox\n"
	.text
	.p2align 4
	.globl	mlx5_modify_nic_vport_node_guid
	.type	mlx5_modify_nic_vport_node_guid, @function
mlx5_modify_nic_vport_node_guid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	edi, DWORD PTR modify_nic_vport_context_in[rip]
	call	MLX5_ST_SZ_BYTES@PLT
	test	r12d, r12d
	jne	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	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
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR vport_group_manager[rip]
	mov	rdi, rbp
	mov	r13d, eax
	call	MLX5_CAP_GEN@PLT
	test	eax, eax
	jne	.L4
	mov	r12d, DWORD PTR EPERM[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
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR nic_vport_node_guid_modify[rip]
	mov	rdi, rbp
	call	MLX5_CAP_ESW@PLT
	test	eax, eax
	jne	.L5
	mov	r12d, DWORD PTR ENOTSUPP[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
.L5:
	.cfi_restore_state
	mov	edi, r13d
	call	mlx5_vzalloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L9
	mov	edx, DWORD PTR field_select[rip]
	mov	edi, DWORD PTR modify_nic_vport_context_in[rip]
	mov	ecx, 1
	mov	rsi, rax
	call	MLX5_SET@PLT
	mov	edx, DWORD PTR vport_number[rip]
	mov	ecx, r12d
	mov	rsi, r15
	mov	edi, DWORD PTR modify_nic_vport_context_in[rip]
	call	MLX5_SET@PLT
	mov	edx, DWORD PTR other_vport[rip]
	mov	ecx, 1
	mov	rsi, r15
	mov	edi, DWORD PTR modify_nic_vport_context_in[rip]
	call	MLX5_SET@PLT
	mov	edi, DWORD PTR modify_nic_vport_context_in[rip]
	xor	edx, edx
	mov	rsi, r15
	call	MLX5_ADDR_OF@PLT
	mov	ecx, r14d
	mov	edx, r14d
	mov	rdi, rax
	mov	rsi, rax
	call	MLX5_SET64@PLT
	mov	rdi, rbp
	mov	edx, r13d
	mov	rsi, r15
	call	mlx5_modify_nic_vport_context@PLT
	mov	rdi, r15
	mov	r12d, eax
	call	kvfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	mlx5_core_warn@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mlx5_modify_nic_vport_node_guid, .-mlx5_modify_nic_vport_node_guid
	.comm	vport_number,4,4
	.comm	vport_group_manager,4,4
	.comm	other_vport,4,4
	.comm	nic_vport_node_guid_modify,4,4
	.comm	modify_nic_vport_context_in,4,4
	.comm	field_select,4,4
	.comm	EPERM,4,4
	.comm	ENOTSUPP,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_mlx5_vport.c_mlx5_modify_nic_vport_node_guid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to allocate inbox\012\000"
	.text
	.align	2
	.global	mlx5_modify_nic_vport_node_guid
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5_modify_nic_vport_node_guid, %function
mlx5_modify_nic_vport_node_guid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	ldr	r8, .L10
	mov	r7, r0
	ldr	r0, [r8]
	mov	r6, r2
	bl	MLX5_ST_SZ_BYTES
	cmp	r4, #0
	bne	.L2
	ldr	r3, .L10+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L10+8
	mov	r5, r0
	ldr	r1, [r3]
	mov	r0, r7
	bl	MLX5_CAP_GEN
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L10+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	ldr	r3, .L10+16
	mov	r0, r7
	ldr	r1, [r3]
	bl	MLX5_CAP_ESW
	cmp	r0, #0
	bne	.L5
	ldr	r3, .L10+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	mov	r0, r5
	bl	mlx5_vzalloc
	subs	r9, r0, #0
	beq	.L9
	ldr	r2, .L10+24
	mov	r1, r9
	mov	r3, #1
	ldr	r2, [r2]
	ldr	r0, [r8]
	bl	MLX5_SET
	ldr	r2, .L10+28
	mov	r3, r4
	mov	r1, r9
	ldr	r2, [r2]
	ldr	r0, [r8]
	bl	MLX5_SET
	ldr	r2, .L10+32
	mov	r3, #1
	mov	r1, r9
	ldr	r2, [r2]
	ldr	r0, [r8]
	bl	MLX5_SET
	mov	r1, r9
	mov	r2, #0
	ldr	r0, [r8]
	bl	MLX5_ADDR_OF
	mov	r3, r6
	mov	r2, r6
	mov	r1, r0
	bl	MLX5_SET64
	mov	r2, r5
	mov	r1, r9
	mov	r0, r7
	bl	mlx5_modify_nic_vport_context
	mov	r4, r0
	mov	r0, r9
	bl	kvfree
	b	.L1
.L9:
	mov	r0, r7
	ldr	r1, .L10+36
	bl	mlx5_core_warn
	ldr	r3, .L10+40
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L11:
	.align	2
.L10:
	.word	modify_nic_vport_context_in
	.word	EINVAL
	.word	vport_group_manager
	.word	EPERM
	.word	nic_vport_node_guid_modify
	.word	ENOTSUPP
	.word	field_select
	.word	vport_number
	.word	other_vport
	.word	.LC0
	.word	ENOMEM
	.size	mlx5_modify_nic_vport_node_guid, .-mlx5_modify_nic_vport_node_guid
	.comm	vport_number,4,4
	.comm	vport_group_manager,4,4
	.comm	other_vport,4,4
	.comm	nic_vport_node_guid_modify,4,4
	.comm	modify_nic_vport_context_in,4,4
	.comm	field_select,4,4
	.comm	EPERM,4,4
	.comm	ENOTSUPP,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
