	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_command_connect
_exec_command_connect:                  ## @exec_command_connect
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	testl	%esi, %esi
	je	LBB0_15
## %bb.1:
	movq	_TRI_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_read_connect_arg
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	leaq	_exec_command_connect.prefix(%rip), %rsi
	movq	%rax, %rdi
	movl	$16, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_12
LBB0_15:
	movl	%r12d, %edi
	callq	_ignore_slash_options
	jmp	LBB0_13
LBB0_2:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_5:
	movq	%r14, %rdi
	addq	$16, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_ParseVariableBool
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	cmpl	$0, -48(%rbp)
	jne	LBB0_9
## %bb.10:
	movq	_TRI_NO@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_7
LBB0_9:
	movq	_TRI_YES@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_free
	movl	%r12d, %edi
	callq	_read_connect_arg
	movq	%rax, %r14
LBB0_12:
	movl	%r12d, %edi
	callq	_read_connect_arg
	movq	%rax, %r13
	movl	%r12d, %edi
	callq	_read_connect_arg
	movq	%rax, %r15
	movl	%r12d, %edi
	callq	_read_connect_arg
	movq	%rax, %rbx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movq	%rax, %r8
	callq	_do_connect
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	testl	%r12d, %r12d
	je	LBB0_7
LBB0_13:
	movq	_PSQL_CMD_SKIP_LINE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_7:
	movq	_PSQL_CMD_ERROR@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @exec_command_connect.prefix
_exec_command_connect.prefix:
	.asciz	"-reuse-previous="

	.comm	_TRI_DEFAULT,4,2                ## @TRI_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-reuse-previous"

	.comm	_TRI_YES,4,2                    ## @TRI_YES
	.comm	_TRI_NO,4,2                     ## @TRI_NO
	.comm	_PSQL_CMD_SKIP_LINE,4,2         ## @PSQL_CMD_SKIP_LINE
	.comm	_PSQL_CMD_ERROR,4,2             ## @PSQL_CMD_ERROR
	.no_dead_strip	_exec_command_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_command_connect
_exec_command_connect:                  ; @exec_command_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	cbz	w1, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _TRI_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRI_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_read_connect_arg
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x1, _exec_command_connect.prefix@PAGE
Lloh4:
	add	x1, x1, _exec_command_connect.prefix@PAGEOFF
	mov	x0, x19
	mov	w2, #16
	bl	_strncmp
	cbnz	x0, LBB0_5
; %bb.3:
	add	x0, x19, #16
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_ParseVariableBool
	cbz	w0, LBB0_8
; %bb.4:
Lloh7:
	adrp	x8, _TRI_YES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRI_YES@GOTPAGEOFF]
	ldr	w9, [sp, #12]
Lloh9:
	adrp	x10, _TRI_NO@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TRI_NO@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	ldr	w21, [x8]
	mov	x0, x19
	bl	_free
	mov	x0, x20
	bl	_read_connect_arg
	mov	x19, x0
LBB0_5:
	mov	x0, x20
	bl	_read_connect_arg
	mov	x22, x0
	mov	x0, x20
	bl	_read_connect_arg
	mov	x23, x0
	mov	x0, x20
	bl	_read_connect_arg
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x23
	mov	x4, x20
	bl	_do_connect
	mov	x21, x0
	mov	x0, x22
	bl	_free
	mov	x0, x23
	bl	_free
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_free
	cbnz	w21, LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x0, x20
	bl	_ignore_slash_options
LBB0_7:
Lloh11:
	adrp	x8, _PSQL_CMD_SKIP_LINE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PSQL_CMD_SKIP_LINE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_free
LBB0_9:
Lloh13:
	adrp	x8, _PSQL_CMD_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PSQL_CMD_ERROR@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_exec_command_connect.prefix:           ; @exec_command_connect.prefix
	.asciz	"-reuse-previous="

	.comm	_TRI_DEFAULT,4,2                ; @TRI_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-reuse-previous"

	.comm	_TRI_YES,4,2                    ; @TRI_YES
	.comm	_TRI_NO,4,2                     ; @TRI_NO
	.comm	_PSQL_CMD_SKIP_LINE,4,2         ; @PSQL_CMD_SKIP_LINE
	.comm	_PSQL_CMD_ERROR,4,2             ; @PSQL_CMD_ERROR
	.no_dead_strip	_exec_command_connect
.subsections_via_symbols
