	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_dl_body_pool_create       ## -- Begin function vsp1_dl_body_pool_create
	.p2align	4, 0x90
_vsp1_dl_body_pool_create:              ## @vsp1_dl_body_pool_create
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$72, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	%r12, 64(%rax)
	movl	%r14d, %eax
	leaq	(%r13,%rax,4), %r13
	movl	%r15d, %ecx
	movq	%r13, %rax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	imulq	%rcx, %rax
	movq	%rax, (%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movl	$72, %esi
	callq	_kcalloc
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	(%r12), %edi
	movq	(%rbx), %rsi
	leaq	32(%rbx), %rdx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_alloc_wc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	leaq	56(%rbx), %rdi
	callq	_spin_lock_init
	movq	%rbx, %r12
	addq	$12, %r12
	movq	%r12, %rdi
	callq	_INIT_LIST_HEAD
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	shlq	$3, %rax
	leaq	(%rax,%rax,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r12d
	xorl	%r14d, %r14d
	movq	%r13, %r15
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%rbx), %rax
	movq	%rbx, 40(%rax,%r14)
	movl	%r12d, 8(%rax,%r14)
	movq	32(%rbx), %rcx
	addq	%r13, %rcx
	movq	%rcx, 32(%rax,%r14)
	movq	16(%rbx), %rcx
	addq	%r13, %rcx
	movq	%rcx, 24(%rax,%r14)
	leaq	(%rax,%r14), %rdi
	addq	$12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	addq	%r15, %r13
	addq	$72, %r14
	cmpq	%r14, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_8
	jmp	LBB0_9
LBB0_3:
	movq	48(%rbx), %rdi
	callq	_kfree
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_5:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$24, %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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_dl_body_pool_create       ; -- Begin function vsp1_dl_body_pool_create
	.p2align	2
_vsp1_dl_body_pool_create:              ; @vsp1_dl_body_pool_create
	.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
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	w0, #72
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.1:
	str	x22, [x19, #64]
	add	x23, x23, w20, uxtw #2
	mov	w24, w21
	mul	x8, x23, x24
	str	x8, [x19]
	ldr	w2, [x25]
	mov	x0, x21
	mov	w1, #72
	bl	_kcalloc
	str	x0, [x19, #48]
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w0, [x22]
	ldr	x1, [x19]
	add	x2, x19, #32
	ldr	w3, [x25]
	bl	_dma_alloc_wc
	str	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.3:
	add	x0, x19, #56
	bl	_spin_lock_init
	add	x22, x19, #12
	mov	x0, x22
	bl	_INIT_LIST_HEAD
	cbz	w21, LBB0_8
; %bb.4:
	mov	x21, #0
	mov	x25, #0
	add	x8, x24, x24, lsl #3
	lsl	x24, x8, #3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	add	x8, x8, x21
	str	x19, [x8, #40]
	str	w20, [x8, #8]
	ldr	x9, [x19, #32]
	add	x9, x25, x9
	ldr	x10, [x19, #16]
	add	x10, x25, x10
	stp	x10, x9, [x8, #24]
	add	x0, x8, #12
	mov	x1, x22
	bl	_list_add_tail
	add	x25, x25, x23
	add	x21, x21, #72
	cmp	x24, x21
	b.ne	LBB0_5
	b	LBB0_8
LBB0_6:
	ldr	x0, [x19, #48]
	bl	_kfree
LBB0_7:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
