	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cs_hsi_data_enable
_cs_hsi_data_enable:                    ## @cs_hsi_data_enable
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r12
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	sete	%dil
	callq	_BUG_ON
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r12, %rdi
	callq	_set_buffer_sizes
	movl	(%r12), %edi
	callq	_L1_CACHE_ALIGN
	movl	%eax, 8(%r12)
	movq	40(%r12), %rdi
	movl	(%r12), %ecx
	movq	_L1_CACHE_BYTES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$32, %edi
	callq	_L1_CACHE_ALIGN
	movq	%rax, %r14
	movq	40(%r12), %rdi
	movl	(%rbx), %r8d
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	$32, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	48(%r12), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	leaq	L_.str.2(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %ecx
	imull	%ebx, %ecx
	addl	%r14d, %ecx
	movq	16(%r12), %rdx
	movl	%ecx, (%rdx,%rbx,4)
	movq	8(%rax), %rax
	movl	%ecx, (%rax,%rbx,4)
	movq	40(%r12), %rdi
	movl	(%rdx,%rbx,4), %ecx
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	incq	%rbx
	movq	48(%r12), %rax
	movl	(%rax), %ecx
	cmpq	%rcx, %rbx
	jb	LBB0_2
LBB0_3:
	cmpl	$0, 16(%rax)
	je	LBB0_6
## %bb.4:
	leaq	L_.str.3(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %ecx
	addl	%ebx, %ecx
	imull	8(%r12), %ecx
	addl	%r14d, %ecx
	movq	24(%r12), %rdx
	movl	%ecx, (%rdx,%rbx,4)
	movq	24(%rax), %rax
	movl	%ecx, (%rax,%rbx,4)
	movq	16(%r12), %rax
	movq	40(%r12), %rdi
	movl	(%rax,%rbx,4), %ecx
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	incq	%rbx
	movq	48(%r12), %rax
	movl	16(%rax), %ecx
	cmpq	%rcx, %rbx
	jb	LBB0_5
LBB0_6:
	movq	_CS_STATE_CONFIGURED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting slot size to %u, buf size %u, align %u\n"

	.comm	_L1_CACHE_BYTES,4,2             ## @L1_CACHE_BYTES
L_.str.1:                               ## @.str.1
	.asciz	"setting data start at %u, cfg block %u, align %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"DL buf #%u at %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"UL buf #%u at %u\n"

	.comm	_CS_STATE_CONFIGURED,4,2        ## @CS_STATE_CONFIGURED
	.no_dead_strip	_cs_hsi_data_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cs_hsi_data_enable
_cs_hsi_data_enable:                    ; @cs_hsi_data_enable
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	ldp	w2, w1, [x20]
	mov	x0, x19
	bl	_set_buffer_sizes
	ldr	w0, [x19]
	bl	_L1_CACHE_ALIGN
	mov	x2, x0
	str	w2, [x19, #8]
	ldr	x0, [x19, #40]
	ldr	w3, [x19]
Lloh0:
	adrp	x21, _L1_CACHE_BYTES@GOTPAGE
Lloh1:
	ldr	x21, [x21, _L1_CACHE_BYTES@GOTPAGEOFF]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_dbg
	mov	w0, #32
	bl	_L1_CACHE_ALIGN
	mov	x20, x0
	ldr	x0, [x19, #40]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	mov	w3, #32
	bl	_dev_dbg
	ldr	x8, [x19, #48]
	ldr	w9, [x8]
	cbz	w9, LBB0_3
; %bb.1:
	mov	x21, #0
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, #8]
	madd	w9, w9, w21, w20
	ldr	x10, [x19, #16]
	lsl	x11, x21, #2
	str	w9, [x10, x11]
	ldr	x8, [x8, #8]
	str	w9, [x8, x11]
	ldr	x0, [x19, #40]
	ldr	w3, [x10, x11]
	mov	x1, x22
	mov	x2, x21
	bl	_dev_dbg
	add	x21, x21, #1
	ldr	x8, [x19, #48]
	ldr	w9, [x8]
	cmp	x21, x9
	b.lo	LBB0_2
LBB0_3:
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_6
; %bb.4:
	mov	x21, #0
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8]
	add	w9, w21, w9
	ldr	w10, [x19, #8]
	madd	w9, w9, w10, w20
	lsl	x10, x21, #2
	ldp	x12, x11, [x19, #16]
	str	w9, [x11, x10]
	ldr	x8, [x8, #24]
	str	w9, [x8, x10]
	ldr	x0, [x19, #40]
	ldr	w3, [x12, x10]
	mov	x1, x22
	mov	x2, x21
	bl	_dev_dbg
	add	x21, x21, #1
	ldr	x8, [x19, #48]
	ldr	w9, [x8, #16]
	cmp	x21, x9
	b.lo	LBB0_5
LBB0_6:
Lloh10:
	adrp	x8, _CS_STATE_CONFIGURED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CS_STATE_CONFIGURED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting slot size to %u, buf size %u, align %u\n"

	.comm	_L1_CACHE_BYTES,4,2             ; @L1_CACHE_BYTES
l_.str.1:                               ; @.str.1
	.asciz	"setting data start at %u, cfg block %u, align %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"DL buf #%u at %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"UL buf #%u at %u\n"

	.comm	_CS_STATE_CONFIGURED,4,2        ; @CS_STATE_CONFIGURED
	.no_dead_strip	_cs_hsi_data_enable
.subsections_via_symbols
