	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clear_intrusion
_clear_intrusion:                       ## @clear_intrusion
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r15
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_kstrtol
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	cmpq	$0, -40(%rbp)
	jne	LBB0_2
## %bb.3:
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	_IT87_REG_CONFIG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_it87_read_value
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	$5, %edi
	callq	_BIT
	orl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_it87_write_value
	movq	$0, 8(%r15)
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subq	(%rax), %r14
	jmp	LBB0_7
LBB0_4:
	movslq	%ebx, %r14
LBB0_6:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_7:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_IT87_REG_CONFIG,4,2            ## @IT87_REG_CONFIG
	.no_dead_strip	_clear_intrusion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clear_intrusion
_clear_intrusion:                       ; @clear_intrusion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x21, x2
	bl	_dev_get_drvdata
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #10
	bl	_kstrtol
	tbnz	x0, #63, LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_mutex_lock
Lloh0:
	adrp	x22, _IT87_REG_CONFIG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IT87_REG_CONFIG@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_it87_read_value
	mov	x21, x0
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	w0, #5
	bl	_BIT
	orr	w2, w0, w21
	ldr	w1, [x22]
	mov	x0, x20
	bl	_it87_write_value
	str	xzr, [x20, #8]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_7
LBB0_5:
	sxtw	x19, w21
LBB0_6:
	mov	x0, x20
	bl	_mutex_unlock
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_IT87_REG_CONFIG,4,2            ; @IT87_REG_CONFIG
	.no_dead_strip	_clear_intrusion
.subsections_via_symbols
