	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseReasonCode                ## -- Begin function ParseReasonCode
	.p2align	4, 0x90
_ParseReasonCode:                       ## @ParseReasonCode
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_defaultReason@GOTPCREL(%rip), %r14
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$58, (%rdi)
	jne	LBB0_2
LBB0_11:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_wcslen
	cmpl	$58, (%rbx,%rax,4)
	je	LBB0_11
## %bb.3:
	addq	$-8, %rax
	cmpq	$-3, %rax
	jb	LBB0_11
## %bb.4:
	movq	_shutdownReason@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.5:
	addq	$8, %rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	32(%rbx), %rsi
	addq	$24, %rbx
	testq	%rsi, %rsi
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -8(%rbx)
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -4(%rbx)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	callq	__wcsicmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rbx, %r14
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_defaultReason,4,2              ## @defaultReason
	.comm	_shutdownReason,8,3             ## @shutdownReason
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseReasonCode                ; -- Begin function ParseReasonCode
	.p2align	2
_ParseReasonCode:                       ; @ParseReasonCode
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #58
	b.eq	LBB0_9
; %bb.2:
	mov	x0, x19
	bl	_wcslen
	ldr	w8, [x19, x0, lsl #2]
	sub	x9, x0, #8
	cmp	w8, #58
	ccmn	x9, #3, #0, ne
	b.lo	LBB0_9
; %bb.3:
Lloh0:
	adrp	x8, _shutdownReason@GOTPAGE
Lloh1:
	ldr	x8, [x8, _shutdownReason@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x1, [x8, #16]
	cbz	x1, LBB0_9
; %bb.4:
	add	x19, x8, #8
Lloh3:
	adrp	x20, _defaultReason@GOTPAGE
Lloh4:
	ldr	x20, [x20, _defaultReason@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x19, #32]
	add	x19, x19, #24
	cbz	x1, LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x19, #-8]
	cbnz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w8, [x19, #-4]
	cbnz	w8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, #0
	bl	__wcsicmp
	cbz	x0, LBB0_5
	b	LBB0_10
LBB0_9:
Lloh5:
	adrp	x19, _defaultReason@GOTPAGE
Lloh6:
	ldr	x19, [x19, _defaultReason@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x19, x20
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_defaultReason,4,2              ; @defaultReason
	.comm	_shutdownReason,8,3             ; @shutdownReason
.subsections_via_symbols
