	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_locale
_parse_locale:                          ## @parse_locale
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_23
## %bb.24:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_strtol
	movq	-24(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_27
## %bb.25:
	testq	%rax, %rax
	js	LBB0_27
## %bb.26:
	cmpq	$65536, %rax                    ## imm = 0x10000
	jl	LBB0_4
LBB0_27:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
	jmp	LBB0_28
LBB0_2:
	movq	_MFI_EVT_LOCALE_LD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_MFI_EVT_LOCALE_PD@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
LBB0_4:
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_28:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	movq	_MFI_EVT_LOCALE_BBU@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movq	_MFI_EVT_LOCALE_ENCL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_17:
	movq	_MFI_EVT_LOCALE_CTRL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_14:
	movq	_MFI_EVT_LOCALE_SAS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_19:
	movq	_MFI_EVT_LOCALE_CONFIG@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_21:
	movq	_MFI_EVT_LOCALE_CLUSTER@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_23:
	movq	_MFI_EVT_LOCALE_ALL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vol"

L_.str.1:                               ## @.str.1
	.asciz	"ld"

	.comm	_MFI_EVT_LOCALE_LD,8,3          ## @MFI_EVT_LOCALE_LD
L_.str.2:                               ## @.str.2
	.asciz	"drive"

L_.str.3:                               ## @.str.3
	.asciz	"pd"

	.comm	_MFI_EVT_LOCALE_PD,8,3          ## @MFI_EVT_LOCALE_PD
L_.str.4:                               ## @.str.4
	.asciz	"encl"

	.comm	_MFI_EVT_LOCALE_ENCL,8,3        ## @MFI_EVT_LOCALE_ENCL
L_.str.5:                               ## @.str.5
	.asciz	"batt"

L_.str.6:                               ## @.str.6
	.asciz	"bbu"

	.comm	_MFI_EVT_LOCALE_BBU,8,3         ## @MFI_EVT_LOCALE_BBU
L_.str.7:                               ## @.str.7
	.asciz	"sas"

	.comm	_MFI_EVT_LOCALE_SAS,8,3         ## @MFI_EVT_LOCALE_SAS
L_.str.8:                               ## @.str.8
	.asciz	"ctrl"

L_.str.9:                               ## @.str.9
	.asciz	"cont"

	.comm	_MFI_EVT_LOCALE_CTRL,8,3        ## @MFI_EVT_LOCALE_CTRL
L_.str.10:                              ## @.str.10
	.asciz	"config"

	.comm	_MFI_EVT_LOCALE_CONFIG,8,3      ## @MFI_EVT_LOCALE_CONFIG
L_.str.11:                              ## @.str.11
	.asciz	"cluster"

	.comm	_MFI_EVT_LOCALE_CLUSTER,8,3     ## @MFI_EVT_LOCALE_CLUSTER
L_.str.12:                              ## @.str.12
	.asciz	"all"

	.comm	_MFI_EVT_LOCALE_ALL,8,3         ## @MFI_EVT_LOCALE_ALL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_parse_locale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_locale
_parse_locale:                          ; @parse_locale
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #3
	bl	_strncasecmp
	cbz	x0, LBB0_17
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_17
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w2, #5
	bl	_strncasecmp
	cbz	x0, LBB0_18
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_18
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	w2, #4
	bl	_strncasecmp
	cbz	x0, LBB0_23
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	w2, #4
	bl	_strncasecmp
	cbz	x0, LBB0_22
; %bb.6:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	w2, #3
	bl	_strncasecmp
	cbz	x0, LBB0_22
; %bb.7:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_25
; %bb.8:
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_24
; %bb.9:
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	mov	w2, #4
	bl	_strncasecmp
	cbz	x0, LBB0_24
; %bb.10:
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_26
; %bb.11:
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_27
; %bb.12:
Lloh24:
	adrp	x1, l_.str.12@PAGE
Lloh25:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_28
; %bb.13:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #0
	bl	_strtol
	ldr	x9, [sp, #8]
	ldrb	w9, [x9]
	cbnz	w9, LBB0_29
; %bb.14:
	mov	x8, x0
	tbnz	x0, #63, LBB0_29
; %bb.15:
	cmp	x8, #16, lsl #12                ; =65536
	b.ge	LBB0_29
; %bb.16:
	mov	w0, #0
	b	LBB0_20
LBB0_17:
	mov	w0, #0
Lloh26:
	adrp	x8, _MFI_EVT_LOCALE_LD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MFI_EVT_LOCALE_LD@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
	mov	w0, #0
Lloh28:
	adrp	x8, _MFI_EVT_LOCALE_PD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MFI_EVT_LOCALE_PD@GOTPAGEOFF]
LBB0_19:
	ldr	x8, [x8]
LBB0_20:
	str	x8, [x19]
LBB0_21:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_22:
	mov	w0, #0
Lloh30:
	adrp	x8, _MFI_EVT_LOCALE_BBU@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MFI_EVT_LOCALE_BBU@GOTPAGEOFF]
	b	LBB0_19
LBB0_23:
Lloh32:
	adrp	x8, _MFI_EVT_LOCALE_ENCL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MFI_EVT_LOCALE_ENCL@GOTPAGEOFF]
	b	LBB0_19
LBB0_24:
	mov	w0, #0
Lloh34:
	adrp	x8, _MFI_EVT_LOCALE_CTRL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MFI_EVT_LOCALE_CTRL@GOTPAGEOFF]
	b	LBB0_19
LBB0_25:
Lloh36:
	adrp	x8, _MFI_EVT_LOCALE_SAS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MFI_EVT_LOCALE_SAS@GOTPAGEOFF]
	b	LBB0_19
LBB0_26:
Lloh38:
	adrp	x8, _MFI_EVT_LOCALE_CONFIG@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MFI_EVT_LOCALE_CONFIG@GOTPAGEOFF]
	b	LBB0_19
LBB0_27:
Lloh40:
	adrp	x8, _MFI_EVT_LOCALE_CLUSTER@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MFI_EVT_LOCALE_CLUSTER@GOTPAGEOFF]
	b	LBB0_19
LBB0_28:
Lloh42:
	adrp	x8, _MFI_EVT_LOCALE_ALL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MFI_EVT_LOCALE_ALL@GOTPAGEOFF]
	b	LBB0_19
LBB0_29:
Lloh44:
	adrp	x8, _EINVAL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	adrp	x9, _errno@GOTPAGE
Lloh48:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh49:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_21
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vol"

l_.str.1:                               ; @.str.1
	.asciz	"ld"

	.comm	_MFI_EVT_LOCALE_LD,8,3          ; @MFI_EVT_LOCALE_LD
l_.str.2:                               ; @.str.2
	.asciz	"drive"

l_.str.3:                               ; @.str.3
	.asciz	"pd"

	.comm	_MFI_EVT_LOCALE_PD,8,3          ; @MFI_EVT_LOCALE_PD
l_.str.4:                               ; @.str.4
	.asciz	"encl"

	.comm	_MFI_EVT_LOCALE_ENCL,8,3        ; @MFI_EVT_LOCALE_ENCL
l_.str.5:                               ; @.str.5
	.asciz	"batt"

l_.str.6:                               ; @.str.6
	.asciz	"bbu"

	.comm	_MFI_EVT_LOCALE_BBU,8,3         ; @MFI_EVT_LOCALE_BBU
l_.str.7:                               ; @.str.7
	.asciz	"sas"

	.comm	_MFI_EVT_LOCALE_SAS,8,3         ; @MFI_EVT_LOCALE_SAS
l_.str.8:                               ; @.str.8
	.asciz	"ctrl"

l_.str.9:                               ; @.str.9
	.asciz	"cont"

	.comm	_MFI_EVT_LOCALE_CTRL,8,3        ; @MFI_EVT_LOCALE_CTRL
l_.str.10:                              ; @.str.10
	.asciz	"config"

	.comm	_MFI_EVT_LOCALE_CONFIG,8,3      ; @MFI_EVT_LOCALE_CONFIG
l_.str.11:                              ; @.str.11
	.asciz	"cluster"

	.comm	_MFI_EVT_LOCALE_CLUSTER,8,3     ; @MFI_EVT_LOCALE_CLUSTER
l_.str.12:                              ; @.str.12
	.asciz	"all"

	.comm	_MFI_EVT_LOCALE_ALL,8,3         ; @MFI_EVT_LOCALE_ALL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_parse_locale
.subsections_via_symbols
