	.file	"extr_attrib.c_FindFirstAttribute.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"FindFistAttribute(%p, %p, %p, %p, %u, %p)\n"
	.text
	.p2align 4
	.globl	FindFirstAttribute
	.type	FindFirstAttribute, @function
FindFirstAttribute:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r9, r8
	mov	r14, r8
	mov	r8d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	mov	rcx, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	mov	edx, esi
	mov	rsi, rdi
	lea	rdi, .LC0[rip]
	call	DPRINT@PLT
	mov	ecx, DWORD PTR [rbx]
	mov	edx, DWORD PTR 4[rbx]
	mov	DWORD PTR 52[rbp], r13d
	mov	DWORD PTR 48[rbp], r12d
	add	edx, ebx
	lea	eax, [rcx+rbx]
	mov	DWORD PTR 0[rbp], ecx
	cdqe
	movsx	rdx, edx
	mov	QWORD PTR 32[rbp], 0
	mov	QWORD PTR 40[rbp], rdx
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, QWORD PTR AttributeEnd[rip]
	mov	QWORD PTR 16[rbp], rax
	mov	QWORD PTR 8[rbp], rax
	mov	QWORD PTR 24[rbp], 0
	je	.L11
	cmp	rdx, QWORD PTR AttributeAttributeList[rip]
	je	.L12
	mov	QWORD PTR [r14], rax
	mov	rax, QWORD PTR 8[rbp]
	sub	rax, rbx
	sar	rax, 2
	mov	DWORD PTR 0[rbp], eax
.L5:
	mov	r12d, DWORD PTR STATUS_SUCCESS[rip]
.L1:
	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
.L11:
	.cfi_restore_state
	mov	r12d, DWORD PTR STATUS_END_OF_FILE[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	QWORD PTR 8[rbp], -1
	pop	rbp
	.cfi_def_cfa_offset 32
	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
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	call	InternalReadNonResidentAttributes@PLT
	mov	edi, eax
	mov	r12d, eax
	call	NT_SUCCESS@PLT
	test	eax, eax
	je	.L1
	mov	rdi, rbp
	call	InternalGetNextAttribute@PLT
	mov	r12d, DWORD PTR STATUS_END_OF_FILE[rip]
	mov	QWORD PTR [r14], rax
	test	rax, rax
	jne	.L5
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	FindFirstAttribute, .-FindFirstAttribute
	.comm	STATUS_SUCCESS,4,4
	.comm	STATUS_END_OF_FILE,4,4
	.comm	AttributeEnd,8,8
	.comm	AttributeAttributeList,8,8
	.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_attrib.c_FindFirstAttribute.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"FindFistAttribute(%p, %p, %p, %p, %u, %p)\012\000"
	.text
	.align	2
	.global	FindFirstAttribute
	.syntax unified
	.arm
	.fpu softvfp
	.type	FindFirstAttribute, %function
FindFirstAttribute:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	sub	sp, sp, #8
	ldr	r8, [sp, #32]
	mov	r4, r0
	mov	r7, r1
	mov	r6, r3
	str	r3, [sp]
	str	r8, [sp, #4]
	mov	r3, r2
	mov	r2, r1
	mov	r1, r0
	ldr	r0, .L13
	bl	DPRINT
	mov	r0, #0
	ldr	r3, [r5]
	ldr	r1, .L13+4
	ldr	r2, [r5, #4]
	ldr	ip, [r3, r5]
	ldr	r1, [r1]
	add	r2, r2, r5
	cmp	ip, r1
	add	r1, r3, r5
	str	r7, [r4, #28]
	str	r6, [r4, #24]
	str	r2, [r4, #20]
	str	r3, [r4]
	str	r1, [r4, #8]
	str	r1, [r4, #4]
	str	r0, [r4, #16]
	str	r0, [r4, #12]
	beq	.L11
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	ip, r3
	beq	.L12
	str	r1, [r8]
	ldr	r2, [r4, #4]
	sub	r2, r2, r5
	asr	r2, r2, #2
	str	r2, [r4]
.L5:
	ldr	r3, .L13+12
	ldr	r5, [r3]
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, .L13+16
	mvn	r2, #0
	ldr	r5, [r3]
	str	r2, [r4, #4]
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	mov	r0, r4
	bl	InternalReadNonResidentAttributes
	mov	r5, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L1
	mov	r0, r4
	bl	InternalGetNextAttribute
	cmp	r0, #0
	str	r0, [r8]
	bne	.L5
	ldr	r3, .L13+16
	ldr	r5, [r3]
	b	.L1
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	AttributeEnd
	.word	AttributeAttributeList
	.word	STATUS_SUCCESS
	.word	STATUS_END_OF_FILE
	.size	FindFirstAttribute, .-FindFirstAttribute
	.comm	STATUS_SUCCESS,4,4
	.comm	STATUS_END_OF_FILE,4,4
	.comm	AttributeEnd,4,4
	.comm	AttributeAttributeList,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
