	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_safexcel_invalidate_cache      ## -- Begin function safexcel_invalidate_cache
	.p2align	4, 0x90
_safexcel_invalidate_cache:             ## @safexcel_invalidate_cache
	.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	%ecx, %r14d
	movl	%edx, %eax
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movl	%ecx, %esi
	movl	$1, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_safexcel_add_cdesc
	addq	$16, %rsp
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_EIP197_TYPE_EXTENDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	_CONTEXT_CONTROL_INV_TR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_safexcel_add_rdesc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movslq	%r14d, %rsi
	shlq	$2, %rsi
	addq	(%r12), %rsi
	movq	%r12, %rdi
	callq	_safexcel_ring_rollback_wptr
	movl	%ebx, %eax
	jmp	LBB0_4
LBB0_3:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_safexcel_rdr_req_set
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIP197_TYPE_EXTENDED,4,2       ## @EIP197_TYPE_EXTENDED
	.comm	_CONTEXT_CONTROL_INV_TR,4,2     ## @CONTEXT_CONTROL_INV_TR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_safexcel_invalidate_cache      ; -- Begin function safexcel_invalidate_cache
	.p2align	2
_safexcel_invalidate_cache:             ; @safexcel_invalidate_cache
	.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, x3
	mov	x7, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	x1, x3
	mov	w2, #1
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_safexcel_add_cdesc
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	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	_PTR_ERR
LBB0_2:
Lloh0:
	adrp	x8, _EIP197_TYPE_EXTENDED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIP197_TYPE_EXTENDED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x22, #24]
	stp	xzr, xzr, [x22, #8]
Lloh3:
	adrp	x8, _CONTEXT_CONTROL_INV_TR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONTEXT_CONTROL_INV_TR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x22]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	bl	_safexcel_add_rdesc
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x21, x0
	ldr	x8, [x20]
	add	x1, x8, w19, sxtw #2
	mov	x0, x20
	bl	_safexcel_ring_rollback_wptr
	mov	x0, x21
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_safexcel_rdr_req_set
	mov	w0, #0
LBB0_5:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIP197_TYPE_EXTENDED,4,2       ; @EIP197_TYPE_EXTENDED
	.comm	_CONTEXT_CONTROL_INV_TR,4,2     ; @CONTEXT_CONTROL_INV_TR
.subsections_via_symbols
