	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thermal_notify
_thermal_notify:                        ## @thermal_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
	movl	%edx, %r14d
	movq	(%rdi), %r15
	movq	_THERMAL_TRIP_CRITICAL@GOTPCREL(%rip), %r12
	cmpl	%edx, (%r12)
	jne	LBB0_2
## %bb.1:
	movq	_ACPI_THERMAL_NOTIFY_CRITICAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_THERMAL_TRIP_HOT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%r14d, (%rcx)
	jne	LBB0_5
## %bb.3:
	movq	_ACPI_THERMAL_NOTIFY_HOT@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ebx
	movq	(%r15), %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_acpi_bus_generate_proc_event
	movq	(%r15), %rdi
	movl	4(%rdi), %r15d
	callq	_dev_name
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	movl	$1, %ecx
	callq	_acpi_bus_generate_netlink_event
	cmpl	%r14d, (%r12)
	sete	%al
	movq	_nocrt@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THERMAL_TRIP_CRITICAL,4,2      ## @THERMAL_TRIP_CRITICAL
	.comm	_ACPI_THERMAL_NOTIFY_CRITICAL,4,2 ## @ACPI_THERMAL_NOTIFY_CRITICAL
	.comm	_THERMAL_TRIP_HOT,4,2           ## @THERMAL_TRIP_HOT
	.comm	_ACPI_THERMAL_NOTIFY_HOT,4,2    ## @ACPI_THERMAL_NOTIFY_HOT
	.comm	_nocrt,8,3                      ## @nocrt
	.no_dead_strip	_thermal_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thermal_notify
_thermal_notify:                        ; @thermal_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
	mov	x19, x2
	ldr	x21, [x0]
Lloh0:
	adrp	x22, _THERMAL_TRIP_CRITICAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _THERMAL_TRIP_CRITICAL@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ACPI_THERMAL_NOTIFY_CRITICAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ACPI_THERMAL_NOTIFY_CRITICAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh4:
	adrp	x8, _THERMAL_TRIP_HOT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _THERMAL_TRIP_HOT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_5
; %bb.3:
Lloh7:
	adrp	x8, _ACPI_THERMAL_NOTIFY_HOT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ACPI_THERMAL_NOTIFY_HOT@GOTPAGEOFF]
LBB0_4:
	ldr	w20, [x8]
	ldr	x0, [x21]
	mov	x1, x20
	mov	w2, #1
	bl	_acpi_bus_generate_proc_event
	ldr	x0, [x21]
	ldr	w21, [x0, #4]
	bl	_dev_name
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	mov	w3, #1
	bl	_acpi_bus_generate_netlink_event
	ldr	w8, [x22]
	cmp	w8, w19
Lloh9:
	adrp	x8, _nocrt@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nocrt@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ccmp	x8, #0, #4, eq
	cset	w0, ne
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_THERMAL_TRIP_CRITICAL,4,2      ; @THERMAL_TRIP_CRITICAL
	.comm	_ACPI_THERMAL_NOTIFY_CRITICAL,4,2 ; @ACPI_THERMAL_NOTIFY_CRITICAL
	.comm	_THERMAL_TRIP_HOT,4,2           ; @THERMAL_TRIP_HOT
	.comm	_ACPI_THERMAL_NOTIFY_HOT,4,2    ; @ACPI_THERMAL_NOTIFY_HOT
	.comm	_nocrt,8,3                      ; @nocrt
	.no_dead_strip	_thermal_notify
.subsections_via_symbols
