	.file	"extr_cmds.c_PromptForBookmarkName.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Enter a name for this bookmark: "
	.align 8
.LC1:
	.string	"Enter a name for this bookmark, or hit enter for \"%s\": "
	.text
	.p2align 4
	.globl	PromptForBookmarkName
	.type	PromptForBookmarkName, @function
PromptForBookmarkName:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 64
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 144
	.cfi_def_cfa_offset 176
	mov	edx, DWORD PTR gConn[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	mov	rdi, rbp
	call	DefaultBookmarkName@PLT
	cmp	BYTE PTR [rsp], 0
	jne	.L2
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printf@PLT
.L3:
	mov	edi, DWORD PTR stdin[rip]
	lea	r12, 64[rsp]
	call	fflush@PLT
	mov	edx, DWORD PTR stdin[rip]
	mov	esi, 64
	mov	rdi, r12
	call	FGets@PLT
	cmp	BYTE PTR 64[rsp], 0
	jne	.L10
	cmp	BYTE PTR [rsp], 0
	je	.L7
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rbp
	call	STRNCPY@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 136[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 144
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	printf@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR [rbx]
	mov	rsi, r12
	call	STRNCPY@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, -1
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	PromptForBookmarkName, .-PromptForBookmarkName
	.comm	stdin,4,4
	.comm	gConn,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_cmds.c_PromptForBookmarkName.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Enter a name for this bookmark: \000"
	.align	2
.LC1:
	.ascii	"Enter a name for this bookmark, or hit enter for \""
	.ascii	"%s\": \000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	PromptForBookmarkName
	.syntax unified
	.arm
	.fpu softvfp
	.type	PromptForBookmarkName, %function
PromptForBookmarkName:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r2, .L12
	sub	sp, sp, #140
	ldr	r3, .L12+4
	mov	r5, r0
	mov	r1, #64
	ldr	r2, [r2]
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #132]
	mov	r3,#0
	bl	DefaultBookmarkName
	ldrb	r3, [sp, #4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L12+8
	bl	printf
.L3:
	ldr	r4, .L12+12
	ldr	r0, [r4]
	bl	fflush
	ldr	r2, [r4]
	mov	r1, #64
	add	r0, sp, #68
	bl	FGets
	ldrb	r4, [sp, #68]	@ zero_extendqisi2
	cmp	r4, #0
	bne	.L10
	ldrb	r3, [sp, #4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
	ldr	r0, [r5]
	add	r1, sp, #4
	bl	STRNCPY
	mov	r0, r4
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #132]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #140
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	add	r1, sp, #4
	ldr	r0, .L12+16
	bl	printf
	b	.L3
.L10:
	ldr	r0, [r5]
	add	r1, sp, #68
	bl	STRNCPY
	mov	r0, #0
	b	.L1
.L7:
	mvn	r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	gConn
	.word	.LC2
	.word	.LC0
	.word	stdin
	.word	.LC1
	.size	PromptForBookmarkName, .-PromptForBookmarkName
	.comm	stdin,4,4
	.comm	gConn,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
