	.file	"extr_command.c_exec_command_password.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Enter new password: "
.LC1:
	.string	"Enter it again: "
.LC2:
	.string	"Passwords didn't match."
.LC3:
	.string	"%s"
.LC4:
	.string	"ALTER USER %s PASSWORD "
	.text
	.p2align 4
	.type	exec_command_password, @function
exec_command_password:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 248
	.cfi_def_cfa_offset 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 232[rsp], rax
	xor	eax, eax
	test	esi, esi
	je	.L2
	mov	esi, DWORD PTR OT_SQLID[rip]
	xor	edx, edx
	mov	ecx, 1
	lea	r12, 16[rsp]
	lea	r13, 128[rsp]
	call	psql_scan_slash_option@PLT
	xor	ecx, ecx
	mov	edx, 100
	mov	rsi, r12
	lea	rdi, .LC0[rip]
	mov	rbp, rax
	call	simple_prompt@PLT
	xor	ecx, ecx
	mov	rsi, r13
	mov	edx, 100
	lea	rdi, .LC1[rip]
	call	simple_prompt@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	jne	.L21
	mov	edi, DWORD PTR pset[rip]
	mov	r14, rbp
	test	rbp, rbp
	je	.L22
.L5:
	mov	rsi, r12
	xor	ecx, ecx
	mov	rdx, r14
	call	PQencryptPasswordConn@PLT
	mov	r12, rax
	test	rax, rax
	je	.L23
	lea	r13, 12[rsp]
	mov	rdi, r13
	call	initPQExpBuffer@PLT
	mov	rdi, r14
	call	fmtId@PLT
	lea	rsi, .LC4[rip]
	mov	rdi, r13
	mov	edx, eax
	call	printfPQExpBuffer@PLT
	mov	edx, DWORD PTR pset[rip]
	mov	rsi, r12
	mov	rdi, r13
	call	appendStringLiteralConn@PLT
	mov	edi, DWORD PTR 12[rsp]
	call	PSQLexec@PLT
	mov	rdi, r13
	mov	r14, rax
	call	termPQExpBuffer@PLT
	test	r14, r14
	je	.L24
	mov	rdi, r14
	call	PQclear@PLT
	mov	rdi, r12
	call	PQfreemem@PLT
	test	rbp, rbp
	je	.L11
	mov	rdi, rbp
	call	free@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L2:
	call	ignore_slash_options@PLT
.L11:
	mov	eax, DWORD PTR PSQL_CMD_SKIP_LINE[rip]
.L1:
	mov	rcx, QWORD PTR 232[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L25
	add	rsp, 248
	.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
.L21:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	call	pg_log_error@PLT
.L4:
	test	rbp, rbp
	je	.L9
.L8:
	mov	rdi, rbp
	call	free@PLT
.L9:
	mov	eax, DWORD PTR PSQL_CMD_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, r12
	call	PQfreemem@PLT
	test	rbp, rbp
	jne	.L8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR pset[rip]
	call	PQerrorMessage@PLT
	lea	rdi, .LC3[rip]
	mov	esi, eax
	call	pg_log_info@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	call	PQuser@PLT
	mov	edi, DWORD PTR pset[rip]
	mov	r14, rax
	jmp	.L5
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	exec_command_password, .-exec_command_password
	.comm	pset,4,4
	.comm	PSQL_CMD_SKIP_LINE,4,4
	.comm	PSQL_CMD_ERROR,4,4
	.comm	OT_SQLID,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_command.c_exec_command_password.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Enter new password: \000"
	.align	2
.LC1:
	.ascii	"Enter it again: \000"
	.align	2
.LC2:
	.ascii	"Passwords didn't match.\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"ALTER USER %s PASSWORD \000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exec_command_password, %function
exec_command_password:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L26
	sub	sp, sp, #212
	cmp	r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #204]
	mov	r3,#0
	beq	.L2
	ldr	r2, .L26+4
	mov	r3, #1
	ldr	r1, [r2]
	mov	r2, #0
	bl	psql_scan_slash_option
	mov	r3, #0
	mov	r2, #100
	add	r1, sp, #4
	mov	r4, r0
	ldr	r0, .L26+8
	bl	simple_prompt
	mov	r3, #0
	mov	r2, #100
	add	r1, sp, #104
	ldr	r0, .L26+12
	bl	simple_prompt
	add	r1, sp, #104
	add	r0, sp, #4
	bl	strcmp
	cmp	r0, #0
	bne	.L21
	ldr	r6, .L26+16
	cmp	r4, #0
	movne	r7, r4
	ldr	r0, [r6]
	beq	.L22
.L5:
	mov	r3, #0
	mov	r2, r7
	add	r1, sp, #4
	bl	PQencryptPasswordConn
	subs	r5, r0, #0
	beq	.L23
	mov	r0, sp
	bl	initPQExpBuffer
	mov	r0, r7
	bl	fmtId
	ldr	r1, .L26+20
	mov	r2, r0
	mov	r0, sp
	bl	printfPQExpBuffer
	ldr	r2, [r6]
	mov	r1, r5
	mov	r0, sp
	bl	appendStringLiteralConn
	ldr	r0, [sp]
	bl	PSQLexec
	mov	r6, r0
	mov	r0, sp
	bl	termPQExpBuffer
	cmp	r6, #0
	beq	.L24
	mov	r0, r6
	bl	PQclear
	mov	r0, r5
	bl	PQfreemem
	cmp	r4, #0
	beq	.L11
	mov	r0, r4
	bl	free
	b	.L11
.L2:
	bl	ignore_slash_options
.L11:
	ldr	r3, .L26+24
	ldr	r0, [r3]
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #204]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	add	sp, sp, #212
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L21:
	ldr	r0, .L26+28
	bl	pg_log_error
.L4:
	cmp	r4, #0
	beq	.L9
.L8:
	mov	r0, r4
	bl	free
.L9:
	ldr	r3, .L26+32
	ldr	r0, [r3]
	b	.L1
.L24:
	mov	r0, r5
	bl	PQfreemem
	cmp	r4, #0
	bne	.L8
	b	.L9
.L23:
	ldr	r0, [r6]
	bl	PQerrorMessage
	mov	r1, r0
	ldr	r0, .L26+36
	bl	pg_log_info
	b	.L4
.L22:
	bl	PQuser
	mov	r7, r0
	ldr	r0, [r6]
	b	.L5
.L25:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC5
	.word	OT_SQLID
	.word	.LC0
	.word	.LC1
	.word	pset
	.word	.LC4
	.word	PSQL_CMD_SKIP_LINE
	.word	.LC2
	.word	PSQL_CMD_ERROR
	.word	.LC3
	.size	exec_command_password, .-exec_command_password
	.comm	pset,4,4
	.comm	PSQL_CMD_SKIP_LINE,4,4
	.comm	PSQL_CMD_ERROR,4,4
	.comm	OT_SQLID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
