	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___pm_runtime_disable           ## -- Begin function __pm_runtime_disable
	.p2align	4, 0x90
___pm_runtime_disable:                  ## @__pm_runtime_disable
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_2
## %bb.1:
	incq	%rax
	movq	%rax, (%rbx)
	jmp	LBB0_8
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.3:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.4:
	movq	8(%rbx), %rcx
	movq	_RPM_REQ_RESUME@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_pm_runtime_get_noresume
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___pm_runtime_resume
	movq	%rbx, %rdi
	callq	_pm_runtime_put_noidle
	movq	(%rbx), %rax
LBB0_6:
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	___pm_runtime_barrier
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irq                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RPM_REQ_RESUME,8,3             ## @RPM_REQ_RESUME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___pm_runtime_disable           ; -- Begin function __pm_runtime_disable
	.p2align	2
___pm_runtime_disable:                  ; @__pm_runtime_disable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_spin_lock_irq
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	add	x8, x8, #1
	str	x8, [x20]
	b	LBB0_8
LBB0_2:
	cbz	w21, LBB0_6
; %bb.3:
	ldr	x9, [x20, #24]
	cbz	x9, LBB0_6
; %bb.4:
	ldr	x9, [x20, #8]
Lloh0:
	adrp	x10, _RPM_REQ_RESUME@GOTPAGE
Lloh1:
	ldr	x10, [x10, _RPM_REQ_RESUME@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_pm_runtime_get_noresume
	mov	x0, x20
	mov	w1, #0
	bl	___pm_runtime_resume
	mov	x0, x20
	bl	_pm_runtime_put_noidle
	ldr	x8, [x20]
LBB0_6:
	add	x9, x8, #1
	str	x9, [x20]
	cbnz	x8, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	___pm_runtime_barrier
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_irq
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RPM_REQ_RESUME,8,3             ; @RPM_REQ_RESUME
.subsections_via_symbols
