	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_th_msu_deinit
_intel_th_msu_deinit:                   ## @intel_th_msu_deinit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, 16(%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	_REG_MSU_MINTCTL@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_ioread32
	cmpq	$0, 8(%rbx)
	jne	LBB0_2
## %bb.3:
	movq	_M0BLIE@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_M1BLIE@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_iowrite32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MSU_MINTCTL,8,3            ## @REG_MSU_MINTCTL
	.comm	_M1BLIE,4,2                     ## @M1BLIE
	.comm	_M0BLIE,4,2                     ## @M0BLIE
	.no_dead_strip	_intel_th_msu_deinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_th_msu_deinit
_intel_th_msu_deinit:                   ; @intel_th_msu_deinit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _REG_MSU_MINTCTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _REG_MSU_MINTCTL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_ioread32
Lloh2:
	adrp	x8, _M1BLIE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M1BLIE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _M0BLIE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _M0BLIE@GOTPAGEOFF]
	ldp	x11, x10, [x19]
	cmp	x10, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	bic	w0, w0, w8
	ldr	x8, [x20]
	add	x1, x8, x11
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iowrite32
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MSU_MINTCTL,8,3            ; @REG_MSU_MINTCTL
	.comm	_M1BLIE,4,2                     ; @M1BLIE
	.comm	_M0BLIE,4,2                     ; @M0BLIE
	.no_dead_strip	_intel_th_msu_deinit
.subsections_via_symbols
