	.file	"extr_camcontrol.c_ata_getpwd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-%c password is too long"
.LC1:
	.string	"-%c password is missing"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"-%c password starts with '-' (generic arg?)"
	.align 8
.LC3:
	.string	"-%c password conflicts with existing password from -%c"
	.text
	.p2align 4
	.type	ata_getpwd, @function
ata_getpwd:
.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
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR optarg[rip]
	mov	rdi, r13
	call	strlen@PLT
	cmp	eax, r12d
	jg	.L10
	test	eax, eax
	je	.L11
	cmp	BYTE PTR 0[r13], 45
	je	.L12
	cmp	BYTE PTR 0[rbp], 0
	je	.L6
	mov	rsi, r13
	mov	rdi, rbp
	call	strcmp@PLT
	test	rax, rax
	jne	.L7
	mov	r13, QWORD PTR optarg[rip]
.L6:
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	call	strncpy@PLT
	mov	BYTE PTR pwd_opt[rip], bl
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L10:
	.cfi_restore_state
	movsx	esi, bl
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	warnx@PLT
	add	rsp, 8
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	movsx	esi, bl
	lea	rdi, .LC1[rip]
	call	warnx@PLT
	add	rsp, 8
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	movsx	esi, bl
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	warnx@PLT
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	movsx	edx, BYTE PTR pwd_opt[rip]
	movsx	esi, bl
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	warnx@PLT
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ata_getpwd, .-ata_getpwd
	.comm	pwd_opt,1,1
	.comm	optarg,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_camcontrol.c_ata_getpwd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"-%c password is too long\000"
	.align	2
.LC1:
	.ascii	"-%c password is missing\000"
	.align	2
.LC2:
	.ascii	"-%c password starts with '-' (generic arg?)\000"
	.align	2
.LC3:
	.ascii	"-%c password conflicts with existing password from "
	.ascii	"-%c\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ata_getpwd, %function
ata_getpwd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L19
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r3]
	mov	r5, r0
	mov	r0, r6
	mov	r4, r1
	mov	r7, r2
	bl	strlen
	cmp	r0, r4
	bgt	.L15
	cmp	r0, #0
	beq	.L16
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L17
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	mov	r1, r6
	mov	r0, r5
	bl	strcmp
	cmp	r0, #0
	bne	.L18
.L6:
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	bl	strncpy
	ldr	r3, .L19+4
	mov	r0, #0
	strb	r7, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	mov	r1, r7
	ldr	r0, .L19+8
	bl	warnx
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	mov	r1, r7
	ldr	r0, .L19+12
	bl	warnx
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	ldr	r3, .L19+4
	mov	r1, r7
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r0, .L19+16
	bl	warnx
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r1, r7
	ldr	r0, .L19+20
	bl	warnx
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	.align	2
.L19:
	.word	optarg
	.word	pwd_opt
	.word	.LC0
	.word	.LC1
	.word	.LC3
	.word	.LC2
	.size	ata_getpwd, .-ata_getpwd
	.comm	pwd_opt,1,1
	.comm	optarg,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
