	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_encoding_mblen              ## -- Begin function pg_encoding_mblen
	.p2align	4, 0x90
_pg_encoding_mblen:                     ## @pg_encoding_mblen
	.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	%rsi, %r14
	movl	%edi, %ebx
	callq	_PG_VALID_ENCODING
	movq	_pg_wchar_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_PG_SQL_ASCII@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_1:
	movslq	%ebx, %rax
LBB0_3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*(%rcx,%rax,8)                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pg_wchar_table,8,3             ## @pg_wchar_table
	.comm	_PG_SQL_ASCII,8,3               ## @PG_SQL_ASCII
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_encoding_mblen              ; -- Begin function pg_encoding_mblen
	.p2align	2
_pg_encoding_mblen:                     ; @pg_encoding_mblen
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_PG_VALID_ENCODING
Lloh0:
	adrp	x8, _pg_wchar_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pg_wchar_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PG_SQL_ASCII@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PG_SQL_ASCII@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sxtw	x10, w20
	cmp	x0, #0
	csel	x9, x9, x10, eq
	ldr	x1, [x8, x9, lsl #3]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pg_wchar_table,8,3             ; @pg_wchar_table
	.comm	_PG_SQL_ASCII,8,3               ; @PG_SQL_ASCII
.subsections_via_symbols
