	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp_setup_usr
_mp_setup_usr:                          ## @mp_setup_usr
	.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	$1064, %rsp                     ## imm = 0x428
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-1076(%rbp), %rdi
	movq	%rcx, %rsi
	callq	_hc_fopen
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%rbx, -1088(%rbp)               ## 8-byte Spill
	movq	%r15, -1096(%rbp)               ## 8-byte Spill
	movl	%r14d, -1080(%rbp)              ## 4-byte Spill
	leaq	-1072(%rbp), %rdi
	leaq	-1076(%rbp), %r15
	movl	$1, %esi
	movl	$1023, %edx                     ## imm = 0x3FF
	movq	%r15, %rcx
	callq	_hc_fread
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_hc_feof
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	leaq	-1076(%rbp), %rdi
	callq	_hc_fclose
	testq	%r14, %r14
	je	LBB0_9
## %bb.3:
	movb	$0, -1072(%rbp,%r14)
	leaq	-1072(%rbp), %rdi
	movq	%r14, %rsi
	callq	_superchop_with_length
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movl	$0, (%rsp)
	leaq	-1072(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	movq	-1096(%rbp), %r8                ## 8-byte Reload
	movl	-1080(%rbp), %r9d               ## 4-byte Reload
	jmp	LBB0_6
LBB0_5:
	movq	%r13, %rdi
	callq	_strlen
	movl	$1, (%rsp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	movq	%rbx, %rcx
	movq	%r15, %r8
	movl	%r14d, %r9d
LBB0_6:
	callq	_mp_expand
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_event_log_error
	leaq	-1076(%rbp), %rdi
	callq	_hc_fclose
	jmp	LBB0_12
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
LBB0_11:
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_event_log_error
LBB0_12:
	movl	$-1, %eax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	addq	$1064, %rsp                     ## imm = 0x428
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Custom charset file is too large."

L_.str.2:                               ## @.str.2
	.asciz	"%s: Custom charset file is empty."

L_.str.3:                               ## @.str.3
	.asciz	"%s: Custom charset file is corrupted."

	.no_dead_strip	_mp_setup_usr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp_setup_usr
_mp_setup_usr:                          ; @mp_setup_usr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #1040
	mov	x20, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #4
	mov	x1, x3
	bl	_hc_fopen
	cbz	w0, LBB0_5
; %bb.1:
	add	x0, sp, #8
	add	x3, sp, #4
	mov	w1, #1
	mov	w2, #1023
	bl	_hc_fread
	mov	x24, x0
	add	x0, sp, #4
	bl	_hc_feof
	cbz	w0, LBB0_7
; %bb.2:
	add	x0, sp, #4
	bl	_hc_fclose
	cbz	x24, LBB0_8
; %bb.3:
	add	x8, sp, #8
	strb	wzr, [x8, x24]
	add	x0, sp, #8
	mov	x1, x24
	bl	_superchop_with_length
	cbz	x0, LBB0_9
; %bb.4:
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x21
	mov	x3, x23
	mov	x4, x22
	mov	x5, x20
	mov	w6, #0
	bl	_mp_expand
	cmn	w0, #1
	b.ne	LBB0_6
	b	LBB0_11
LBB0_5:
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	mov	x3, x23
	mov	x4, x22
	mov	x5, x20
	mov	w6, #1
	bl	_mp_expand
	cmn	w0, #1
	b.eq	LBB0_12
LBB0_6:
	mov	w0, #0
	b	LBB0_12
LBB0_7:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_event_log_error
	add	x0, sp, #4
	bl	_hc_fclose
	b	LBB0_11
LBB0_8:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_10:
	mov	x0, x21
	mov	x2, x19
	bl	_event_log_error
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	add	sp, sp, #1040
	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
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Custom charset file is too large."

l_.str.2:                               ; @.str.2
	.asciz	"%s: Custom charset file is empty."

l_.str.3:                               ; @.str.3
	.asciz	"%s: Custom charset file is corrupted."

	.no_dead_strip	_mp_setup_usr
.subsections_via_symbols
