	.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
	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	r13, rbp
	sal	rbp, 5
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR [rdi]
	mov	rcx, QWORD PTR -8[rax+rsi]
	mov	eax, DWORD PTR MLX4_GUID_INFO_STATUS_IDLE[rip]
	add	rcx, rbp
	mov	DWORD PTR 28[rcx], eax
	mov	eax, DWORD PTR MLX4_GUID_INFO_RECORD_SET[rip]
	mov	DWORD PTR 24[rcx], eax
	mov	eax, DWORD PTR NUM_ALIAS_GUID_IN_REC[rip]
	test	eax, eax
	jle	.L5
	mov	r15, rdi
	lea	r12, -8[rsi]
	xor	r14d, r14d
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR GUID_REC_SIZE[rip]
	mov	rsi, QWORD PTR 16[rcx]
	imul	eax, ebx
	cdqe
	mov	rax, QWORD PTR [rsi+rax*4]
	cmp	QWORD PTR MLX4_GUID_FOR_DELETE_VAL[rip], rax
	je	.L3
	mov	eax, r13d
	or	eax, ebx
	je	.L3
	mov	rax, QWORD PTR MLX4_GUID_NONE_ASSIGN[rip]
	cmp	QWORD PTR [rcx], rax
	je	.L3
	mov	edi, ebx
	call	mlx4_ib_get_aguid_comp_mask_from_ix@PLT
	or	r14d, eax
	mov	rax, QWORD PTR [r15]
	mov	rcx, QWORD PTR [rax+r12]
	add	rcx, rbp
.L3:
	add	ebx, 1
	cmp	DWORD PTR NUM_ALIAS_GUID_IN_REC[rip], ebx
	jg	.L4
.L2:
	mov	DWORD PTR 8[rcx], r14d
	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
.L5:
	.cfi_restore_state
	xor	r14d, r14d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	invalidate_guid_record, .-invalidate_guid_record
	.comm	NUM_ALIAS_GUID_IN_REC,4,4
	.comm	MLX4_GUID_NONE_ASSIGN,8,8
	.comm	MLX4_GUID_INFO_STATUS_IDLE,4,4
	.comm	MLX4_GUID_INFO_RECORD_SET,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	r5, r2
	ldr	r6, .L12
	mov	r2, r0
	ldr	r0, [r0]
	sub	r9, r1, #-1073741823
	ldr	r3, .L12+4
	ldr	r1, .L12+8
	ldr	r0, [r0, r9, lsl #2]
	ldr	ip, [r6]
	ldr	r1, [r1]
	ldr	r3, [r3]
	add	r10, r5, r5, lsl #2
	add	r0, r0, r10, lsl #2
	sub	sp, sp, #12
	cmp	ip, #0
	lsl	ip, r9, #2
	str	ip, [sp, #4]
	str	r1, [r0, #16]
	str	r3, [r0, #12]
	ble	.L5
	mov	fp, #0
	mov	r4, fp
	ldr	r8, .L12+12
	ldr	r7, .L12+16
	ldr	r9, .L12+20
	lsl	r10, r10, #2
.L4:
	ldr	r3, [r7]
	ldr	ip, [r0, #8]
	mul	r3, r4, r3
	ldr	r3, [ip, r3, lsl #2]
	ldr	ip, [r8]
	cmp	ip, r3
	beq	.L3
	orrs	r3, r5, r4
	beq	.L3
	ldr	ip, [r0]
	ldr	r3, [r9]
	cmp	ip, r3
	beq	.L3
	mov	r0, r4
	str	r2, [sp]
	bl	mlx4_ib_get_aguid_comp_mask_from_ix
	ldr	r2, [sp]
	ldr	r1, [sp, #4]
	ldr	r3, [r2]
	orr	fp, fp, r0
	ldr	r0, [r3, r1]
	add	r0, r0, r10
.L3:
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L4
	str	fp, [r0, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	fp, #0
	str	fp, [r0, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	.align	2
.L12:
	.word	NUM_ALIAS_GUID_IN_REC
	.word	MLX4_GUID_INFO_RECORD_SET
	.word	MLX4_GUID_INFO_STATUS_IDLE
	.word	MLX4_GUID_FOR_DELETE_VAL
	.word	GUID_REC_SIZE
	.word	MLX4_GUID_NONE_ASSIGN
	.size	invalidate_guid_record, .-invalidate_guid_record
	.comm	NUM_ALIAS_GUID_IN_REC,4,4
	.comm	MLX4_GUID_NONE_ASSIGN,4,4
	.comm	MLX4_GUID_INFO_STATUS_IDLE,4,4
	.comm	MLX4_GUID_INFO_RECORD_SET,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
