	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vcap_action2cache
_vcap_action2cache:                     ## @vcap_action2cache
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_vcap_is2@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	xorl	%esi, %esi
	callq	_GENMASK
	movq	(%r15), %rcx
	notq	%rax
	andq	(%rcx), %rax
	orq	8(%r15), %rax
	movq	%rax, (%rcx)
LBB0_2:
	cmpq	$0, 8(%r12)
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	_S2_CACHE_ACTION_DAT@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_ocelot_write_rix
	incq	%rbx
	cmpq	8(%r12), %rbx
	jb	LBB0_4
LBB0_5:
	cmpq	$0, 16(%r12)
	je	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	movq	_S2_CACHE_CNT_DAT@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_ocelot_write_rix
	incq	%rbx
	cmpq	16(%r12), %rbx
	jb	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vcap_is2,24,3                  ## @vcap_is2
	.comm	_S2_CACHE_ACTION_DAT,4,2        ## @S2_CACHE_ACTION_DAT
	.comm	_S2_CACHE_CNT_DAT,4,2           ## @S2_CACHE_CNT_DAT
	.no_dead_strip	_vcap_action2cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vcap_action2cache
_vcap_action2cache:                     ; @vcap_action2cache
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _vcap_is2@GOTPAGE
Lloh1:
	ldr	x22, [x22, _vcap_is2@GOTPAGEOFF]
	ldr	x0, [x22]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w1, #0
	bl	_GENMASK
	ldp	x8, x9, [x19]
	ldr	x10, [x8]
	bic	x10, x10, x0
	orr	x9, x10, x9
	str	x9, [x8]
LBB0_2:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x21, #0
Lloh2:
	adrp	x23, _S2_CACHE_ACTION_DAT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _S2_CACHE_ACTION_DAT@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x1, [x8, x21, lsl #3]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x3, x21
	bl	_ocelot_write_rix
	add	x21, x21, #1
	ldr	x8, [x22, #8]
	cmp	x21, x8
	b.lo	LBB0_4
LBB0_5:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x21, #0
Lloh4:
	adrp	x23, _S2_CACHE_CNT_DAT@GOTPAGE
Lloh5:
	ldr	x23, [x23, _S2_CACHE_CNT_DAT@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x1, [x8, x21, lsl #3]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x3, x21
	bl	_ocelot_write_rix
	add	x21, x21, #1
	ldr	x8, [x22, #16]
	cmp	x21, x8
	b.lo	LBB0_7
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_vcap_is2,24,3                  ; @vcap_is2
	.comm	_S2_CACHE_ACTION_DAT,4,2        ; @S2_CACHE_ACTION_DAT
	.comm	_S2_CACHE_CNT_DAT,4,2           ; @S2_CACHE_CNT_DAT
	.no_dead_strip	_vcap_action2cache
.subsections_via_symbols
