	.file	"extr_menu.c_menu_add_prop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"leading whitespace ignored"
.LC1:
	.string	"prompt redefined"
	.text
	.p2align 4
	.globl	menu_add_prop
	.type	menu_add_prop, @function
menu_add_prop:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR current_entry[rip]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	mov	esi, DWORD PTR 24[rax]
	call	prop_alloc@PLT
	mov	rdi, r13
	mov	r12, rax
	mov	rax, QWORD PTR current_entry[rip]
	mov	QWORD PTR 16[r12], r14
	mov	QWORD PTR 24[r12], rax
	call	menu_check_dep@PLT
	mov	DWORD PTR 8[r12], eax
	test	rbx, rbx
	je	.L2
	movsx	edi, BYTE PTR [rbx]
	call	isspace@PLT
	test	rax, rax
	jne	.L31
	mov	rax, QWORD PTR current_entry[rip]
	cmp	QWORD PTR [rax], 0
	je	.L6
.L33:
	lea	rdx, rootmenu[rip]
	cmp	rax, rdx
	je	.L6
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	prop_warn@PLT
	mov	rax, QWORD PTR current_entry[rip]
.L6:
	cmp	DWORD PTR P_PROMPT[rip], ebp
	je	.L32
.L7:
	mov	QWORD PTR [rax], r12
.L2:
	mov	QWORD PTR [r12], rbx
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L32:
	.cfi_restore_state
	mov	rbp, QWORD PTR 16[rax]
	test	rbp, rbp
	je	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR 8[rbp]
	test	edi, edi
	je	.L8
	call	expr_copy@PLT
	mov	edi, DWORD PTR 8[r12]
	mov	rsi, rax
	call	expr_alloc_and@PLT
	mov	DWORD PTR 8[r12], eax
.L8:
	mov	rbp, QWORD PTR 16[rbp]
	test	rbp, rbp
	jne	.L9
	mov	rax, QWORD PTR current_entry[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	prop_warn@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	add	rbx, 1
.L4:
	movsx	edi, BYTE PTR [rbx]
	call	isspace@PLT
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR current_entry[rip]
	cmp	QWORD PTR [rax], 0
	jne	.L33
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	menu_add_prop, .-menu_add_prop
	.comm	rootmenu,32,32
	.comm	current_entry,8,8
	.comm	P_PROMPT,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_menu.c_menu_add_prop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"leading whitespace ignored\000"
	.align	2
.LC1:
	.ascii	"prompt redefined\000"
	.text
	.align	2
	.global	menu_add_prop
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu_add_prop, %function
menu_add_prop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L31
	mov	r5, r1
	ldr	r1, [r8]
	mov	r7, r2
	ldr	r1, [r1, #12]
	mov	r6, r3
	mov	r9, r0
	bl	prop_alloc
	mov	r4, r0
	ldr	r3, [r8]
	str	r7, [r0, #8]
	mov	r0, r6
	str	r3, [r4, #12]
	bl	menu_check_dep
	cmp	r5, #0
	str	r0, [r4, #4]
	beq	.L2
	ldrb	r0, [r5]	@ zero_extendqisi2
	bl	isspace
	cmp	r0, #0
	bne	.L28
.L3:
	ldr	r3, [r8]
	ldr	r2, .L31+4
	ldr	r1, [r3]
	cmp	r1, #0
	cmpne	r3, r2
	bne	.L29
	ldr	r2, .L31+8
	ldr	r2, [r2]
	cmp	r2, r9
	beq	.L30
.L6:
	str	r4, [r3]
.L2:
	mov	r0, r4
	str	r5, [r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L29:
	mov	r0, r4
	ldr	r1, .L31+12
	bl	prop_warn
	ldr	r2, .L31+8
	ldr	r3, [r8]
	ldr	r2, [r2]
	cmp	r2, r9
	bne	.L6
.L30:
	ldr	r6, [r3, #8]
	cmp	r6, #0
	beq	.L6
.L8:
	ldr	r0, [r6, #4]
	cmp	r0, #0
	beq	.L7
	bl	expr_copy
	mov	r1, r0
	ldr	r0, [r4, #4]
	bl	expr_alloc_and
	str	r0, [r4, #4]
.L7:
	ldr	r6, [r6, #8]
	cmp	r6, #0
	bne	.L8
	ldr	r3, [r8]
	b	.L6
.L28:
	mov	r0, r4
	ldr	r1, .L31+16
	mov	r6, r5
	bl	prop_warn
.L4:
	ldrb	r0, [r6]	@ zero_extendqisi2
	bl	isspace
	cmp	r0, #0
	mov	r5, r6
	add	r6, r6, #1
	bne	.L4
	b	.L3
.L32:
	.align	2
.L31:
	.word	current_entry
	.word	rootmenu
	.word	P_PROMPT
	.word	.LC1
	.word	.LC0
	.size	menu_add_prop, .-menu_add_prop
	.comm	rootmenu,16,4
	.comm	current_entry,4,4
	.comm	P_PROMPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
