	.file	"extr_zprop_common.c_zprop_index_to_string.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zprop_index_to_string
	.type	zprop_index_to_string, @function
zprop_index_to_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movsx	rbp, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	DWORD PTR ZPROP_INVAL[rip], ebp
	je	.L2
	cmp	DWORD PTR ZPROP_CONT[rip], ebp
	je	.L2
	mov	edi, ecx
	mov	r13d, ecx
	mov	rbx, rsi
	mov	r12, rdx
	call	zprop_get_numprops@PLT
	xor	edi, edi
	cmp	eax, ebp
	setg	dil
	call	ASSERT@PLT
	mov	edi, r13d
	call	zprop_get_proptable@PLT
	mov	rax, QWORD PTR [rax+rbp*8]
	test	rax, rax
	je	.L2
	mov	rdx, QWORD PTR [rax]
	test	rdx, rdx
	je	.L2
	add	rax, 16
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, QWORD PTR [rax]
	add	rax, 16
	test	rdx, rdx
	je	.L2
.L5:
	cmp	QWORD PTR -8[rax], rbx
	jne	.L3
	mov	QWORD PTR [r12], rdx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, -1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	zprop_index_to_string, .-zprop_index_to_string
	.comm	ZPROP_INVAL,4,4
	.comm	ZPROP_CONT,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_zprop_common.c_zprop_index_to_string.c"
	.text
	.align	2
	.global	zprop_index_to_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	zprop_index_to_string, %function
zprop_index_to_string:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, .L15
	mov	r4, r1
	ldr	r1, [r0]
	cmp	r1, r5
	beq	.L2
	mov	r6, r3
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L2
	mov	r0, r6
	mov	r7, r2
	bl	zprop_get_numprops
	cmp	r0, r5
	movle	r0, #0
	movgt	r0, #1
	bl	ASSERT
	mov	r0, r6
	bl	zprop_get_proptable
	ldr	r3, [r0, r5, lsl #2]
	cmp	r3, #0
	beq	.L2
	ldr	r0, [r3]
	cmp	r0, #0
	bne	.L5
	b	.L2
.L3:
	ldr	r0, [r3, #8]!
	cmp	r0, #0
	beq	.L2
.L5:
	ldr	ip, [r3, #4]
	cmp	ip, r4
	bne	.L3
	str	r0, [r7]
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	ZPROP_INVAL
	.word	ZPROP_CONT
	.size	zprop_index_to_string, .-zprop_index_to_string
	.comm	ZPROP_INVAL,4,4
	.comm	ZPROP_CONT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
