	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function conninfo_add_defaults
_conninfo_add_defaults:                 ## @conninfo_add_defaults
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_parseServiceInfo
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_21
LBB0_2:
	movq	24(%rbx), %r13
	movl	$1, %r14d
	testq	%r13, %r13
	je	LBB0_21
## %bb.3:
	testq	%r15, %r15
	sete	%r12b
	xorb	$1, %r12b
	jmp	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	callq	_strdup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_9
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	56(%rbx), %r13
	addq	$32, %rbx
	testq	%r13, %r13
	je	LBB0_21
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rbx)
	jne	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_7
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_13
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_8
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	callq	_pg_fe_getauthname
	movq	%rax, 16(%rbx)
	jmp	LBB0_20
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$49, (%rax)
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	_strdup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	sete	%cl
	testb	%r12b, %cl
	jne	LBB0_10
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	jne	LBB0_20
	jmp	LBB0_11
LBB0_9:
	testq	%r15, %r15
	je	LBB0_11
LBB0_10:
	leaq	L_.str(%rip), %rdi
	callq	_libpq_gettext
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_printfPQExpBuffer
LBB0_11:
	xorl	%r14d, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory\n"

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

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

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

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

	.no_dead_strip	_conninfo_add_defaults
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function conninfo_add_defaults
_conninfo_add_defaults:                 ; @conninfo_add_defaults
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_parseServiceInfo
	cbz	x19, LBB0_3
; %bb.1:
	cbz	x0, LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_19
LBB0_3:
	ldr	x25, [x20, #24]
	cbz	x25, LBB0_18
; %bb.4:
	cmp	x19, #0
Lloh0:
	adrp	x21, l_.str.1@PAGE
Lloh1:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh2:
	adrp	x22, l_.str.2@PAGE
Lloh3:
	add	x22, x22, l_.str.2@PAGEOFF
	cset	w8, eq
Lloh4:
	adrp	x23, l_.str.3@PAGE
Lloh5:
	add	x23, x23, l_.str.3@PAGEOFF
	eor	w26, w8, #0x1
Lloh6:
	adrp	x24, l_.str.4@PAGE
Lloh7:
	add	x24, x24, l_.str.4@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_strdup
	str	x0, [x20, #16]
	cbz	x0, LBB0_20
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x25, [x20, #56]
	add	x20, x20, #32
	cbz	x25, LBB0_18
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20]
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_getenv
	cbnz	x0, LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20, #8]
	cbnz	x0, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20, #24]
	mov	x1, x24
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_pg_fe_getauthname
	str	x0, [x20, #16]
	b	LBB0_6
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_getenv
	cbz	x0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x0]
	cmp	w8, #49
	b.ne	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	bl	_strdup
	str	x0, [x20, #16]
	cmp	x0, #0
	cset	w8, eq
	and	w8, w8, w26
	tbnz	w8, #0, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	cbnz	x0, LBB0_6
	b	LBB0_19
LBB0_18:
	mov	w0, #1
LBB0_19:
	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_20:
	cbz	x19, LBB0_2
LBB0_21:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_printfPQExpBuffer
	b	LBB0_2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory\n"

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

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

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

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

	.no_dead_strip	_conninfo_add_defaults
.subsections_via_symbols
