	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtsx_pci_start_run             ## -- Begin function rtsx_pci_start_run
	.p2align	4, 0x90
_rtsx_pci_start_run:                    ## @rtsx_pci_start_run
	.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
	cmpq	$0, 24(%rdi)
	je	LBB0_1
## %bb.6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	_PDEV_STAT_RUN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rdi)
	je	LBB0_5
## %bb.2:
	movq	%rax, (%rbx)
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_4:
	movq	%rbx, %rdi
	callq	_rtsx_pm_full_on
LBB0_5:
	movq	_system_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	addq	$8, %rbx
	movl	$200, %edi
	callq	_msecs_to_jiffies
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mod_delayed_work               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PDEV_STAT_RUN,8,3              ## @PDEV_STAT_RUN
	.comm	_system_wq,4,2                  ## @system_wq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtsx_pci_start_run             ; -- Begin function rtsx_pci_start_run
	.p2align	2
_rtsx_pci_start_run:                    ; @rtsx_pci_start_run
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _PDEV_STAT_RUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PDEV_STAT_RUN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_6
; %bb.3:
	str	x8, [x19]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	blr	x8
LBB0_5:
	mov	x0, x19
	bl	_rtsx_pm_full_on
LBB0_6:
Lloh3:
	adrp	x8, _system_wq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _system_wq@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	add	x19, x19, #8
	mov	w0, #200
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_delayed_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PDEV_STAT_RUN,8,3              ; @PDEV_STAT_RUN
	.comm	_system_wq,4,2                  ; @system_wq
.subsections_via_symbols
