	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_cesa_dev_dma_init
_mv_cesa_dev_dma_init:                  ## @mv_cesa_dev_dma_init
	.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	8(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	movq	16(%rdi), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r12, %rsi
	movl	$4, %edx
	movl	$16, %ecx
	xorl	%r8d, %r8d
	callq	_dmam_pool_create
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r12, %rsi
	movl	$4, %edx
	movl	$16, %ecx
	xorl	%r8d, %r8d
	callq	_dmam_pool_create
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_CESA_MAX_HASH_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r12, %rsi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_dmam_pool_create
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r12, %rsi
	movl	$72, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_dmam_pool_create
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%r15, (%r14)
	jmp	LBB0_11
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_10:
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tdma_desc"

L_.str.1:                               ## @.str.1
	.asciz	"cesa_op"

L_.str.2:                               ## @.str.2
	.asciz	"cesa_cache"

	.comm	_CESA_MAX_HASH_BLOCK_SIZE,4,2   ## @CESA_MAX_HASH_BLOCK_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"cesa_padding"

	.no_dead_strip	_mv_cesa_dev_dma_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_cesa_dev_dma_init
_mv_cesa_dev_dma_init:                  ; @mv_cesa_dev_dma_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	w2, #4
	mov	w3, #16
	mov	w4, #0
	bl	_dmam_pool_create
	str	x0, [x21, #24]
	cbz	x0, LBB0_7
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	w2, #4
	mov	w3, #16
	mov	w4, #0
	bl	_dmam_pool_create
	str	x0, [x21, #16]
	cbz	x0, LBB0_7
; %bb.4:
Lloh7:
	adrp	x8, _CESA_MAX_HASH_BLOCK_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CESA_MAX_HASH_BLOCK_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	mov	w3, #1
	mov	w4, #0
	bl	_dmam_pool_create
	str	x0, [x21, #8]
	cbz	x0, LBB0_7
; %bb.5:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	mov	w2, #72
	mov	w3, #1
	mov	w4, #0
	bl	_dmam_pool_create
	str	x0, [x21]
	cbz	x0, LBB0_7
; %bb.6:
	mov	w0, #0
	str	x21, [x19]
	b	LBB0_9
LBB0_7:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tdma_desc"

l_.str.1:                               ; @.str.1
	.asciz	"cesa_op"

l_.str.2:                               ; @.str.2
	.asciz	"cesa_cache"

	.comm	_CESA_MAX_HASH_BLOCK_SIZE,4,2   ; @CESA_MAX_HASH_BLOCK_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"cesa_padding"

	.no_dead_strip	_mv_cesa_dev_dma_init
.subsections_via_symbols
