	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetSupportedCP
_GetSupportedCP:                        ## @GetSupportedCP
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	leaq	l_.str(%rip), %rsi
	leaq	-72(%rbp), %rcx
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_SetupFindFirstLine
	movq	_FALSE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	leaq	-56(%rbp), %r12
	leaq	-72(%rbp), %r15
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_CODEPAGE_NOT_REMOVEABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_SetupFindNextLine
	testl	%eax, %eax
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_SetupGetIntField
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	-56(%rbp), %rdi
	movq	%rdi, 24(%rax)
	movl	$0, (%rax)
	movq	_UNICODE_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%r14), %rcx
	movl	%eax, (%rcx)
	xorl	%esi, %esi
	leaq	-64(%rbp), %rdx
	callq	_GetCPInfoExW
	movq	16(%r14), %rdx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-64(%rbp), %esi
	movq	%rdx, %rdi
	callq	_wcscpy
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%r8d, %r8d
	callq	_SetupGetStringFieldW
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PCPage@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rax, 8(%r14)
	movq	%r14, (%rcx)
	movq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	leaq	l_.str.1(%rip), %rsi
	callq	_wsprintf
	movq	-56(%rbp), %r13
	xorl	%eax, %eax
	callq	_GetACP
	cmpq	%rax, %r13
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rbx
	xorl	%eax, %eax
	callq	_GetOEMCP
	cmpq	%rax, %rbx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	leaq	l_.str.2(%rip), %rdx
	leaq	-84(%rbp), %rcx
	callq	_SetupFindFirstLineW
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	jmp	LBB0_14
LBB0_15:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_4:
	movq	_FALSE@GOTPCREL(%rip), %rcx
LBB0_16:
	movl	(%rcx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	67                              ## 0x43
	.long	111                             ## 0x6f
	.long	100                             ## 0x64
	.long	101                             ## 0x65
	.long	80                              ## 0x50
	.long	97                              ## 0x61
	.long	103                             ## 0x67
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	0                               ## 0x0

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_UNICODE_NULL,4,2               ## @UNICODE_NULL
	.comm	_PCPage,8,3                     ## @PCPage
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	67                              ## 0x43
	.long	79                              ## 0x4f
	.long	68                              ## 0x44
	.long	69                              ## 0x45
	.long	80                              ## 0x50
	.long	65                              ## 0x41
	.long	71                              ## 0x47
	.long	69                              ## 0x45
	.long	95                              ## 0x5f
	.long	82                              ## 0x52
	.long	69                              ## 0x45
	.long	77                              ## 0x4d
	.long	79                              ## 0x4f
	.long	86                              ## 0x56
	.long	69                              ## 0x45
	.long	95                              ## 0x5f
	.long	37                              ## 0x25
	.long	100                             ## 0x64
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.2
l_.str.2:
	.long	65                              ## 0x41
	.long	100                             ## 0x64
	.long	100                             ## 0x64
	.long	82                              ## 0x52
	.long	101                             ## 0x65
	.long	103                             ## 0x67
	.long	0                               ## 0x0

	.comm	_CODEPAGE_NOT_REMOVEABLE,4,2    ## @CODEPAGE_NOT_REMOVEABLE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_GetSupportedCP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetSupportedCP
_GetSupportedCP:                        ; @GetSupportedCP
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x24, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MAX_PATH@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	sub	x3, x29, #92
	mov	x2, #0
	bl	_SetupFindFirstLine
Lloh9:
	adrp	x25, _FALSE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
	cbz	w0, LBB0_15
; %bb.1:
Lloh11:
	adrp	x21, l_.str.1@PAGE
Lloh12:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh13:
	adrp	x27, _UNICODE_NULL@GOTPAGE
Lloh14:
	ldr	x27, [x27, _UNICODE_NULL@GOTPAGEOFF]
Lloh15:
	adrp	x28, _PCPage@GOTPAGE
Lloh16:
	ldr	x28, [x28, _PCPage@GOTPAGEOFF]
Lloh17:
	adrp	x26, _CODEPAGE_NOT_REMOVEABLE@GOTPAGE
Lloh18:
	ldr	x26, [x26, _CODEPAGE_NOT_REMOVEABLE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [x23]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #92
	sub	x1, x29, #92
	bl	_SetupFindNextLine
	cbz	w0, LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x0, x29, #92
	sub	x2, x29, #112
	mov	w1, #0
	bl	_SetupGetIntField
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_GetProcessHeap
	mov	w1, #0
	mov	w2, #4
	bl	_HeapAlloc
	cbz	x0, LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldur	x0, [x29, #-112]
	str	x0, [x23, #24]
	str	wzr, [x23]
	ldr	w8, [x27]
	ldr	x9, [x23, #16]
	str	w8, [x9]
	sub	x2, x29, #104
	mov	w1, #0
	bl	_GetCPInfoExW
	ldr	x2, [x23, #16]
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w1, [x29, #-104]
	mov	x0, x2
	bl	_wcscpy
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x24]
	sub	x0, x29, #92
	mov	w1, #1
	mov	x4, #0
	bl	_SetupGetStringFieldW
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #16]
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	str	x8, [x23, #8]
	str	x23, [x28]
	ldur	x2, [x29, #-112]
	mov	x0, x20
	mov	x1, x21
	bl	_wsprintf
	ldur	x22, [x29, #-112]
	bl	_GetACP
	cmp	x22, x0
	b.eq	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	x22, [x29, #-112]
	bl	_GetOEMCP
	cmp	x22, x0
	b.eq	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	x3, x29, #96
	mov	x0, x19
	mov	x1, x20
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_SetupFindFirstLineW
	cbnz	w0, LBB0_3
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapFree
	b	LBB0_3
LBB0_14:
Lloh21:
	adrp	x25, _TRUE@GOTPAGE
Lloh22:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x25]
	ldur	x8, [x29, #-88]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	67                              ; 0x43
	.long	111                             ; 0x6f
	.long	100                             ; 0x64
	.long	101                             ; 0x65
	.long	80                              ; 0x50
	.long	97                              ; 0x61
	.long	103                             ; 0x67
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	0                               ; 0x0

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_UNICODE_NULL,4,2               ; @UNICODE_NULL
	.comm	_PCPage,8,3                     ; @PCPage
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	67                              ; 0x43
	.long	79                              ; 0x4f
	.long	68                              ; 0x44
	.long	69                              ; 0x45
	.long	80                              ; 0x50
	.long	65                              ; 0x41
	.long	71                              ; 0x47
	.long	69                              ; 0x45
	.long	95                              ; 0x5f
	.long	82                              ; 0x52
	.long	69                              ; 0x45
	.long	77                              ; 0x4d
	.long	79                              ; 0x4f
	.long	86                              ; 0x56
	.long	69                              ; 0x45
	.long	95                              ; 0x5f
	.long	37                              ; 0x25
	.long	100                             ; 0x64
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.2
l_.str.2:
	.long	65                              ; 0x41
	.long	100                             ; 0x64
	.long	100                             ; 0x64
	.long	82                              ; 0x52
	.long	101                             ; 0x65
	.long	103                             ; 0x67
	.long	0                               ; 0x0

	.comm	_CODEPAGE_NOT_REMOVEABLE,4,2    ; @CODEPAGE_NOT_REMOVEABLE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_GetSupportedCP
.subsections_via_symbols
