	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aw_thermal_setshut
_aw_thermal_setshut:                    ## @aw_thermal_setshut
	.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
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_THS_SHUTDOWN0_CTRL@GOTPCREL(%rip), %rcx
	leal	(,%r12,4), %eax
	movslq	%eax, %r13
	movq	(%rcx), %rsi
	addq	%r13, %rsi
	callq	_RD4
	movq	_SHUT_T_HOT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_SHUT_T_HOT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	(%r14), %rax
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	*(%rax)
	movq	_SHUT_T_HOT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %ebx
	movq	_THS_SHUTDOWN0_CTRL@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WR4                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_THS_SHUTDOWN0_CTRL,8,3         ## @THS_SHUTDOWN0_CTRL
	.comm	_SHUT_T_HOT_MASK,4,2            ## @SHUT_T_HOT_MASK
	.comm	_SHUT_T_HOT_SHIFT,4,2           ## @SHUT_T_HOT_SHIFT
	.no_dead_strip	_aw_thermal_setshut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aw_thermal_setshut
_aw_thermal_setshut:                    ; @aw_thermal_setshut
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _THS_SHUTDOWN0_CTRL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _THS_SHUTDOWN0_CTRL@GOTPAGEOFF]
	ldr	x8, [x22]
	lsl	w9, w1, #2
	sxtw	x23, w9
	add	x1, x8, x23
	bl	_RD4
Lloh2:
	adrp	x8, _SHUT_T_HOT_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SHUT_T_HOT_MASK@GOTPAGEOFF]
Lloh4:
	adrp	x24, _SHUT_T_HOT_SHIFT@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SHUT_T_HOT_SHIFT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x24]
	lsl	w8, w8, w9
	bic	w25, w0, w8
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	ldr	w8, [x24]
	lsl	w8, w0, w8
	orr	w2, w8, w25
	ldr	x8, [x22]
	add	x1, x8, x23
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_WR4
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_THS_SHUTDOWN0_CTRL,8,3         ; @THS_SHUTDOWN0_CTRL
	.comm	_SHUT_T_HOT_MASK,4,2            ; @SHUT_T_HOT_MASK
	.comm	_SHUT_T_HOT_SHIFT,4,2           ; @SHUT_T_HOT_SHIFT
	.no_dead_strip	_aw_thermal_setshut
.subsections_via_symbols
