	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_pghost_envvar            ## -- Begin function check_pghost_envvar
	.p2align	4, 0x90
_check_pghost_envvar:                   ## @check_pghost_envvar
	.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
	xorl	%eax, %eax
	callq	_PQconndefaults
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_fatal
LBB0_2:
	cmpq	$0, 8(%r15)
	je	LBB0_15
## %bb.3:
	leaq	L_.str.1(%rip), %rbx
	leaq	L_.str.2(%rip), %r13
	movq	%r15, %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 24(%r14)
	leaq	16(%r14), %r14
	je	LBB0_15
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$47, (%r12)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rsi
	leaq	L_.str.6(%rip), %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_pg_fatal
	jmp	LBB0_14
LBB0_15:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PQconninfoFree                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory\n"

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

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"libpq environment variable %s has a non-local server value: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_pghost_envvar            ; -- Begin function check_pghost_envvar
	.p2align	2
_check_pghost_envvar:                   ; @check_pghost_envvar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	bl	_PQconndefaults
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_fatal
LBB0_2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_15
; %bb.3:
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh4:
	adrp	x21, l_.str.3@PAGE
Lloh5:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh6:
	adrp	x22, l_.str.4@PAGE
Lloh7:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh8:
	adrp	x23, l_.str.5@PAGE
Lloh9:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh10:
	adrp	x24, l_.str.6@PAGE
Lloh11:
	add	x24, x24, l_.str.6@PAGEOFF
	mov	x27, x19
Lloh12:
	adrp	x25, l_.str.2@PAGE
Lloh13:
	add	x25, x25, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27, #24]
	add	x27, x27, #16
	cbz	x8, LBB0_15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x27]
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x27]
	mov	x1, x25
	bl	_strcmp
	cbnz	x0, LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x27]
	bl	_getenv
	cbz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x0
	bl	_strlen
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x26]
	cmp	w8, #47
	b.eq	LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27]
	stp	x8, x26, [sp]
	mov	x0, x24
	bl	_pg_fatal
	b	LBB0_4
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_PQconninfoFree
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory\n"

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

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"libpq environment variable %s has a non-local server value: %s\n"

.subsections_via_symbols
