	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetMessageEncoding             ## -- Begin function SetMessageEncoding
	.p2align	4, 0x90
_SetMessageEncoding:                    ## @SetMessageEncoding
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_PG_VALID_ENCODING
	movl	%eax, %edi
	callq	_Assert
	movq	_pg_enc2name_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	leaq	(%rax,%rcx,4), %rdx
	movq	_MessageEncoding@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	xorl	%edi, %edi
	cmpl	%ecx, (%rax,%rcx,4)
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_Assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pg_enc2name_tbl,8,3            ## @pg_enc2name_tbl
	.comm	_MessageEncoding,8,3            ## @MessageEncoding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetMessageEncoding             ; -- Begin function SetMessageEncoding
	.p2align	2
_SetMessageEncoding:                    ; @SetMessageEncoding
	.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, x0
	bl	_PG_VALID_ENCODING
	bl	_Assert
Lloh0:
	adrp	x8, _pg_enc2name_tbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pg_enc2name_tbl@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sbfiz	x9, x19, #2, #32
	add	x10, x8, x9
Lloh3:
	adrp	x11, _MessageEncoding@GOTPAGE
Lloh4:
	ldr	x11, [x11, _MessageEncoding@GOTPAGEOFF]
Lloh5:
	str	x10, [x11]
	ldr	w8, [x8, x9]
	cmp	w8, w19
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Assert
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pg_enc2name_tbl,8,3            ; @pg_enc2name_tbl
	.comm	_MessageEncoding,8,3            ; @MessageEncoding
.subsections_via_symbols
