	.file	"extr_sftp.c_parse_link_flags.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s: Invalid flag -%c"
.LC1:
	.string	"s"
	.text
	.p2align 4
	.type	parse_link_flags, @function
parse_link_flags:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	lea	r13, .LC1[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	mov	DWORD PTR optreset[rip], 1
	mov	DWORD PTR optind[rip], 1
	mov	DWORD PTR opterr[rip], 0
	mov	DWORD PTR [rcx], 0
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	eax, 115
	jne	.L3
	mov	DWORD PTR [rbx], 1
.L2:
	xor	eax, eax
	mov	rdx, r13
	mov	rsi, r12
	mov	edi, ebp
	call	getopt@PLT
	cmp	eax, -1
	jne	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR optind[rip]
	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
.L3:
	.cfi_restore_state
	mov	edx, DWORD PTR optopt[rip]
	mov	rsi, r14
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	error@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, -1
	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
	.cfi_endproc
.LFE0:
	.size	parse_link_flags, .-parse_link_flags
	.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_sftp.c_parse_link_flags.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: Invalid flag -%c\000"
	.align	2
.LC1:
	.ascii	"s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_link_flags, %function
parse_link_flags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r3
	mov	r4, #1
	mov	r3, #0
	ldr	lr, .L8
	ldr	r9, .L8+4
	ldr	ip, .L8+8
	str	r4, [lr]
	str	r4, [r9]
	str	r3, [ip]
	mov	r8, r0
	mov	r7, r1
	mov	r6, r2
	ldr	r10, .L8+12
	str	r3, [r5]
	b	.L2
.L5:
	cmp	r0, #115
	bne	.L3
	str	r4, [r5]
.L2:
	mov	r2, r10
	mov	r1, r7
	mov	r0, r6
	bl	getopt
	cmn	r0, #1
	bne	.L5
	ldr	r0, [r9]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	ldr	r3, .L8+16
	mov	r1, r8
	ldr	r2, [r3]
	ldr	r0, .L8+20
	bl	error
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	.align	2
.L8:
	.word	optreset
	.word	optind
	.word	opterr
	.word	.LC1
	.word	optopt
	.word	.LC0
	.size	parse_link_flags, .-parse_link_flags
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
