	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amd64_syscall_ret_flush_l1d_recalc ## -- Begin function amd64_syscall_ret_flush_l1d_recalc
	.p2align	4, 0x90
_amd64_syscall_ret_flush_l1d_recalc:    ## @amd64_syscall_ret_flush_l1d_recalc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cpu_stdext_feature3@GOTPCREL(%rip), %rcx
	movq	_CPUID_STDEXT3_L1D_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rcx), %eax
	movq	_syscall_ret_l1d_flush_mode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	$3, %edx
	jbe	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, (%rcx)
	movl	$1, %edx
	cmpl	$3, %edx
	ja	LBB0_1
LBB0_2:
	movl	%edx, %ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	testl	%eax, %eax
	jne	LBB0_9
LBB0_4:
	movq	_flush_l1d_sw_abi@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	testl	%eax, %eax
	je	LBB0_7
LBB0_9:
	movq	_flush_l1d_hw@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rax
	jmp	LBB0_11
LBB0_7:
	xorl	%eax, %eax
LBB0_11:
	movq	_syscall_ret_l1d_flush@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_cpu_stdext_feature3,4,2        ## @cpu_stdext_feature3
	.comm	_CPUID_STDEXT3_L1D_FLUSH,4,2    ## @CPUID_STDEXT3_L1D_FLUSH
	.comm	_syscall_ret_l1d_flush_mode,4,2 ## @syscall_ret_l1d_flush_mode
	.comm	_syscall_ret_l1d_flush,8,3      ## @syscall_ret_l1d_flush
	.comm	_flush_l1d_hw,8,3               ## @flush_l1d_hw
	.comm	_flush_l1d_sw_abi,8,3           ## @flush_l1d_sw_abi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amd64_syscall_ret_flush_l1d_recalc ; -- Begin function amd64_syscall_ret_flush_l1d_recalc
	.p2align	2
_amd64_syscall_ret_flush_l1d_recalc:    ; @amd64_syscall_ret_flush_l1d_recalc
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cpu_stdext_feature3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_stdext_feature3@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CPUID_STDEXT3_L1D_FLUSH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CPUID_STDEXT3_L1D_FLUSH@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh6:
	adrp	x9, _syscall_ret_l1d_flush_mode@GOTPAGE
Lloh7:
	ldr	x9, [x9, _syscall_ret_l1d_flush_mode@GOTPAGEOFF]
	ldr	w10, [x9]
	cmp	w10, #3
	b.ls	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w10, #1
	str	w10, [x9]
	cmp	w10, #3
	b.hi	LBB0_1
LBB0_2:
	mov	w9, w10
Lloh8:
	adrp	x10, lJTI0_0@PAGE
Lloh9:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
	mov	x8, #0
	b	LBB0_8
LBB0_4:
Lloh10:
	adrp	x9, _flush_l1d_hw@GOTPAGE
Lloh11:
	ldr	x9, [x9, _flush_l1d_hw@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	w8, #0
	csel	x8, xzr, x9, eq
	b	LBB0_8
LBB0_5:
Lloh13:
	adrp	x8, _flush_l1d_sw_abi@GOTPAGE
Lloh14:
	ldr	x8, [x8, _flush_l1d_sw_abi@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x9, _flush_l1d_hw@GOTPAGE
Lloh16:
	ldr	x9, [x9, _flush_l1d_hw@GOTPAGEOFF]
Lloh17:
	adrp	x10, _flush_l1d_sw_abi@GOTPAGE
Lloh18:
	ldr	x10, [x10, _flush_l1d_sw_abi@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
LBB0_7:
	ldr	x8, [x8]
LBB0_8:
Lloh19:
	adrp	x9, _syscall_ret_l1d_flush@GOTPAGE
Lloh20:
	ldr	x9, [x9, _syscall_ret_l1d_flush@GOTPAGEOFF]
Lloh21:
	str	x8, [x9]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
                                        ; -- End function
	.comm	_cpu_stdext_feature3,4,2        ; @cpu_stdext_feature3
	.comm	_CPUID_STDEXT3_L1D_FLUSH,4,2    ; @CPUID_STDEXT3_L1D_FLUSH
	.comm	_syscall_ret_l1d_flush_mode,4,2 ; @syscall_ret_l1d_flush_mode
	.comm	_syscall_ret_l1d_flush,8,3      ; @syscall_ret_l1d_flush
	.comm	_flush_l1d_hw,8,3               ; @flush_l1d_hw
	.comm	_flush_l1d_sw_abi,8,3           ; @flush_l1d_sw_abi
.subsections_via_symbols
