	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __pm_runtime_barrier
___pm_runtime_barrier:                  ## @__pm_runtime_barrier
	.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	%rdi, %r15
	callq	_pm_runtime_deactivate_timer
	cmpl	$0, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_RPM_REQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	leaq	20(%r15), %rbx
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	leaq	32(%r15), %rdi
	callq	_cancel_work_sync
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movl	$0, (%r15)
LBB0_2:
	movq	8(%r15), %rax
	movq	_RPM_SUSPENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	movq	_RPM_RESUMING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	cmpq	$0, 24(%r15)
	je	LBB0_11
LBB0_5:
	movq	_wait@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_DEFINE_WAIT
	leaq	16(%r15), %r12
	leaq	20(%r15), %rbx
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	callq	_schedule
	movq	%rbx, %rdi
	callq	_spin_lock_irq
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_prepare_to_wait
	movq	8(%r15), %rax
	movq	_RPM_SUSPENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_RPM_RESUMING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, 24(%r15)
	jne	LBB0_9
## %bb.10:
	movq	_wait@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_finish_wait                    ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPM_REQ_NONE,4,2               ## @RPM_REQ_NONE
	.comm	_RPM_SUSPENDING,8,3             ## @RPM_SUSPENDING
	.comm	_RPM_RESUMING,8,3               ## @RPM_RESUMING
	.comm	_wait,4,2                       ## @wait
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ## @TASK_UNINTERRUPTIBLE
	.no_dead_strip	___pm_runtime_barrier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __pm_runtime_barrier
___pm_runtime_barrier:                  ; @__pm_runtime_barrier
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	bl	_pm_runtime_deactivate_timer
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RPM_REQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPM_REQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #36]
	add	x20, x19, #20
	mov	x0, x20
	bl	_spin_unlock_irq
	add	x0, x19, #32
	bl	_cancel_work_sync
	mov	x0, x20
	bl	_spin_lock_irq
	str	wzr, [x19]
LBB0_2:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x23, _RPM_SUSPENDING@GOTPAGE
Lloh4:
	ldr	x23, [x23, _RPM_SUSPENDING@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh5:
	adrp	x24, _RPM_RESUMING@GOTPAGE
Lloh6:
	ldr	x24, [x24, _RPM_RESUMING@GOTPAGEOFF]
	ldr	x10, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_9
LBB0_4:
Lloh7:
	adrp	x20, _wait@GOTPAGE
Lloh8:
	ldr	x20, [x20, _wait@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_DEFINE_WAIT
	add	x21, x19, #16
	add	x22, x19, #20
Lloh9:
	adrp	x25, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_spin_unlock_irq
	bl	_schedule
	mov	x0, x22
	bl	_spin_lock_irq
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x25]
	mov	x0, x21
	mov	x1, x20
	bl	_prepare_to_wait
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	ldr	x10, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_5
; %bb.8:
Lloh11:
	adrp	x1, _wait@GOTPAGE
Lloh12:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_finish_wait
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RPM_REQ_NONE,4,2               ; @RPM_REQ_NONE
	.comm	_RPM_SUSPENDING,8,3             ; @RPM_SUSPENDING
	.comm	_RPM_RESUMING,8,3               ; @RPM_RESUMING
	.comm	_wait,4,2                       ; @wait
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ; @TASK_UNINTERRUPTIBLE
	.no_dead_strip	___pm_runtime_barrier
.subsections_via_symbols
