	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psql_get_variable              ## -- Begin function psql_get_variable
	.p2align	4, 0x90
_psql_get_variable:                     ## @psql_get_variable
	.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	%esi, %r12d
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	%edx, %edi
	callq	_conditional_active
	testl	%eax, %eax
	je	LBB0_8
LBB0_2:
	movq	_pset@GOTPCREL(%rip), %r13
	movl	4(%r13), %edi
	movq	%rbx, %rsi
	callq	_GetVariable
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r14
	leal	-128(%r12), %eax
	cmpl	$2, %eax
	jb	LBB0_9
## %bb.4:
	cmpl	$130, %r12d
	je	LBB0_12
## %bb.5:
	cmpl	$131, %r12d
	jne	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pg_strdup                      ## TAILCALL
LBB0_8:
	xorl	%ebx, %ebx
LBB0_21:
	movq	%rbx, %rax
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	(%r13), %r15d
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.10:
	movq	%r14, %rdi
	callq	_strlen
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	cmpl	$128, %r12d
	jne	LBB0_16
## %bb.11:
	callq	_PQescapeLiteral
	jmp	LBB0_17
LBB0_12:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_initPQExpBuffer
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_appendShellStringNoError
	testl	%eax, %eax
	je	LBB0_20
## %bb.13:
	movq	-48(%rbp), %rbx
	jmp	LBB0_21
LBB0_15:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pg_log_error
	jmp	LBB0_21
LBB0_16:
	callq	_PQescapeIdentifier
LBB0_17:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_pg_strdup
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_PQfreemem
	movq	%r14, %rax
	jmp	LBB0_22
LBB0_19:
	movl	(%r13), %edi
	callq	_PQerrorMessage
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_pg_log_info
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_20:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_pg_log_error
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_pset,8,2                       ## @pset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot escape without active connection"

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

L_.str.2:                               ## @.str.2
	.asciz	"shell command argument contains a newline or carriage return: \"%s\""

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psql_get_variable              ; -- Begin function psql_get_variable
	.p2align	2
_psql_get_variable:                     ; @psql_get_variable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x2
	bl	_conditional_active
	cbz	w0, LBB0_17
LBB0_2:
Lloh0:
	adrp	x22, _pset@GOTPAGE
Lloh1:
	ldr	x22, [x22, _pset@GOTPAGEOFF]
	ldr	w0, [x22, #4]
	mov	x1, x19
	bl	_GetVariable
	cbz	x0, LBB0_18
; %bb.3:
	mov	x19, x0
	sub	w8, w20, #128
	cmp	w8, #2
	b.lo	LBB0_7
; %bb.4:
	cmp	w20, #130
	b.eq	LBB0_11
; %bb.5:
	cmp	w20, #131
	b.ne	LBB0_17
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_pg_strdup
LBB0_7:
	ldr	w21, [x22]
	cbz	w21, LBB0_13
; %bb.8:
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	cmp	w20, #128
	b.ne	LBB0_14
; %bb.9:
	bl	_PQescapeLiteral
	mov	x19, x0
	cbz	x0, LBB0_15
LBB0_10:
	mov	x0, x19
	bl	_pg_strdup
	mov	x20, x0
	mov	x0, x19
	bl	_PQfreemem
	mov	x0, x20
	b	LBB0_18
LBB0_11:
	add	x0, sp, #8
	bl	_initPQExpBuffer
	add	x0, sp, #8
	mov	x1, x19
	bl	_appendShellStringNoError
	cbz	w0, LBB0_16
; %bb.12:
	ldr	x0, [sp, #8]
	b	LBB0_18
LBB0_13:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_log_error
	b	LBB0_17
LBB0_14:
	bl	_PQescapeIdentifier
	mov	x19, x0
	cbnz	x0, LBB0_10
LBB0_15:
	ldr	w0, [x22]
	bl	_PQerrorMessage
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pg_log_info
	b	LBB0_17
LBB0_16:
	str	x19, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pg_log_error
	ldr	x0, [sp, #8]
	bl	_free
LBB0_17:
	mov	x0, #0
LBB0_18:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_pset,8,2                       ; @pset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot escape without active connection"

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

l_.str.2:                               ; @.str.2
	.asciz	"shell command argument contains a newline or carriage return: \"%s\""

.subsections_via_symbols
