	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cac_leakage_table
_get_cac_leakage_table:                 ## @get_cac_leakage_table
	.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
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.5:
	movq	%rsi, %rbx
	movslq	(%r12), %rdi
	shlq	$4, %rdi
	orq	$8, %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movslq	(%r12), %rax
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	4(%rcx,%rbx), %edi
	callq	_le16_to_cpu
	movq	8(%r13), %rcx
	movq	%rax, 8(%rcx,%rbx,2)
	movq	8(%r12), %rax
	movl	(%rax,%rbx), %edi
	callq	_le32_to_cpu
	movq	8(%r13), %rcx
	movl	%eax, (%rcx,%rbx,2)
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	addq	$20, %rbx
	cmpq	(%r13), %r14
	jae	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	_PHM_PlatformCaps_EVV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phm_cap_enabled
	movq	8(%r12), %rcx
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	16(%rcx,%rbx), %edi
	callq	_le16_to_cpu
	movq	8(%r13), %rcx
	movq	%rax, 32(%rcx,%rbx,2)
	movq	8(%r12), %rax
	movl	12(%rax,%rbx), %edi
	callq	_le16_to_cpu
	movq	8(%r13), %rcx
	movq	%rax, 24(%rcx,%rbx,2)
	movq	8(%r12), %rax
	movl	8(%rax,%rbx), %edi
	callq	_le16_to_cpu
	movq	8(%r13), %rcx
	movq	%rax, 16(%rcx,%rbx,2)
	jmp	LBB0_12
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PHM_PlatformCaps_EVV,4,2       ## @PHM_PlatformCaps_EVV
	.no_dead_strip	_get_cac_leakage_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cac_leakage_table
_get_cac_leakage_table:                 ; @get_cac_leakage_table
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x1, LBB0_10
; %bb.1:
	mov	x21, x0
	cbz	x0, LBB0_10
; %bb.2:
	mov	x20, x2
	cbz	x2, LBB0_10
; %bb.3:
	mov	x19, x1
	ldrsw	x8, [x20]
	mov	w0, #8
	bfi	x0, x8, #4, #60
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_12
; %bb.4:
	mov	x22, x0
	ldrsw	x8, [x20]
	str	x8, [x0]
	cbz	w8, LBB0_11
; %bb.5:
	mov	x23, #0
	mov	x24, #0
	mov	x25, #0
Lloh3:
	adrp	x26, _PHM_PlatformCaps_EVV@GOTPAGE
Lloh4:
	ldr	x26, [x26, _PHM_PlatformCaps_EVV@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x8, #4]
	bl	_le16_to_cpu
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #8]
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x24]
	bl	_le32_to_cpu
	ldr	x8, [x22, #8]
	str	w0, [x8, x23]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #1
	ldr	x8, [x22]
	add	x24, x24, #20
	add	x23, x23, #40
	cmp	x25, x8
	b.hs	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	w1, [x26]
	bl	_phm_cap_enabled
	ldr	x8, [x20, #8]
	add	x8, x8, x24
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x8, #16]
	bl	_le16_to_cpu
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #32]
	ldr	x8, [x20, #8]
	add	x8, x8, x24
	ldr	w0, [x8, #12]
	bl	_le16_to_cpu
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #24]
	ldr	x8, [x20, #8]
	add	x8, x8, x24
	ldr	w0, [x8, #8]
	bl	_le16_to_cpu
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x0, [x8, #16]
	b	LBB0_7
LBB0_10:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	mov	w0, #0
	str	x22, [x19]
	b	LBB0_14
LBB0_12:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PHM_PlatformCaps_EVV,4,2       ; @PHM_PlatformCaps_EVV
	.no_dead_strip	_get_cac_leakage_table
.subsections_via_symbols
