	.file	"extr_command.c_read_connect_arg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-"
	.text
	.p2align 4
	.type	read_connect_arg, @function
read_connect_arg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	ecx, 1
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR OT_SQLIDHACK[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rdx, 7[rsp]
	call	psql_scan_slash_option@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	cmp	BYTE PTR 7[rsp], 0
	jne	.L1
	cmp	BYTE PTR [rax], 0
	je	.L4
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	rax, rax
	je	.L4
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, r12
	xor	r12d, r12d
	call	free@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	read_connect_arg, .-read_connect_arg
	.comm	OT_SQLIDHACK,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_read_connect_arg.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_connect_arg, %function
read_connect_arg:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	r2, .L16
	sub	sp, sp, #12
	ldr	ip, .L16+4
	ldr	r1, [r2]
	mov	r3, #1
	add	r2, sp, #3
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	bl	psql_scan_slash_option
	cmp	r0, #0
	beq	.L1
	ldrb	r3, [sp, #3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L1
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	cmp	r3, #45
	beq	.L14
.L1:
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L14:
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L1
.L3:
	bl	free
	mov	r0, #0
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	OT_SQLIDHACK
	.word	.LC0
	.size	read_connect_arg, .-read_connect_arg
	.comm	OT_SQLIDHACK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
