	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_command_g
_exec_command_g:                        ## @exec_command_g
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	je	LBB0_7
## %bb.1:
	movq	%rdx, %r14
	movq	_OT_FILEPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_psql_scan_slash_option
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	-32(%rbp), %rdi
	callq	_expand_tilde
	movq	-32(%rbp), %rdi
	callq	_pg_strdup
	movq	%rax, %rbx
	movq	-32(%rbp), %rdi
	jmp	LBB0_4
LBB0_7:
	movq	_PSQL_CMD_SKIP_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_ignore_slash_filepipe
	jmp	LBB0_8
LBB0_2:
	xorl	%edi, %edi
LBB0_4:
	movq	_pset@GOTPCREL(%rip), %r15
	movq	%rbx, 8(%r15)
	callq	_free
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	$1, (%r15)
LBB0_6:
	movq	_PSQL_CMD_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSQL_CMD_SKIP_LINE,4,2         ## @PSQL_CMD_SKIP_LINE
	.comm	_OT_FILEPIPE,4,2                ## @OT_FILEPIPE
	.comm	_pset,16,3                      ## @pset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gx"

	.comm	_PSQL_CMD_SEND,4,2              ## @PSQL_CMD_SEND
	.no_dead_strip	_exec_command_g
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_command_g
_exec_command_g:                        ; @exec_command_g
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	w1, LBB0_3
; %bb.1:
	mov	x19, x2
Lloh0:
	adrp	x8, _OT_FILEPIPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OT_FILEPIPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, #0
	mov	w3, #0
	bl	_psql_scan_slash_option
	str	x0, [sp, #8]
	cbz	x0, LBB0_4
; %bb.2:
	add	x0, sp, #8
	bl	_expand_tilde
	ldr	x0, [sp, #8]
	bl	_pg_strdup
	mov	x8, x0
	ldr	x0, [sp, #8]
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _PSQL_CMD_SKIP_LINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PSQL_CMD_SKIP_LINE@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	bl	_ignore_slash_filepipe
	b	LBB0_8
LBB0_4:
	mov	x8, #0
LBB0_5:
Lloh6:
	adrp	x20, _pset@GOTPAGE
Lloh7:
	ldr	x20, [x20, _pset@GOTPAGEOFF]
	str	x8, [x20, #8]
	bl	_free
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x20]
LBB0_7:
Lloh10:
	adrp	x8, _PSQL_CMD_SEND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PSQL_CMD_SEND@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PSQL_CMD_SKIP_LINE,4,2         ; @PSQL_CMD_SKIP_LINE
	.comm	_OT_FILEPIPE,4,2                ; @OT_FILEPIPE
	.comm	_pset,16,3                      ; @pset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gx"

	.comm	_PSQL_CMD_SEND,4,2              ; @PSQL_CMD_SEND
	.no_dead_strip	_exec_command_g
.subsections_via_symbols
