	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpm_suspend
_dpm_suspend:                           ## @dpm_suspend
	.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
	movl	%edi, %r14d
	leaq	-48(%rbp), %rdi
	callq	_INIT_LIST_HEAD
	movq	_dpm_list_mtx@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_dpm_list@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_list_empty
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_put_device
	movq	_dpm_list@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_list_empty
	testl	%eax, %eax
	movl	%r12d, %r14d
	jne	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_to_device
	movq	%rax, %r13
	movq	(%rbx), %r15
	movq	%rax, %rdi
	callq	_get_device
	movq	_dpm_list_mtx@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r13, %rdi
	movl	%r14d, %r12d
	movl	%r14d, %esi
	callq	_device_suspend
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_mutex_lock
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_DPM_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	%r15, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	callq	_list_move
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r14d, %ecx
	callq	_pm_dev_err
	movq	%r13, %rdi
	callq	_put_device
	movl	%r14d, %r15d
	movq	_dpm_list@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movq	(%rbx), %rsi
	leaq	-48(%rbp), %rdi
	callq	_list_splice
	movq	_dpm_list_mtx@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dpm_list_mtx,4,2               ## @dpm_list_mtx
	.comm	_dpm_list,8,3                   ## @dpm_list
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_DPM_OFF,4,2                    ## @DPM_OFF
	.no_dead_strip	_dpm_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpm_suspend
_dpm_suspend:                           ; @dpm_suspend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x0
	add	x0, sp, #8
	bl	_INIT_LIST_HEAD
Lloh0:
	adrp	x0, _dpm_list_mtx@GOTPAGE
Lloh1:
	ldr	x0, [x0, _dpm_list_mtx@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x19, _dpm_list@GOTPAGE
Lloh3:
	ldr	x19, [x19, _dpm_list@GOTPAGEOFF]
	mov	x0, x19
	bl	_list_empty
	cbz	w0, LBB0_2
LBB0_1:
	mov	w23, #0
	b	LBB0_8
LBB0_2:
Lloh4:
	adrp	x21, _dpm_list_mtx@GOTPAGE
Lloh5:
	ldr	x21, [x21, _dpm_list_mtx@GOTPAGEOFF]
Lloh6:
	adrp	x25, _DPM_OFF@GOTPAGE
Lloh7:
	ldr	x25, [x25, _DPM_OFF@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_put_device
	mov	x0, x19
	bl	_list_empty
	cbnz	w0, LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	bl	_to_device
	mov	x22, x0
	ldr	x24, [x19]
	bl	_get_device
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x22
	mov	x1, x20
	bl	_device_suspend
	mov	x23, x0
	mov	x0, x21
	bl	_mutex_lock
	cbnz	w23, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	str	w8, [x22]
	mov	x0, x24
	bl	_list_empty
	cbnz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #8
	mov	x0, x24
	bl	_list_move
	b	LBB0_3
LBB0_7:
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x20
	mov	x3, x23
	bl	_pm_dev_err
	mov	x0, x22
	bl	_put_device
LBB0_8:
	ldr	x1, [x19]
	add	x0, sp, #8
	bl	_list_splice
Lloh10:
	adrp	x0, _dpm_list_mtx@GOTPAGE
Lloh11:
	ldr	x0, [x0, _dpm_list_mtx@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x23
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_dpm_list_mtx,4,2               ; @dpm_list_mtx
	.comm	_dpm_list,8,3                   ; @dpm_list
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_DPM_OFF,4,2                    ; @DPM_OFF
	.no_dead_strip	_dpm_suspend
.subsections_via_symbols
