	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function actmon_thread_isr
_actmon_thread_isr:                     ## @actmon_thread_isr
	.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	%rsi, %r12
	movq	(%rsi), %rdi
	callq	_mutex_lock
	movq	_ACTMON_GLB_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_actmon_readl
	movl	%eax, %r14d
	movq	8(%r12), %rdi
	callq	_ARRAY_SIZE
	movb	$1, %bl
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	%rsi, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$8, %rbx
	cmpq	%rax, %r13
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	movq	(%rsi,%rbx), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rbx, %rsi
	movq	%r12, %rdi
	callq	_actmon_isr_device
	movq	8(%r12), %rsi
	movl	$1, %r15d
	jmp	LBB0_4
LBB0_5:
	testl	%r15d, %r15d
	movb	$1, %bl
	je	LBB0_7
## %bb.6:
	movq	(%r12), %rdi
	callq	_update_devfreq
	xorl	%ebx, %ebx
LBB0_7:
	movq	(%r12), %rdi
	callq	_mutex_unlock
	testb	%bl, %bl
	je	LBB0_8
## %bb.9:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACTMON_GLB_STATUS,4,2          ## @ACTMON_GLB_STATUS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_actmon_thread_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function actmon_thread_isr
_actmon_thread_isr:                     ; @actmon_thread_isr
	.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	x19, x1
	ldr	x0, [x1]
	bl	_mutex_lock
Lloh0:
	adrp	x8, _ACTMON_GLB_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACTMON_GLB_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_actmon_readl
	mov	x20, x0
	ldr	x0, [x19, #8]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_7
; %bb.1:
	mov	x21, #0
	mov	x22, #0
	mov	w23, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	add	x21, x21, #8
	cmp	x22, w0, uxtw
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	add	x1, x0, x21
	ldr	x8, [x1]
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_actmon_isr_device
	ldr	x0, [x19, #8]
	mov	w23, #1
	b	LBB0_2
LBB0_5:
	cbz	w23, LBB0_7
; %bb.6:
	ldr	x0, [x19]
	bl	_update_devfreq
	mov	w20, #0
	b	LBB0_8
LBB0_7:
	mov	w20, #1
LBB0_8:
	ldr	x0, [x19]
	bl	_mutex_unlock
Lloh3:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh5:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, ne
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ACTMON_GLB_STATUS,4,2          ; @ACTMON_GLB_STATUS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_actmon_thread_isr
.subsections_via_symbols
