	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm_suspend_prep_cb
_pm_suspend_prep_cb:                    ## @pm_suspend_prep_cb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TELEM_MAX_OS_ALLOCATED_EVENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	movq	_debugfs_conf@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_TELEM_IOSS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %edx
	callq	_telemetry_raw_read_eventlog
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	$1, %ecx
	je	LBB0_6
## %bb.3:
	movl	%eax, %ebx
	movq	_suspend_deep_ctr_temp@GOTPCREL(%rip), %r13
	movq	_suspend_shlw_res_temp@GOTPCREL(%rip), %r15
	movq	_suspend_deep_res_temp@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r14), %edi
	movq	_suspend_shlw_ctr_temp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TELEM_CHECK_AND_PARSE_CTRS
	movl	8(%r14), %edi
	movl	(%r13), %esi
	callq	_TELEM_CHECK_AND_PARSE_CTRS
	movl	4(%r14), %edi
	movl	(%r15), %esi
	callq	_TELEM_CHECK_AND_PARSE_CTRS
	movl	(%r14), %edi
	movl	(%r12), %esi
	callq	_TELEM_CHECK_AND_PARSE_CTRS
	decl	%ebx
	jne	LBB0_4
## %bb.5:
	movl	$1, %ecx
	jmp	LBB0_6
LBB0_1:
	xorl	%ecx, %ecx
LBB0_6:
	movq	_suspend_prep_ok@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	_NOTIFY_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TELEM_MAX_OS_ALLOCATED_EVENTS,4,2 ## @TELEM_MAX_OS_ALLOCATED_EVENTS
	.comm	_debugfs_conf,8,3               ## @debugfs_conf
	.comm	_TELEM_IOSS,4,2                 ## @TELEM_IOSS
	.comm	_suspend_prep_ok,4,2            ## @suspend_prep_ok
	.comm	_suspend_shlw_ctr_temp,4,2      ## @suspend_shlw_ctr_temp
	.comm	_suspend_deep_ctr_temp,4,2      ## @suspend_deep_ctr_temp
	.comm	_suspend_shlw_res_temp,4,2      ## @suspend_shlw_res_temp
	.comm	_suspend_deep_res_temp,4,2      ## @suspend_deep_res_temp
	.comm	_NOTIFY_OK,4,2                  ## @NOTIFY_OK
	.no_dead_strip	_pm_suspend_prep_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm_suspend_prep_cb
_pm_suspend_prep_cb:                    ; @pm_suspend_prep_cb
	.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
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, _TELEM_MAX_OS_ALLOCATED_EVENTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TELEM_MAX_OS_ALLOCATED_EVENTS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	lsl	x8, x2, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x1, x9, x8
	mov	sp, x1
Lloh8:
	adrp	x8, _debugfs_conf@GOTPAGE
Lloh9:
	ldr	x8, [x8, _debugfs_conf@GOTPAGEOFF]
Lloh10:
	ldr	x20, [x8]
Lloh11:
	adrp	x8, _TELEM_IOSS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TELEM_IOSS@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_telemetry_raw_read_eventlog
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.2:
Lloh14:
	adrp	x21, _suspend_shlw_ctr_temp@GOTPAGE
Lloh15:
	ldr	x21, [x21, _suspend_shlw_ctr_temp@GOTPAGEOFF]
Lloh16:
	adrp	x22, _suspend_deep_ctr_temp@GOTPAGE
Lloh17:
	ldr	x22, [x22, _suspend_deep_ctr_temp@GOTPAGEOFF]
Lloh18:
	adrp	x23, _suspend_shlw_res_temp@GOTPAGE
Lloh19:
	ldr	x23, [x23, _suspend_shlw_res_temp@GOTPAGEOFF]
Lloh20:
	adrp	x24, _suspend_deep_res_temp@GOTPAGE
Lloh21:
	ldr	x24, [x24, _suspend_deep_res_temp@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #12]
	ldr	w1, [x21]
	bl	_TELEM_CHECK_AND_PARSE_CTRS
	ldr	w0, [x20, #8]
	ldr	w1, [x22]
	bl	_TELEM_CHECK_AND_PARSE_CTRS
	ldr	w0, [x20, #4]
	ldr	w1, [x23]
	bl	_TELEM_CHECK_AND_PARSE_CTRS
	ldr	w0, [x20]
	ldr	w1, [x24]
	bl	_TELEM_CHECK_AND_PARSE_CTRS
	subs	w19, w19, #1
	b.ne	LBB0_3
LBB0_4:
	mov	w8, #1
	b	LBB0_6
LBB0_5:
	mov	w8, #0
LBB0_6:
Lloh22:
	adrp	x9, _suspend_prep_ok@GOTPAGE
Lloh23:
	ldr	x9, [x9, _suspend_prep_ok@GOTPAGEOFF]
Lloh24:
	str	w8, [x9]
Lloh25:
	adrp	x8, _NOTIFY_OK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NOTIFY_OK@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldur	x8, [x29, #-56]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_TELEM_MAX_OS_ALLOCATED_EVENTS,4,2 ; @TELEM_MAX_OS_ALLOCATED_EVENTS
	.comm	_debugfs_conf,8,3               ; @debugfs_conf
	.comm	_TELEM_IOSS,4,2                 ; @TELEM_IOSS
	.comm	_suspend_prep_ok,4,2            ; @suspend_prep_ok
	.comm	_suspend_shlw_ctr_temp,4,2      ; @suspend_shlw_ctr_temp
	.comm	_suspend_deep_ctr_temp,4,2      ; @suspend_deep_ctr_temp
	.comm	_suspend_shlw_res_temp,4,2      ; @suspend_shlw_res_temp
	.comm	_suspend_deep_res_temp,4,2      ; @suspend_deep_res_temp
	.comm	_NOTIFY_OK,4,2                  ; @NOTIFY_OK
	.no_dead_strip	_pm_suspend_prep_cb
.subsections_via_symbols
