	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_power_meter_notify
_acpi_power_meter_notify:               ## @acpi_power_meter_notify
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_acpi_driver_data
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%r12, %rdi
	callq	_acpi_driver_data
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_mutex_lock
	leal	-128(%r14), %eax
	cmpl	$4, %eax
	ja	LBB0_10
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	_POWER_AVERAGE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
	movq	%r15, %rdi
	callq	_update_meter
	jmp	LBB0_11
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_11
LBB0_8:
	movq	_POWER_AVG_INTERVAL_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
	movq	%r15, %rdi
	callq	_update_avg_interval
	jmp	LBB0_11
LBB0_4:
	movq	%r15, %rdi
	callq	_free_capabilities
	movq	%r15, %rdi
	callq	_read_capabilities
	testl	%eax, %eax
	jne	LBB0_11
## %bb.5:
	movq	%r15, %rdi
	callq	_remove_attrs
	movq	%r15, %rdi
	callq	_setup_attrs
	jmp	LBB0_11
LBB0_9:
	movq	_POWER_ALARM_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
	jmp	LBB0_11
LBB0_7:
	movq	_POWER_CAP_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
	movq	%r15, %rdi
	callq	_update_cap
LBB0_11:
	movq	%r15, %rdi
	callq	_mutex_unlock
	movq	_ACPI_POWER_METER_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_dev_name
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_acpi_bus_generate_netlink_event ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_POWER_AVERAGE_NAME,4,2         ## @POWER_AVERAGE_NAME
	.comm	_POWER_CAP_NAME,4,2             ## @POWER_CAP_NAME
	.comm	_POWER_AVG_INTERVAL_NAME,4,2    ## @POWER_AVG_INTERVAL_NAME
	.comm	_POWER_ALARM_NAME,4,2           ## @POWER_ALARM_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Capping in progress.\n"

	.comm	_ACPI_POWER_METER_CLASS,4,2     ## @ACPI_POWER_METER_CLASS
	.no_dead_strip	_acpi_power_meter_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_power_meter_notify
_acpi_power_meter_notify:               ; @acpi_power_meter_notify
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_acpi_driver_data
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_acpi_driver_data
	mov	x21, x0
	bl	_mutex_lock
	sub	w8, w19, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh2:
	adrp	x8, _POWER_AVERAGE_NAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _POWER_AVERAGE_NAME@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, #0
	bl	_sysfs_notify
	mov	x0, x21
	bl	_update_meter
	b	LBB0_12
LBB0_5:
	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
	ret
LBB0_6:
	bl	_BUG
	b	LBB0_12
LBB0_7:
Lloh5:
	adrp	x8, _POWER_AVG_INTERVAL_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _POWER_AVG_INTERVAL_NAME@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, #0
	bl	_sysfs_notify
	mov	x0, x21
	bl	_update_avg_interval
	b	LBB0_12
LBB0_8:
	mov	x0, x21
	bl	_free_capabilities
	mov	x0, x21
	bl	_read_capabilities
	cbnz	w0, LBB0_12
; %bb.9:
	mov	x0, x21
	bl	_remove_attrs
	mov	x0, x21
	bl	_setup_attrs
	b	LBB0_12
LBB0_10:
Lloh8:
	adrp	x8, _POWER_ALARM_NAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _POWER_ALARM_NAME@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, #0
	bl	_sysfs_notify
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	b	LBB0_12
LBB0_11:
Lloh13:
	adrp	x8, _POWER_CAP_NAME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _POWER_CAP_NAME@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, #0
	bl	_sysfs_notify
	mov	x0, x21
	bl	_update_cap
LBB0_12:
	mov	x0, x21
	bl	_mutex_unlock
Lloh16:
	adrp	x8, _ACPI_POWER_METER_CLASS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ACPI_POWER_METER_CLASS@GOTPAGEOFF]
Lloh18:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	mov	w3, #0
	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	_acpi_bus_generate_netlink_event
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
                                        ; -- End function
	.comm	_POWER_AVERAGE_NAME,4,2         ; @POWER_AVERAGE_NAME
	.comm	_POWER_CAP_NAME,4,2             ; @POWER_CAP_NAME
	.comm	_POWER_AVG_INTERVAL_NAME,4,2    ; @POWER_AVG_INTERVAL_NAME
	.comm	_POWER_ALARM_NAME,4,2           ; @POWER_ALARM_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Capping in progress.\n"

	.comm	_ACPI_POWER_METER_CLASS,4,2     ; @ACPI_POWER_METER_CLASS
	.no_dead_strip	_acpi_power_meter_notify
.subsections_via_symbols
