	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetDefaultLayoutForLocale
_GetDefaultLayoutForLocale:             ## @GetDefaultLayoutForLocale
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INF_STYLE_WIN4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	l_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_SetupOpenInfFileW
	movq	%rax, %r14
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_10
## %bb.1:
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_MAX_STR_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %rdi
	callq	_ARRAYSIZE
	leaq	l_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r12d, %ecx
	callq	_StringCchPrintfW
	leaq	l_.str.2(%rip), %rsi
	leaq	-52(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_SetupFindFirstLineW
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	leaq	-52(%rbp), %rdi
	callq	_SetupGetFieldCount
	cmpl	$5, %eax
	jl	LBB0_9
## %bb.3:
	movq	%rsp, %r12
	movl	(%r13), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %rdi
	callq	_ARRAYSIZE
	xorl	%r15d, %r15d
	leaq	-52(%rbp), %rdi
	movl	$5, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_SetupGetStringFieldW
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rbx, %rdi
	callq	_wcslen
	cmpl	$13, %eax
	jne	LBB0_8
## %bb.5:
	leaq	l_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_wcstok
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	l_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_wcstok
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rdi
	callq	_DWORDfromString
	movl	%eax, %r15d
LBB0_8:
	movq	%r12, %rsp
LBB0_9:
	movq	%r14, %rdi
	callq	_SetupCloseInfFile
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	105                             ## 0x69
	.long	110                             ## 0x6e
	.long	116                             ## 0x74
	.long	108                             ## 0x6c
	.long	46                              ## 0x2e
	.long	105                             ## 0x69
	.long	110                             ## 0x6e
	.long	102                             ## 0x66
	.long	0                               ## 0x0

	.comm	_INF_STYLE_WIN4,4,2             ## @INF_STYLE_WIN4
	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_MAX_STR_LEN,4,2                ## @MAX_STR_LEN
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	37                              ## 0x25
	.long	48                              ## 0x30
	.long	56                              ## 0x38
	.long	88                              ## 0x58
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.2
l_.str.2:
	.long	76                              ## 0x4c
	.long	111                             ## 0x6f
	.long	99                              ## 0x63
	.long	97                              ## 0x61
	.long	108                             ## 0x6c
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.3
l_.str.3:
	.long	58                              ## 0x3a
	.long	0                               ## 0x0

	.no_dead_strip	_GetDefaultLayoutForLocale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetDefaultLayoutForLocale
_GetDefaultLayoutForLocale:             ; @GetDefaultLayoutForLocale
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _INF_STYLE_WIN4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INF_STYLE_WIN4@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, #0
	mov	x3, #0
	bl	_SetupOpenInfFileW
Lloh8:
	adrp	x8, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_13
LBB0_2:
	mov	x19, x0
	mov	x22, sp
Lloh11:
	adrp	x23, _MAX_STR_LEN@GOTPAGE
Lloh12:
	ldr	x23, [x23, _MAX_STR_LEN@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	x0, x21
	bl	_ARRAYSIZE
	mov	x1, x0
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	bl	_StringCchPrintfW
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	sub	x3, x29, #60
	mov	x0, x19
	mov	x2, x21
	bl	_SetupFindFirstLineW
	cbz	x0, LBB0_9
; %bb.3:
	sub	x0, x29, #60
	bl	_SetupGetFieldCount
	cmp	w0, #5
	b.lt	LBB0_9
; %bb.4:
	mov	x21, sp
	ldr	w8, [x23]
	mov	x9, x8
Lloh19:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh20:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x0, x20
	bl	_ARRAYSIZE
	mov	x3, x0
	sub	x0, x29, #60
	mov	w1, #5
	mov	x2, x20
	mov	x4, #0
	bl	_SetupGetStringFieldW
	cbz	x0, LBB0_10
; %bb.5:
	mov	x0, x20
	bl	_wcslen
	cmp	w0, #13
	b.ne	LBB0_10
; %bb.6:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_wcstok
	cbz	x0, LBB0_10
; %bb.7:
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, #0
	bl	_wcstok
	cbz	x0, LBB0_10
; %bb.8:
	bl	_DWORDfromString
	mov	x20, x0
	b	LBB0_11
LBB0_9:
	mov	w20, #0
	b	LBB0_12
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	sp, x21
LBB0_12:
	mov	x0, x19
	bl	_SetupCloseInfFile
	mov	sp, x22
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x20
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	105                             ; 0x69
	.long	110                             ; 0x6e
	.long	116                             ; 0x74
	.long	108                             ; 0x6c
	.long	46                              ; 0x2e
	.long	105                             ; 0x69
	.long	110                             ; 0x6e
	.long	102                             ; 0x66
	.long	0                               ; 0x0

	.comm	_INF_STYLE_WIN4,4,2             ; @INF_STYLE_WIN4
	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_MAX_STR_LEN,4,2                ; @MAX_STR_LEN
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	37                              ; 0x25
	.long	48                              ; 0x30
	.long	56                              ; 0x38
	.long	88                              ; 0x58
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.2
l_.str.2:
	.long	76                              ; 0x4c
	.long	111                             ; 0x6f
	.long	99                              ; 0x63
	.long	97                              ; 0x61
	.long	108                             ; 0x6c
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.3
l_.str.3:
	.long	58                              ; 0x3a
	.long	0                               ; 0x0

	.no_dead_strip	_GetDefaultLayoutForLocale
.subsections_via_symbols
