	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cac_tdp_table
_get_cac_tdp_table:                     ## @get_cac_tdp_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
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$188, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	(%r13), %esi
	movl	$188, %edi
	callq	_kzalloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	cmpl	$2, (%r15)
	jg	LBB0_6
## %bb.5:
	movl	44(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 176(%rbx)
	movl	40(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 168(%rbx)
	movl	36(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 160(%rbx)
	movl	32(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 152(%rbx)
	movl	28(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 144(%rbx)
	movl	24(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 136(%rbx)
	movl	20(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 128(%rbx)
	movl	16(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 120(%rbx)
	movl	12(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 112(%rbx)
	movl	12(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 104(%rbx)
	movl	8(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 96(%rbx)
	movl	4(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 88(%rbx)
	movl	(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 80(%rbx)
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_6:
	movl	96(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 176(%rbx)
	movl	92(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 168(%rbx)
	movl	88(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 160(%rbx)
	movl	84(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 152(%rbx)
	movl	80(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 144(%rbx)
	movl	76(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 136(%rbx)
	movl	72(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 128(%rbx)
	movl	68(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 120(%rbx)
	movl	64(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 112(%rbx)
	movl	64(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 104(%rbx)
	movl	60(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 96(%rbx)
	movl	56(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 88(%rbx)
	movl	52(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 80(%rbx)
	movl	48(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 72(%rbx)
	movl	44(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 64(%rbx)
	movl	40(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 56(%rbx)
	movl	36(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 48(%rbx)
	movl	32(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 40(%rbx)
	movl	28(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 32(%rbx)
	movl	24(%r15), %eax
	movl	%eax, 24(%rbx)
	movl	20(%r15), %eax
	movl	%eax, 20(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 16(%rbx)
	movups	(%r15), %xmm0
	movups	%xmm0, (%rbx)
LBB0_7:
	movq	%rbx, (%r14)
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_get_cac_tdp_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_tdp_table
_get_cac_tdp_table:                     ; @get_cac_tdp_table
	.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	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #188
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w1, [x23]
	mov	w0, #188
	bl	_kzalloc
	str	x0, [x22]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x21]
	cmp	w8, #2
	b.gt	LBB0_6
; %bb.3:
	ldr	w0, [x21, #44]
	bl	_le16_to_cpu
	str	x0, [x20, #176]
	ldr	w0, [x21, #40]
	bl	_le16_to_cpu
	str	x0, [x20, #168]
	ldr	w0, [x21, #36]
	bl	_le16_to_cpu
	str	x0, [x20, #160]
	ldr	w0, [x21, #32]
	bl	_le16_to_cpu
	str	x0, [x20, #152]
	ldr	w0, [x21, #28]
	bl	_le16_to_cpu
	str	x0, [x20, #144]
	ldr	w0, [x21, #24]
	bl	_le16_to_cpu
	str	x0, [x20, #136]
	ldr	w0, [x21, #20]
	bl	_le16_to_cpu
	str	x0, [x20, #128]
	ldr	w0, [x21, #16]
	bl	_le16_to_cpu
	str	x0, [x20, #120]
	ldr	w0, [x21, #12]
	bl	_le16_to_cpu
	str	x0, [x20, #112]
	ldr	w0, [x21, #12]
	bl	_le16_to_cpu
	str	x0, [x20, #104]
	ldr	w0, [x21, #8]
	bl	_le16_to_cpu
	str	x0, [x20, #96]
	ldr	w0, [x21, #4]
	bl	_le16_to_cpu
	str	x0, [x20, #88]
	ldr	w0, [x21]
	bl	_le16_to_cpu
	str	x0, [x20, #80]
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_kfree
LBB0_5:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_6:
	ldr	w0, [x21, #96]
	bl	_le16_to_cpu
	str	x0, [x20, #176]
	ldr	w0, [x21, #92]
	bl	_le16_to_cpu
	str	x0, [x20, #168]
	ldr	w0, [x21, #88]
	bl	_le16_to_cpu
	str	x0, [x20, #160]
	ldr	w0, [x21, #84]
	bl	_le16_to_cpu
	str	x0, [x20, #152]
	ldr	w0, [x21, #80]
	bl	_le16_to_cpu
	str	x0, [x20, #144]
	ldr	w0, [x21, #76]
	bl	_le16_to_cpu
	str	x0, [x20, #136]
	ldr	w0, [x21, #72]
	bl	_le16_to_cpu
	str	x0, [x20, #128]
	ldr	w0, [x21, #68]
	bl	_le16_to_cpu
	str	x0, [x20, #120]
	ldr	w0, [x21, #64]
	bl	_le16_to_cpu
	str	x0, [x20, #112]
	ldr	w0, [x21, #64]
	bl	_le16_to_cpu
	str	x0, [x20, #104]
	ldr	w0, [x21, #60]
	bl	_le16_to_cpu
	str	x0, [x20, #96]
	ldr	w0, [x21, #56]
	bl	_le16_to_cpu
	str	x0, [x20, #88]
	ldr	w0, [x21, #52]
	bl	_le16_to_cpu
	str	x0, [x20, #80]
	ldr	w0, [x21, #48]
	bl	_le16_to_cpu
	str	x0, [x20, #72]
	ldr	w0, [x21, #44]
	bl	_le16_to_cpu
	str	x0, [x20, #64]
	ldr	w0, [x21, #40]
	bl	_le16_to_cpu
	str	x0, [x20, #56]
	ldr	w0, [x21, #36]
	bl	_le16_to_cpu
	str	x0, [x20, #48]
	ldr	w0, [x21, #32]
	bl	_le16_to_cpu
	str	x0, [x20, #40]
	ldr	w0, [x21, #28]
	bl	_le16_to_cpu
	str	x0, [x20, #32]
	ldr	w8, [x21, #24]
	str	w8, [x20, #24]
	ldr	d0, [x21, #16]
	str	d0, [x20, #16]
	ldr	q0, [x21]
	str	q0, [x20]
LBB0_7:
	mov	w0, #0
	str	x20, [x19]
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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_get_cac_tdp_table
.subsections_via_symbols
