	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	_DEFAULT_CONNECT_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, -104(%rbp)
	movq	(%rsi), %rdi
	callq	_pg_logging_init
	movq	(%r15), %rdi
	callq	_get_progname
	movq	%rax, %rbx
	movq	(%r15), %r12
	leaq	L_.str.6(%rip), %rdi
	callq	_PG_TEXTDOMAIN
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_set_pglocale_pgservice
	movq	_help@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	callq	_handle_help_version_opts
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.7(%rip), %rbx
	leaq	_main.long_options(%rip), %r13
	movq	_optarg@GOTPCREL(%rip), %r12
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_pg_strdup
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	callq	_getopt_long
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$104, %eax
	je	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-85(%rax), %ecx
	cmpl	$31, %ecx
	ja	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_pg_strdup
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_pg_strdup
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_pg_strdup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_pg_strdup
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_10:
	cmpl	$-1, %eax
	jne	LBB0_13
## %bb.11:
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpl	%r14d, %eax
	jge	LBB0_14
## %bb.12:
	movq	(%r15,%rax,8), %rsi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_error
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movq	%rax, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_fprintf
	movl	$133, %edi
	callq	_exit
LBB0_14:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -224(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -160(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -216(%rbp)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, -152(%rbp)
	leaq	L_.str.10(%rip), %rax
	movq	%rax, -208(%rbp)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -144(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -200(%rbp)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, -136(%rbp)
	leaq	L_.str.11(%rip), %rax
	movq	%rax, -192(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -128(%rbp)
	leaq	L_.str.12(%rip), %rax
	movq	%rax, -184(%rbp)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -120(%rbp)
	movq	$0, -176(%rbp)
	movq	$0, -112(%rbp)
	testq	%rbx, %rbx
	jne	LBB0_16
LBB0_15:
	xorl	%r13d, %r13d
	jmp	LBB0_22
LBB0_16:
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	movl	$13, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdi
	movl	$11, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	%rbx, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
LBB0_20:
	leaq	-104(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PQconninfoParse
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:
	movq	-104(%rbp), %rsi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_error
	movl	$133, %edi
	callq	_exit
LBB0_22:
	xorl	%eax, %eax
	callq	_PQconndefaults
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_error
	movl	$133, %edi
	callq	_exit
LBB0_24:
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	jne	LBB0_29
## %bb.25:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_26:
	leaq	-224(%rbp), %rdi
	leaq	-160(%rbp), %rsi
	movl	$1, %edx
	callq	_PQpingParams
	movl	%eax, %ebx
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_52
## %bb.27:
	testq	%r12, %r12
	cmovneq	%r12, %r14
	leaq	L_.str.18(%rip), %rdi
	movq	%r14, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	movl	%ebx, %eax
	addl	$-130, %eax
	cmpl	$3, %eax
	ja	LBB0_50
## %bb.28:
	cltq
	leaq	l_reltable.main(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdi
	addq	%rcx, %rdi
	jmp	LBB0_51
LBB0_29:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	setne	-80(%rbp)                       ## 1-byte Folded Spill
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	setne	-88(%rbp)                       ## 1-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %r15
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_32
LBB0_30:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	(%rbx), %rax
	testq	%rax, %rax
	cmovneq	%rax, %r12
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_32 Depth=1
	leaq	16(%r13), %rax
	testq	%r13, %r13
	cmovneq	%rax, %r13
	movq	24(%rbx), %rdi
	addq	$16, %rbx
	testq	%rdi, %rdi
	je	LBB0_26
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	8(%rbx), %rdi
	leaq	L_.str.17(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_40
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	8(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_31
## %bb.35:                              ##   in Loop: Header=BB0_32 Depth=1
	testq	%r13, %r13
	je	LBB0_47
## %bb.36:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	(%r13), %rax
	testq	%rax, %rax
	setne	%cl
	cmoveq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	orb	-80(%rbp), %cl                  ## 1-byte Folded Reload
	je	LBB0_49
## %bb.37:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_32 Depth=1
	testq	%r13, %r13
	je	LBB0_43
## %bb.39:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	(%r13), %r14
	testq	%r14, %r14
	setne	%al
	cmoveq	-64(%rbp), %r14                 ## 8-byte Folded Reload
	orb	-88(%rbp), %al                  ## 1-byte Folded Reload
	jne	LBB0_31
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_32 Depth=1
	testq	%r13, %r13
	je	LBB0_30
## %bb.41:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_30
## %bb.42:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	%rax, %r12
	jmp	LBB0_31
LBB0_43:                                ##   in Loop: Header=BB0_32 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_45:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	(%rbx), %r14
	testq	%r14, %r14
	jne	LBB0_31
## %bb.46:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	_DEFAULT_PGSOCKET_DIR@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_31
LBB0_47:                                ##   in Loop: Header=BB0_32 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_31
LBB0_49:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	(%rbx), %rax
	testq	%rax, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmovneq	%rax, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_31
LBB0_50:
	leaq	L_.str.23(%rip), %rdi
LBB0_51:
	callq	__
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_52:
	movl	%ebx, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_6
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_DEFAULT_CONNECT_TIMEOUT,8,3    ## @DEFAULT_CONNECT_TIMEOUT
	.section	__DATA,__data
	.p2align	4                               ## @main.long_options
_main.long_options:
	.quad	L_.str
	.byte	128                             ## 0x80
	.space	7
	.quad	0
	.long	100                             ## 0x64
	.space	4
	.quad	L_.str.1
	.byte	128                             ## 0x80
	.space	7
	.quad	0
	.long	104                             ## 0x68
	.space	4
	.quad	L_.str.2
	.byte	128                             ## 0x80
	.space	7
	.quad	0
	.long	112                             ## 0x70
	.space	4
	.quad	L_.str.3
	.byte	129                             ## 0x81
	.space	7
	.quad	0
	.long	113                             ## 0x71
	.space	4
	.quad	L_.str.4
	.byte	128                             ## 0x80
	.space	7
	.quad	0
	.long	116                             ## 0x74
	.space	4
	.quad	L_.str.5
	.byte	128                             ## 0x80
	.space	7
	.quad	0
	.long	85                              ## 0x55
	.space	4
	.space	32

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dbname"

L_.str.1:                               ## @.str.1
	.asciz	"host"

L_.str.2:                               ## @.str.2
	.asciz	"port"

L_.str.3:                               ## @.str.3
	.asciz	"quiet"

L_.str.4:                               ## @.str.4
	.asciz	"timeout"

L_.str.5:                               ## @.str.5
	.asciz	"username"

L_.str.6:                               ## @.str.6
	.asciz	"pgscripts"

	.comm	_help,4,2                       ## @help
L_.str.7:                               ## @.str.7
	.asciz	"d:h:p:qt:U:"

	.comm	_optarg,4,2                     ## @optarg
	.comm	_stderr,4,2                     ## @stderr
L_.str.8:                               ## @.str.8
	.asciz	"Try \"%s --help\" for more information.\n"

	.comm	_optind,4,2                     ## @optind
L_.str.9:                               ## @.str.9
	.asciz	"too many command-line arguments (first is \"%s\")"

L_.str.10:                              ## @.str.10
	.asciz	"user"

L_.str.11:                              ## @.str.11
	.asciz	"connect_timeout"

L_.str.12:                              ## @.str.12
	.asciz	"fallback_application_name"

L_.str.13:                              ## @.str.13
	.asciz	"postgresql://"

L_.str.14:                              ## @.str.14
	.asciz	"postgres://"

L_.str.15:                              ## @.str.15
	.asciz	"%s"

L_.str.16:                              ## @.str.16
	.asciz	"could not fetch default options"

	.comm	_DEFAULT_PGSOCKET_DIR,8,3       ## @DEFAULT_PGSOCKET_DIR
L_.str.17:                              ## @.str.17
	.asciz	"hostaddr"

L_.str.18:                              ## @.str.18
	.asciz	"%s:%s - "

L_.str.19:                              ## @.str.19
	.asciz	"accepting connections\n"

L_.str.20:                              ## @.str.20
	.asciz	"rejecting connections\n"

L_.str.21:                              ## @.str.21
	.asciz	"no response\n"

L_.str.22:                              ## @.str.22
	.asciz	"no attempt\n"

L_.str.23:                              ## @.str.23
	.asciz	"unknown\n"

	.comm	_PARAMS_ARRAY_SIZE,4,2          ## @PARAMS_ARRAY_SIZE
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.main
l_reltable.main:
	.long	L_.str.20-l_reltable.main
	.long	L_.str.19-l_reltable.main
	.long	L_.str.21-l_reltable.main
	.long	L_.str.22-l_reltable.main

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _DEFAULT_CONNECT_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFAULT_CONNECT_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, xzr, [sp, #40]              ; 8-byte Folded Spill
	ldr	x0, [x1]
	bl	_pg_logging_init
	ldr	x0, [x23]
	bl	_get_progname
	mov	x20, x0
	ldr	x19, [x23]
Lloh3:
	adrp	x0, l_.str.6@PAGE
Lloh4:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_PG_TEXTDOMAIN
	mov	x1, x0
	mov	x0, x19
	bl	_set_pglocale_pgservice
Lloh5:
	adrp	x8, _help@GOTPAGE
Lloh6:
	ldr	x8, [x8, _help@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x1, x23
	str	x20, [sp, #24]                  ; 8-byte Folded Spill
	mov	x2, x20
	bl	_handle_help_version_opts
	mov	x22, #0
	mov	x26, #0
	mov	x24, #0
	str	wzr, [sp, #36]                  ; 4-byte Folded Spill
	mov	x20, #0
Lloh8:
	adrp	x27, l_.str.7@PAGE
Lloh9:
	add	x27, x27, l_.str.7@PAGEOFF
Lloh10:
	adrp	x28, _main.long_options@PAGE
Lloh11:
	add	x28, x28, _main.long_options@PAGEOFF
Lloh12:
	adrp	x21, _optarg@GOTPAGE
Lloh13:
	ldr	x21, [x21, _optarg@GOTPAGEOFF]
Lloh14:
	adrp	x19, lJTI0_0@PAGE
Lloh15:
	add	x19, x19, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
	bl	_pg_strdup
	mov	x20, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x23
	mov	x2, x27
	mov	x3, x28
	mov	x4, #0
	bl	_getopt_long
	cmp	w0, #104
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w0, #85
	cmp	w8, #31
	b.hi	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_5
	ldrb	w10, [x19, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
	bl	_pg_strdup
	mov	x26, x0
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
	bl	_pg_strdup
	mov	x24, x0
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
	bl	_pg_strdup
	mov	x22, x0
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
	bl	_pg_strdup
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_10:
	cmn	w0, #1
	b.ne	LBB0_13
; %bb.11:
Lloh16:
	adrp	x8, _optind@GOTPAGE
Lloh17:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh18:
	ldrsw	x8, [x8]
	cmp	w8, w25
	b.ge	LBB0_14
; %bb.12:
	ldr	x8, [x23, x8, lsl #3]
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.9@PAGE
Lloh20:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pg_log_error
LBB0_13:
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
Lloh24:
	adrp	x0, l_.str.8@PAGE
Lloh25:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	bl	_fprintf
	mov	w0, #133
	bl	_exit
LBB0_14:
	mov	x23, #0
Lloh26:
	adrp	x8, l_.str.1@PAGE
Lloh27:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh28:
	adrp	x9, l_.str.2@PAGE
Lloh29:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x8, x9, [sp, #112]
	stp	x20, x22, [sp, #56]
	mov	x19, x22
Lloh30:
	adrp	x8, l_.str.10@PAGE
Lloh31:
	add	x8, x8, l_.str.10@PAGEOFF
Lloh32:
	adrp	x9, l_.str@PAGE
Lloh33:
	add	x9, x9, l_.str@PAGEOFF
	stp	x8, x9, [sp, #128]
	stp	x26, x24, [sp, #72]
Lloh34:
	adrp	x8, l_.str.11@PAGE
Lloh35:
	add	x8, x8, l_.str.11@PAGEOFF
Lloh36:
	adrp	x9, l_.str.12@PAGE
Lloh37:
	add	x9, x9, l_.str.12@PAGEOFF
	stp	x8, x9, [sp, #144]
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x10, x8, [sp, #88]
	str	xzr, [sp, #160]
	str	xzr, [sp, #104]
	cbz	x24, LBB0_21
; %bb.15:
Lloh38:
	adrp	x1, l_.str.13@PAGE
Lloh39:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x24
	mov	w2, #13
	bl	_strncmp
	cbz	x0, LBB0_19
; %bb.16:
Lloh40:
	adrp	x1, l_.str.14@PAGE
Lloh41:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x24
	mov	w2, #11
	bl	_strncmp
	cbz	x0, LBB0_19
; %bb.17:
	mov	x0, x24
	mov	w1, #61
	bl	_strchr
	cbnz	x0, LBB0_19
; %bb.18:
	mov	x23, #0
	b	LBB0_21
LBB0_19:
	add	x1, sp, #48
	mov	x0, x24
	bl	_PQconninfoParse
	mov	x23, x0
	cbnz	x0, LBB0_21
; %bb.20:
	ldr	x8, [sp, #48]
	str	x8, [sp]
Lloh42:
	adrp	x0, l_.str.15@PAGE
Lloh43:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_23
LBB0_21:
	bl	_PQconndefaults
	cbnz	x0, LBB0_24
; %bb.22:
Lloh44:
	adrp	x0, l_.str.16@PAGE
Lloh45:
	add	x0, x0, l_.str.16@PAGEOFF
LBB0_23:
	bl	_pg_log_error
	mov	w0, #133
	bl	_exit
LBB0_24:
	mov	x21, x0
	ldr	x0, [x0, #8]
	cbnz	x0, LBB0_29
; %bb.25:
	mov	x28, #0
	mov	x26, #0
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
LBB0_26:
	add	x0, sp, #112
	add	x1, sp, #56
	mov	w2, #1
	bl	_PQpingParams
	mov	x19, x0
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_51
; %bb.27:
	cmp	x26, #0
	csel	x8, x28, x26, eq
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp]
Lloh46:
	adrp	x0, l_.str.18@PAGE
Lloh47:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_printf
	sub	w8, w19, #130
	cmp	w8, #3
	b.hi	LBB0_49
; %bb.28:
Lloh48:
	adrp	x9, l_switch.table.main@PAGE
Lloh49:
	add	x9, x9, l_switch.table.main@PAGEOFF
	ldr	x0, [x9, w8, sxtw #3]
	b	LBB0_50
LBB0_29:
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	mov	x26, #0
	mov	x28, #0
	cmp	x19, #0
	cset	w8, ne
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	cmp	x20, #0
	cset	w27, ne
Lloh50:
	adrp	x22, l_.str.1@PAGE
Lloh51:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh52:
	adrp	x24, l_.str.17@PAGE
Lloh53:
	add	x24, x24, l_.str.17@PAGEOFF
Lloh54:
	adrp	x25, l_.str.2@PAGE
Lloh55:
	add	x25, x25, l_.str.2@PAGEOFF
	b	LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x21]
	cmp	x8, #0
	csel	x26, x26, x8, eq
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	add	x8, x23, #16
	cmp	x23, #0
	csel	x23, xzr, x8, eq
	ldr	x0, [x21, #24]
	add	x21, x21, #16
	cbz	x0, LBB0_26
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_38
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x0, [x21, #8]
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_40
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x0, [x21, #8]
	mov	x1, x25
	bl	_strcmp
	cbnz	x0, LBB0_31
; %bb.35:                               ;   in Loop: Header=BB0_32 Depth=1
	cbz	x23, LBB0_46
; %bb.36:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x23]
	cmp	x8, #0
	csel	x8, x8, x19, ne
	cset	w9, ne
	ldr	w10, [sp, #24]                  ; 4-byte Folded Reload
	orr	w9, w9, w10
	tbz	w9, #0, LBB0_48
; %bb.37:                               ;   in Loop: Header=BB0_32 Depth=1
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_31
LBB0_38:                                ;   in Loop: Header=BB0_32 Depth=1
	cbz	x23, LBB0_43
; %bb.39:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x23]
	cmp	x8, #0
	csel	x28, x8, x20, ne
	cset	w8, ne
	orr	w8, w8, w27
	tbnz	w8, #0, LBB0_31
	b	LBB0_45
LBB0_40:                                ;   in Loop: Header=BB0_32 Depth=1
	cbz	x23, LBB0_30
; %bb.41:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_30
; %bb.42:                               ;   in Loop: Header=BB0_32 Depth=1
	mov	x26, x8
	b	LBB0_31
LBB0_43:                                ;   in Loop: Header=BB0_32 Depth=1
	cbz	x20, LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_32 Depth=1
	mov	x28, x20
	b	LBB0_31
LBB0_45:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x21]
Lloh56:
	adrp	x9, _DEFAULT_PGSOCKET_DIR@GOTPAGE
Lloh57:
	ldr	x9, [x9, _DEFAULT_PGSOCKET_DIR@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x28, x9, x8, eq
	b	LBB0_31
LBB0_46:                                ;   in Loop: Header=BB0_32 Depth=1
	cbz	x19, LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_32 Depth=1
	str	x19, [sp, #40]                  ; 8-byte Folded Spill
	b	LBB0_31
LBB0_48:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x21]
	cmp	x8, #0
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	csel	x9, x9, x8, eq
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_31
LBB0_49:
Lloh59:
	adrp	x0, l_.str.23@PAGE
Lloh60:
	add	x0, x0, l_.str.23@PAGEOFF
LBB0_50:
	bl	__
	bl	_printf
LBB0_51:
	mov	x0, x19
	bl	_exit
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
                                        ; -- End function
	.comm	_DEFAULT_CONNECT_TIMEOUT,8,3    ; @DEFAULT_CONNECT_TIMEOUT
	.section	__DATA,__data
	.p2align	3                               ; @main.long_options
_main.long_options:
	.quad	l_.str
	.byte	128                             ; 0x80
	.space	7
	.quad	0
	.long	100                             ; 0x64
	.space	4
	.quad	l_.str.1
	.byte	128                             ; 0x80
	.space	7
	.quad	0
	.long	104                             ; 0x68
	.space	4
	.quad	l_.str.2
	.byte	128                             ; 0x80
	.space	7
	.quad	0
	.long	112                             ; 0x70
	.space	4
	.quad	l_.str.3
	.byte	129                             ; 0x81
	.space	7
	.quad	0
	.long	113                             ; 0x71
	.space	4
	.quad	l_.str.4
	.byte	128                             ; 0x80
	.space	7
	.quad	0
	.long	116                             ; 0x74
	.space	4
	.quad	l_.str.5
	.byte	128                             ; 0x80
	.space	7
	.quad	0
	.long	85                              ; 0x55
	.space	4
	.space	32

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dbname"

l_.str.1:                               ; @.str.1
	.asciz	"host"

l_.str.2:                               ; @.str.2
	.asciz	"port"

l_.str.3:                               ; @.str.3
	.asciz	"quiet"

l_.str.4:                               ; @.str.4
	.asciz	"timeout"

l_.str.5:                               ; @.str.5
	.asciz	"username"

l_.str.6:                               ; @.str.6
	.asciz	"pgscripts"

	.comm	_help,4,2                       ; @help
l_.str.7:                               ; @.str.7
	.asciz	"d:h:p:qt:U:"

	.comm	_optarg,4,2                     ; @optarg
	.comm	_stderr,4,2                     ; @stderr
l_.str.8:                               ; @.str.8
	.asciz	"Try \"%s --help\" for more information.\n"

	.comm	_optind,4,2                     ; @optind
l_.str.9:                               ; @.str.9
	.asciz	"too many command-line arguments (first is \"%s\")"

l_.str.10:                              ; @.str.10
	.asciz	"user"

l_.str.11:                              ; @.str.11
	.asciz	"connect_timeout"

l_.str.12:                              ; @.str.12
	.asciz	"fallback_application_name"

l_.str.13:                              ; @.str.13
	.asciz	"postgresql://"

l_.str.14:                              ; @.str.14
	.asciz	"postgres://"

l_.str.15:                              ; @.str.15
	.asciz	"%s"

l_.str.16:                              ; @.str.16
	.asciz	"could not fetch default options"

	.comm	_DEFAULT_PGSOCKET_DIR,8,3       ; @DEFAULT_PGSOCKET_DIR
l_.str.17:                              ; @.str.17
	.asciz	"hostaddr"

l_.str.18:                              ; @.str.18
	.asciz	"%s:%s - "

l_.str.19:                              ; @.str.19
	.asciz	"accepting connections\n"

l_.str.20:                              ; @.str.20
	.asciz	"rejecting connections\n"

l_.str.21:                              ; @.str.21
	.asciz	"no response\n"

l_.str.22:                              ; @.str.22
	.asciz	"no attempt\n"

l_.str.23:                              ; @.str.23
	.asciz	"unknown\n"

	.comm	_PARAMS_ARRAY_SIZE,4,2          ; @PARAMS_ARRAY_SIZE
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.main
l_switch.table.main:
	.quad	l_.str.20
	.quad	l_.str.19
	.quad	l_.str.21
	.quad	l_.str.22

.subsections_via_symbols
