	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqSaveParameterStatus          ## -- Begin function pqSaveParameterStatus
	.p2align	4, 0x90
_pqSaveParameterStatus:                 ## @pqSaveParameterStatus
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	24(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_fprintf
LBB0_2:
	leaq	16(%rbx), %r13
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.3:
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	movq	%rbx, %rcx
	movq	%r14, %rbx
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_6
LBB0_4:
	xorl	%ecx, %ecx
LBB0_6:
	leaq	16(%rcx), %rax
	testq	%rcx, %rcx
	movq	16(%r14), %rcx
	cmoveq	%r13, %rax
	movq	%rcx, (%rax)
	movq	%r14, %rdi
	callq	_free
LBB0_9:
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_strlen
	leaq	(%rbx,%rax), %rdi
	addq	$26, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %rbx
	leaq	24(%rax), %rdi
	movq	%rdi, (%rax)
	movq	%r12, %rsi
	callq	_strcpy
	movq	%r12, %rdi
	callq	_strlen
	leaq	(%rax,%rbx), %rdi
	addq	$25, %rdi
	movq	%rdi, 8(%rbx)
	movq	%r15, %rsi
	callq	_strcpy
	movq	(%r13), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, (%r13)
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.15:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_16
## %bb.17:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_27
## %bb.18:
	leaq	L_.str.5(%rip), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-52(%rbp), %r8
	movq	%r15, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_25
## %bb.19:
	cmpl	$2, %eax
	je	LBB0_22
## %bb.20:
	xorl	%ecx, %ecx
	cmpl	$3, %eax
	jne	LBB0_26
## %bb.21:
	imull	$100, -48(%rbp), %eax
	addl	-44(%rbp), %eax
	imull	$100, %eax, %ecx
	addl	-52(%rbp), %ecx
	jmp	LBB0_26
LBB0_12:
	movq	%r15, %rdi
	callq	_pg_char_to_encoding
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jns	LBB0_14
## %bb.13:
	movq	_PG_SQL_ASCII@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
LBB0_14:
	movq	_static_client_encoding@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_27
LBB0_16:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movl	%ecx, 8(%rbx)
	movq	_static_std_strings@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	jmp	LBB0_27
LBB0_25:
	imull	$10000, -48(%rbp), %ecx         ## imm = 0x2710
	jmp	LBB0_26
LBB0_22:
	movl	-48(%rbp), %eax
	cmpl	$10, %eax
	jl	LBB0_24
## %bb.23:
	imull	$10000, %eax, %ecx              ## imm = 0x2710
	addl	-44(%rbp), %ecx
	jmp	LBB0_26
LBB0_24:
	imull	$100, %eax, %eax
	addl	-44(%rbp), %eax
	imull	$100, %eax, %ecx
LBB0_26:
	movl	%ecx, 12(%rbx)
LBB0_27:
	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
	.asciz	"pqSaveParameterStatus: '%s' = '%s'\n"

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

	.comm	_PG_SQL_ASCII,8,3               ## @PG_SQL_ASCII
	.comm	_static_client_encoding,8,3     ## @static_client_encoding
L_.str.2:                               ## @.str.2
	.asciz	"standard_conforming_strings"

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

	.comm	_static_std_strings,4,2         ## @static_std_strings
L_.str.4:                               ## @.str.4
	.asciz	"server_version"

L_.str.5:                               ## @.str.5
	.asciz	"%d.%d.%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqSaveParameterStatus          ; -- Begin function pqSaveParameterStatus
	.p2align	2
_pqSaveParameterStatus:                 ; @pqSaveParameterStatus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_fprintf
LBB0_2:
	mov	x24, x19
	ldr	x22, [x24, #16]!
	cbz	x22, LBB0_9
; %bb.3:
	ldr	x0, [x22]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.4:
	mov	x23, x22
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x23, #16]
	cbz	x22, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x22]
	mov	x1, x21
	bl	_strcmp
	mov	x8, x23
	mov	x23, x22
	cbnz	x0, LBB0_5
	b	LBB0_8
LBB0_7:
	mov	x8, #0
LBB0_8:
	ldr	x9, [x22, #16]
	add	x10, x8, #16
	cmp	x8, #0
	csel	x8, x24, x10, eq
	str	x9, [x8]
	mov	x0, x22
	bl	_free
LBB0_9:
	mov	x0, x21
	bl	_strlen
	mov	x22, x0
	mov	x0, x20
	bl	_strlen
	add	x8, x22, x0
	add	x0, x8, #26
	bl	_malloc
	cbz	x0, LBB0_11
; %bb.10:
	mov	x22, x0
	add	x23, x0, #24
	str	x23, [x0]
	mov	x0, x23
	mov	x1, x21
	bl	_strcpy
	mov	x0, x21
	bl	_strlen
	add	x8, x0, x23
	add	x0, x8, #1
	str	x0, [x22, #8]
	mov	x1, x20
	bl	_strcpy
	ldr	x8, [x24]
	str	x8, [x22, #16]
	str	x22, [x24]
LBB0_11:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.12:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_21
; %bb.13:
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_29
; %bb.14:
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x20
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_22
; %bb.15:
	cmp	w0, #2
	b.eq	LBB0_23
; %bb.16:
	cmp	w0, #3
	b.ne	LBB0_25
; %bb.17:
	ldp	w10, w8, [sp, #8]
	mov	w9, #100
	madd	w8, w8, w9, w10
	ldr	w10, [sp, #4]
	madd	w8, w8, w9, w10
	b	LBB0_28
LBB0_18:
	mov	x0, x20
	bl	_pg_char_to_encoding
	str	x0, [x19]
	tbz	x0, #63, LBB0_20
; %bb.19:
Lloh10:
	adrp	x8, _PG_SQL_ASCII@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PG_SQL_ASCII@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	str	x0, [x19]
LBB0_20:
Lloh13:
	adrp	x8, _static_client_encoding@GOTPAGE
Lloh14:
	ldr	x8, [x8, _static_client_encoding@GOTPAGEOFF]
Lloh15:
	str	x0, [x8]
	b	LBB0_29
LBB0_21:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cmp	x0, #0
	cset	w8, eq
	str	w8, [x19, #8]
Lloh18:
	adrp	x9, _static_std_strings@GOTPAGE
Lloh19:
	ldr	x9, [x9, _static_std_strings@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
	b	LBB0_29
LBB0_22:
	ldr	w8, [sp, #12]
	mov	w9, #10000
	b	LBB0_27
LBB0_23:
	ldr	w8, [sp, #12]
	cmp	w8, #10
	b.lt	LBB0_26
; %bb.24:
	mov	w9, #10000
	ldr	w10, [sp, #8]
	madd	w8, w8, w9, w10
	b	LBB0_28
LBB0_25:
	mov	w8, #0
	b	LBB0_28
LBB0_26:
	mov	w9, #100
	ldr	w10, [sp, #8]
	madd	w8, w8, w9, w10
LBB0_27:
	mul	w8, w8, w9
LBB0_28:
	str	w8, [x19, #12]
LBB0_29:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pqSaveParameterStatus: '%s' = '%s'\n"

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

	.comm	_PG_SQL_ASCII,8,3               ; @PG_SQL_ASCII
	.comm	_static_client_encoding,8,3     ; @static_client_encoding
l_.str.2:                               ; @.str.2
	.asciz	"standard_conforming_strings"

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

	.comm	_static_std_strings,4,2         ; @static_std_strings
l_.str.4:                               ; @.str.4
	.asciz	"server_version"

l_.str.5:                               ; @.str.5
	.asciz	"%d.%d.%d"

.subsections_via_symbols
