	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function connectFailureMessage
_connectFailureMessage:                 ## @connectFailureMessage
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PG_STRERROR_R_BUFLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_NI_MAXHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_getHostaddr
	movq	(%r15), %rdx
	movq	16(%r15), %rsi
	shlq	$5, %rdx
	leaq	(%rsi,%rdx), %rcx
	movq	(%rsi,%rdx), %rax
	movq	24(%rsi,%rdx), %r13
	movq	_CHT_HOST_ADDRESS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	cmpq	%rdx, %rax
	setne	%sil
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	cmpb	$0, (%r13)
	jne	LBB0_3
LBB0_2:
	movq	_DEF_PGPORT_STR@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r13
LBB0_3:
	movq	8(%rcx,%rsi,8), %r12
	cmpq	%rdx, %rax
	je	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_7
## %bb.5:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	addq	$8, %r15
	leaq	L_.str(%rip), %rdi
	callq	_libpq_gettext
	movl	%eax, %ebx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_SOCK_STRERROR
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	movq	%r14, %r8
	movq	%r13, %r9
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
	jmp	LBB0_8
LBB0_7:
	addq	$8, %r15
	leaq	L_.str.1(%rip), %rdi
	callq	_libpq_gettext
	movl	%eax, %ebx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_SOCK_STRERROR
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_STRERROR_R_BUFLEN,4,2       ## @PG_STRERROR_R_BUFLEN
	.comm	_NI_MAXHOST,4,2                 ## @NI_MAXHOST
	.comm	_CHT_HOST_ADDRESS,8,3           ## @CHT_HOST_ADDRESS
	.comm	_DEF_PGPORT_STR,8,3             ## @DEF_PGPORT_STR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not connect to server: %s\n\tIs the server running on host \"%s\" (%s) and accepting\n\tTCP/IP connections on port %s?\n"

L_.str.1:                               ## @.str.1
	.asciz	"could not connect to server: %s\n\tIs the server running on host \"%s\" and accepting\n\tTCP/IP connections on port %s?\n"

	.comm	_NI_NUMERICSERV,4,2             ## @NI_NUMERICSERV
	.no_dead_strip	_connectFailureMessage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function connectFailureMessage
_connectFailureMessage:                 ; @connectFailureMessage
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _PG_STRERROR_R_BUFLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PG_STRERROR_R_BUFLEN@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x8, _NI_MAXHOST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NI_MAXHOST@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x9, x2
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
	mov	x1, x24
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_getHostaddr
	ldr	x8, [x22, #16]
	ldr	x9, [x22]
	add	x10, x8, x9, lsl #5
	ldr	x8, [x10]
Lloh13:
	adrp	x9, _CHT_HOST_ADDRESS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CHT_HOST_ADDRESS@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x11, x10, #8
	add	x12, x10, #16
	cmp	x8, x9
	csel	x11, x11, x12, eq
	ldr	x23, [x11]
	ldr	x26, [x10, #24]
	cbz	x26, LBB0_3
; %bb.1:
	ldrb	w10, [x26]
	cbz	w10, LBB0_3
; %bb.2:
	cmp	x8, x9
	b.ne	LBB0_4
	b	LBB0_7
LBB0_3:
Lloh16:
	adrp	x10, _DEF_PGPORT_STR@GOTPAGE
Lloh17:
	ldr	x10, [x10, _DEF_PGPORT_STR@GOTPAGEOFF]
Lloh18:
	ldr	x26, [x10]
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_4:
	mov	x0, x24
	bl	_strlen
	cmp	x0, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x0, x23
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.6:
	add	x22, x22, #8
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_libpq_gettext
	mov	x25, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_SOCK_STRERROR
	mov	x2, x0
	stp	x24, x26, [sp, #-16]!
	mov	x0, x22
	mov	x1, x25
	b	LBB0_8
LBB0_7:
	add	x22, x22, #8
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_libpq_gettext
	mov	x24, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_SOCK_STRERROR
	mov	x2, x0
	str	x26, [sp, #-16]!
	mov	x0, x22
	mov	x1, x24
LBB0_8:
	mov	x3, x23
	bl	_appendPQExpBuffer
	add	sp, sp, #16
	ldur	x8, [x29, #-72]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_STRERROR_R_BUFLEN,4,2       ; @PG_STRERROR_R_BUFLEN
	.comm	_NI_MAXHOST,4,2                 ; @NI_MAXHOST
	.comm	_CHT_HOST_ADDRESS,8,3           ; @CHT_HOST_ADDRESS
	.comm	_DEF_PGPORT_STR,8,3             ; @DEF_PGPORT_STR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not connect to server: %s\n\tIs the server running on host \"%s\" (%s) and accepting\n\tTCP/IP connections on port %s?\n"

l_.str.1:                               ; @.str.1
	.asciz	"could not connect to server: %s\n\tIs the server running on host \"%s\" and accepting\n\tTCP/IP connections on port %s?\n"

	.comm	_NI_NUMERICSERV,4,2             ; @NI_NUMERICSERV
	.no_dead_strip	_connectFailureMessage
.subsections_via_symbols
