	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_extension_script_file
_read_extension_script_file:            ## @read_extension_script_file
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rax
	movq	%rdi, %rbx
	leaq	-20(%rbp), %rsi
	movq	%rax, %rdi
	callq	_read_whole_file
	movq	%rax, %r14
	movl	(%rbx), %ebx
	testl	%ebx, %ebx
	jns	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_GetDatabaseEncoding
	movl	%eax, %ebx
LBB0_2:
	movl	-20(%rbp), %edx
	movl	%ebx, %edi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_pg_verify_mbstr_len
	movl	-20(%rbp), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_pg_any_to_server
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_read_extension_script_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_extension_script_file
_read_extension_script_file:            ; @read_extension_script_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x20, x0
	add	x1, sp, #12
	mov	x0, x8
	bl	_read_whole_file
	mov	x19, x0
	ldr	w20, [x20]
	tbz	w20, #31, LBB0_2
; %bb.1:
	bl	_GetDatabaseEncoding
	mov	x20, x0
LBB0_2:
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_pg_verify_mbstr_len
	ldr	w1, [sp, #12]
	mov	x0, x19
	mov	x2, x20
	bl	_pg_any_to_server
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_extension_script_file
.subsections_via_symbols
