	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aw_thermal_intr
_aw_thermal_intr:                       ## @aw_thermal_intr
	.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
	movq	%rdi, %r14
	callq	_device_get_softc
	movq	%rax, %r15
	movq	_THS_INTS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rax, %rdi
	callq	_RD4
	movl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_WR4
	movq	_SHUT_INT_ALL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_printf
	movq	_RB_POWEROFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_shutdown_nice
LBB0_2:
	movq	_ALARM_INT_ALL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_taskqueue_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_taskqueue_enqueue              ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THS_INTS,4,2                   ## @THS_INTS
	.comm	_SHUT_INT_ALL,4,2               ## @SHUT_INT_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WARNING - current temperature exceeds safe limits\n"

	.comm	_RB_POWEROFF,4,2                ## @RB_POWEROFF
	.comm	_ALARM_INT_ALL,4,2              ## @ALARM_INT_ALL
	.comm	_taskqueue_thread,4,2           ## @taskqueue_thread
	.no_dead_strip	_aw_thermal_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aw_thermal_intr
_aw_thermal_intr:                       ; @aw_thermal_intr
	.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	x20, x0
	bl	_device_get_softc
	mov	x19, x0
Lloh0:
	adrp	x22, _THS_INTS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _THS_INTS@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_RD4
	mov	x21, x0
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_WR4
Lloh2:
	adrp	x8, _SHUT_INT_ALL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SHUT_INT_ALL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_device_printf
Lloh7:
	adrp	x8, _RB_POWEROFF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RB_POWEROFF@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_shutdown_nice
LBB0_2:
Lloh10:
	adrp	x8, _ALARM_INT_ALL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ALARM_INT_ALL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _taskqueue_thread@GOTPAGE
Lloh14:
	ldr	x8, [x8, _taskqueue_thread@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x19
	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	_taskqueue_enqueue
LBB0_4:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_THS_INTS,4,2                   ; @THS_INTS
	.comm	_SHUT_INT_ALL,4,2               ; @SHUT_INT_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WARNING - current temperature exceeds safe limits\n"

	.comm	_RB_POWEROFF,4,2                ; @RB_POWEROFF
	.comm	_ALARM_INT_ALL,4,2              ; @ALARM_INT_ALL
	.comm	_taskqueue_thread,4,2           ; @taskqueue_thread
	.no_dead_strip	_aw_thermal_intr
.subsections_via_symbols
