	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQsetdbLogin                   ## -- Begin function PQsetdbLogin
	.p2align	4, 0x90
_PQsetdbLogin:                          ## @PQsetdbLogin
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_makeEmptyPGconn
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_45
## %bb.1:
	testq	%r15, %r15
	je	LBB0_5
## %bb.2:
	movq	%r15, %rdi
	callq	_recognized_connection_string
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
LBB0_4:
	callq	_connectOptions1
	testl	%eax, %eax
	je	LBB0_45
LBB0_11:
	testq	%r14, %r14
	je	LBB0_16
## %bb.12:
	cmpb	$0, (%r14)
	je	LBB0_16
## %bb.13:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_free
LBB0_15:
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_44
LBB0_16:
	testq	%r13, %r13
	je	LBB0_21
## %bb.17:
	cmpb	$0, (%r13)
	je	LBB0_21
## %bb.18:
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_free
LBB0_20:
	movq	%r13, %rdi
	callq	_strdup
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_44
LBB0_21:
	testq	%r12, %r12
	je	LBB0_26
## %bb.22:
	cmpb	$0, (%r12)
	je	LBB0_26
## %bb.23:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.24:
	callq	_free
LBB0_25:
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_44
LBB0_26:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_31
## %bb.27:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	je	LBB0_31
## %bb.28:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.29:
	callq	_free
LBB0_30:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_strdup
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_44
LBB0_31:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_36
## %bb.32:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	je	LBB0_36
## %bb.33:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_35
## %bb.34:
	callq	_free
LBB0_35:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_strdup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_44
LBB0_36:
	movq	16(%rbp), %r14
	testq	%r14, %r14
	je	LBB0_41
## %bb.37:
	cmpb	$0, (%r14)
	je	LBB0_41
## %bb.38:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_40
## %bb.39:
	callq	_free
LBB0_40:
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_44
LBB0_41:
	movq	%rbx, %rdi
	callq	_connectOptions2
	testl	%eax, %eax
	je	LBB0_45
## %bb.42:
	movq	%rbx, %rdi
	callq	_connectDBStart
	testq	%rax, %rax
	je	LBB0_45
## %bb.43:
	movq	%rbx, %rdi
	callq	_connectDBComplete
	jmp	LBB0_45
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_connectOptions1
	testl	%eax, %eax
	je	LBB0_45
## %bb.7:
	cmpb	$0, (%r15)
	je	LBB0_11
## %bb.8:
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_free
LBB0_10:
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	jne	LBB0_11
LBB0_44:
	movq	_CONNECTION_BAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	leaq	L_.str.1(%rip), %rdi
	callq	_libpq_gettext
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_printfPQExpBuffer
LBB0_45:
	movq	%rbx, %rax
	addq	$24, %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
	.space	1

	.comm	_CONNECTION_BAD,4,2             ## @CONNECTION_BAD
L_.str.1:                               ## @.str.1
	.asciz	"out of memory\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQsetdbLogin                   ; -- Begin function PQsetdbLogin
	.p2align	2
_PQsetdbLogin:                          ; @PQsetdbLogin
	.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	x20, x6
	mov	x21, x5
	mov	x26, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	bl	_makeEmptyPGconn
	mov	x19, x0
	cbz	x0, LBB0_45
; %bb.1:
	cbz	x26, LBB0_4
; %bb.2:
	mov	x0, x26
	bl	_recognized_connection_string
	cbz	x0, LBB0_39
; %bb.3:
	mov	x0, x19
	mov	x1, x26
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
LBB0_5:
	bl	_connectOptions1
	cbz	w0, LBB0_45
LBB0_6:
	cbz	x25, LBB0_11
; %bb.7:
	ldrb	w8, [x25]
	cbz	w8, LBB0_11
; %bb.8:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_free
LBB0_10:
	mov	x0, x25
	bl	_strdup
	str	x0, [x19, #48]
	cbz	x0, LBB0_44
LBB0_11:
	cbz	x24, LBB0_16
; %bb.12:
	ldrb	w8, [x24]
	cbz	w8, LBB0_16
; %bb.13:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_free
LBB0_15:
	mov	x0, x24
	bl	_strdup
	str	x0, [x19, #40]
	cbz	x0, LBB0_44
LBB0_16:
	cbz	x23, LBB0_21
; %bb.17:
	ldrb	w8, [x23]
	cbz	w8, LBB0_21
; %bb.18:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_20
; %bb.19:
	bl	_free
LBB0_20:
	mov	x0, x23
	bl	_strdup
	str	x0, [x19, #32]
	cbz	x0, LBB0_44
LBB0_21:
	cbz	x22, LBB0_26
; %bb.22:
	ldrb	w8, [x22]
	cbz	w8, LBB0_26
; %bb.23:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_25
; %bb.24:
	bl	_free
LBB0_25:
	mov	x0, x22
	bl	_strdup
	str	x0, [x19, #24]
	cbz	x0, LBB0_44
LBB0_26:
	cbz	x21, LBB0_31
; %bb.27:
	ldrb	w8, [x21]
	cbz	w8, LBB0_31
; %bb.28:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_30
; %bb.29:
	bl	_free
LBB0_30:
	mov	x0, x21
	bl	_strdup
	str	x0, [x19, #16]
	cbz	x0, LBB0_44
LBB0_31:
	cbz	x20, LBB0_36
; %bb.32:
	ldrb	w8, [x20]
	cbz	w8, LBB0_36
; %bb.33:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_35
; %bb.34:
	bl	_free
LBB0_35:
	mov	x0, x20
	bl	_strdup
	str	x0, [x19, #8]
	cbz	x0, LBB0_44
LBB0_36:
	mov	x0, x19
	bl	_connectOptions2
	cbz	w0, LBB0_45
; %bb.37:
	mov	x0, x19
	bl	_connectDBStart
	cbz	x0, LBB0_45
; %bb.38:
	mov	x0, x19
	bl	_connectDBComplete
	b	LBB0_45
LBB0_39:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_connectOptions1
	cbz	w0, LBB0_45
; %bb.40:
	ldrb	w8, [x26]
	cbz	w8, LBB0_6
; %bb.41:
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_43
; %bb.42:
	bl	_free
LBB0_43:
	mov	x0, x26
	bl	_strdup
	str	x0, [x19, #56]
	cbnz	x0, LBB0_6
LBB0_44:
Lloh4:
	adrp	x8, _CONNECTION_BAD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CONNECTION_BAD@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #4]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_printfPQExpBuffer
LBB0_45:
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_CONNECTION_BAD,4,2             ; @CONNECTION_BAD
l_.str.1:                               ; @.str.1
	.asciz	"out of memory\n"

.subsections_via_symbols
