	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitializeClientEncoding       ## -- Begin function InitializeClientEncoding
	.p2align	4, 0x90
_InitializeClientEncoding:              ## @InitializeClientEncoding
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_backend_startup_complete@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_Assert
	movl	$1, (%rbx)
	movq	_pending_client_encoding@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_PrepareClientEncoding
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movq	(%rbx), %rdi
	callq	_SetClientEncoding
	testq	%rax, %rax
	js	LBB0_3
## %bb.2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	_pg_enc2name_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %ebx
	xorl	%eax, %eax
	callq	_GetDatabaseEncodingName
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_backend_startup_complete,4,2   ## @backend_startup_complete
	.comm	_pending_client_encoding,8,3    ## @pending_client_encoding
	.comm	_FATAL,4,2                      ## @FATAL
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"conversion between %s and %s is not supported"

	.comm	_pg_enc2name_tbl,8,3            ## @pg_enc2name_tbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitializeClientEncoding       ; -- Begin function InitializeClientEncoding
	.p2align	2
_InitializeClientEncoding:              ; @InitializeClientEncoding
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _backend_startup_complete@GOTPAGE
Lloh1:
	ldr	x19, [x19, _backend_startup_complete@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	mov	w8, #1
	str	w8, [x19]
Lloh2:
	adrp	x20, _pending_client_encoding@GOTPAGE
Lloh3:
	ldr	x20, [x20, _pending_client_encoding@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_PrepareClientEncoding
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	x0, [x20]
	bl	_SetClientEncoding
	tbnz	x0, #63, LBB0_3
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh4:
	adrp	x8, _FATAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
Lloh7:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_errcode
Lloh10:
	adrp	x8, _pg_enc2name_tbl@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pg_enc2name_tbl@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	w20, [x8, x9, lsl #2]
	bl	_GetDatabaseEncodingName
	mov	x2, x0
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ereport
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_backend_startup_complete,4,2   ; @backend_startup_complete
	.comm	_pending_client_encoding,8,3    ; @pending_client_encoding
	.comm	_FATAL,4,2                      ; @FATAL
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"conversion between %s and %s is not supported"

	.comm	_pg_enc2name_tbl,8,3            ; @pg_enc2name_tbl
.subsections_via_symbols
