	.file	"extr_alias_GUID.c_invalidate_guid_record.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	invalidate_guid_record, @function
invalidate_guid_record:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movsx	rsi, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	sal	rsi, 3
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, -8[rsi]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movsx	rbp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	r14, rbp
	sal	rbp, 4
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR [rdi]
	mov	rdx, QWORD PTR -8[rax+rsi]
	mov	eax, DWORD PTR MLX4_GUID_INFO_STATUS_SET[rip]
	add	rdx, rbp
	mov	DWORD PTR 4[rdx], eax
	mov	eax, DWORD PTR NUM_ALIAS_GUID_IN_REC[rip]
	mov	rsi, rdx
	test	eax, eax
	jle	.L6
	mov	r15, rdi
	xor	r13d, r13d
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR GUID_REC_SIZE[rip]
	mov	rcx, QWORD PTR 8[rsi]
	imul	eax, ebx
	cdqe
	mov	rax, QWORD PTR [rcx+rax*4]
	cmp	QWORD PTR MLX4_GUID_FOR_DELETE_VAL[rip], rax
	je	.L3
	mov	eax, r14d
	or	eax, ebx
	je	.L3
	mov	edi, ebx
	call	mlx4_ib_get_aguid_comp_mask_from_ix@PLT
	or	r13d, eax
	mov	rax, QWORD PTR [r15]
	mov	rsi, QWORD PTR [rax+r12]
	add	rsi, rbp
.L3:
	add	ebx, 1
	cmp	DWORD PTR NUM_ALIAS_GUID_IN_REC[rip], ebx
	jg	.L4
.L2:
	or	DWORD PTR [rsi], r13d
	je	.L1
	mov	eax, DWORD PTR MLX4_GUID_INFO_STATUS_IDLE[rip]
	mov	DWORD PTR 4[rsi], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	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
.L6:
	.cfi_restore_state
	xor	r13d, r13d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	invalidate_guid_record, .-invalidate_guid_record
	.comm	NUM_ALIAS_GUID_IN_REC,4,4
	.comm	MLX4_GUID_INFO_STATUS_SET,4,4
	.comm	MLX4_GUID_INFO_STATUS_IDLE,4,4
	.comm	MLX4_GUID_FOR_DELETE_VAL,8,8
	.comm	GUID_REC_SIZE,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_alias_GUID.c_invalidate_guid_record.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	invalidate_guid_record, %function
invalidate_guid_record:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r2
	ldr	r7, .L16
	ldr	r2, [r0]
	sub	r8, r1, #-1073741823
	ldr	r3, .L16+4
	mov	fp, r0
	ldr	r0, [r2, r8, lsl #2]
	ldr	r2, [r7]
	ldr	r3, [r3]
	add	r9, r6, r6, lsl #1
	sub	sp, sp, #12
	add	r0, r0, r9, lsl #2
	cmp	r2, #0
	lsl	r2, r8, #2
	str	r2, [sp, #4]
	str	r3, [r0, #4]
	ble	.L6
	mov	r5, #0
	mov	r4, r5
	ldr	r8, .L16+8
	ldr	r10, .L16+12
	lsl	r9, r9, #2
.L4:
	ldr	r3, [r10]
	ldr	ip, [r0, #8]
	mul	r3, r4, r3
	ldr	r1, [r8]
	ldr	r3, [ip, r3, lsl #2]
	cmp	r1, r3
	beq	.L3
	orrs	r3, r6, r4
	beq	.L3
	mov	r0, r4
	bl	mlx4_ib_get_aguid_comp_mask_from_ix
	ldr	r3, [fp]
	ldr	r2, [sp, #4]
	orr	r5, r5, r0
	ldr	r0, [r3, r2]
	add	r0, r0, r9
.L3:
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L4
.L2:
	ldr	r3, [r0]
	orr	r5, r5, r3
	cmp	r5, #0
	ldrne	r3, .L16+16
	str	r5, [r0]
	ldrne	r3, [r3]
	strne	r3, [r0, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	r5, #0
	b	.L2
.L17:
	.align	2
.L16:
	.word	NUM_ALIAS_GUID_IN_REC
	.word	MLX4_GUID_INFO_STATUS_SET
	.word	MLX4_GUID_FOR_DELETE_VAL
	.word	GUID_REC_SIZE
	.word	MLX4_GUID_INFO_STATUS_IDLE
	.size	invalidate_guid_record, .-invalidate_guid_record
	.comm	NUM_ALIAS_GUID_IN_REC,4,4
	.comm	MLX4_GUID_INFO_STATUS_SET,4,4
	.comm	MLX4_GUID_INFO_STATUS_IDLE,4,4
	.comm	MLX4_GUID_FOR_DELETE_VAL,4,4
	.comm	GUID_REC_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
