	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___aspm_ctx_disable             ## -- Begin function __aspm_ctx_disable
	.p2align	4, 0x90
___aspm_ctx_disable:                    ## @__aspm_ctx_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	%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, %rbx
	leaq	12(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, 32(%rbx)
	je	LBB0_7
## %bb.1:
	movq	24(%rbx), %r12
	xorl	%eax, %eax
	callq	_ktime_get
	movq	%rax, %r15
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_ktime_sub
	movl	%eax, %edi
	callq	_ktime_to_ns
	movl	%eax, %r12d
	movq	_ASPM_TRIGGER_NS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_ktime_sub
	movl	%eax, %edi
	callq	_ktime_to_ns
	cmpl	$0, 8(%rbx)
	je	LBB0_4
## %bb.2:
	cmpl	%r13d, %r12d
	jge	LBB0_4
## %bb.3:
	movl	20(%rbx), %edi
	callq	_aspm_disable_inc
	movl	$0, 8(%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	_ASPM_RESCHED_TIMER_MS@GOTPCREL(%rip), %rcx
	movq	_NSEC_PER_MSEC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	(%rcx), %edx
	cmpl	%edx, %eax
	jle	LBB0_7
## %bb.5:
	cmpl	%r13d, %r12d
	jge	LBB0_7
LBB0_6:
	leaq	16(%rbx), %r12
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_ASPM_TIMER_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mod_timer
	movq	%r15, (%rbx)
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ASPM_TRIGGER_NS,4,2            ## @ASPM_TRIGGER_NS
	.comm	_ASPM_RESCHED_TIMER_MS,4,2      ## @ASPM_RESCHED_TIMER_MS
	.comm	_NSEC_PER_MSEC,4,2              ## @NSEC_PER_MSEC
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ASPM_TIMER_MS,4,2              ## @ASPM_TIMER_MS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___aspm_ctx_disable             ; -- Begin function __aspm_ctx_disable
	.p2align	2
___aspm_ctx_disable:                    ; @__aspm_ctx_disable
	.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
	mov	x20, x0
	add	x19, x0, #12
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	x22, [x20, #24]
	bl	_ktime_get
	mov	x21, x0
	str	x0, [x20, #24]
	mov	x1, x22
	bl	_ktime_sub
	bl	_ktime_to_ns
	mov	x22, x0
Lloh0:
	adrp	x8, _ASPM_TRIGGER_NS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASPM_TRIGGER_NS@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	x1, [x20]
	mov	x0, x21
	bl	_ktime_sub
	bl	_ktime_to_ns
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_4
; %bb.2:
	cmp	w22, w23
	b.ge	LBB0_4
; %bb.3:
	ldr	w0, [x20, #20]
	bl	_aspm_disable_inc
	str	wzr, [x20, #8]
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _ASPM_RESCHED_TIMER_MS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASPM_RESCHED_TIMER_MS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _NSEC_PER_MSEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NSEC_PER_MSEC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mul	w8, w9, w8
	cmp	w0, w8
	ccmp	w22, w23, #0, gt
	b.ge	LBB0_6
LBB0_5:
	add	x22, x20, #16
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	x23, [x8]
Lloh12:
	adrp	x8, _ASPM_TIMER_MS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ASPM_TIMER_MS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x23
	mov	x0, x22
	bl	_mod_timer
	str	x21, [x20]
LBB0_6:
	mov	x0, x19
	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
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ASPM_TRIGGER_NS,4,2            ; @ASPM_TRIGGER_NS
	.comm	_ASPM_RESCHED_TIMER_MS,4,2      ; @ASPM_RESCHED_TIMER_MS
	.comm	_NSEC_PER_MSEC,4,2              ; @NSEC_PER_MSEC
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ASPM_TIMER_MS,4,2              ; @ASPM_TIMER_MS
.subsections_via_symbols
