	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_cesa_put_sram
_mv_cesa_put_sram:                      ## @mv_cesa_put_sram
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_platform_get_drvdata
	movq	8(%rax), %rcx
	movslq	%ebx, %rdx
	leaq	(%rdx,%rdx,2), %rsi
	movq	16(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	8(%rcx,%rsi,8), %rsi
	movl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_gen_pool_free                  ## TAILCALL
LBB0_2:
	movl	(%rax), %edx
	movl	4(%rax), %edi
	movl	(%rcx,%rsi,8), %esi
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dma_unmap_resource             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.no_dead_strip	_mv_cesa_put_sram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_cesa_put_sram
_mv_cesa_put_sram:                      ; @mv_cesa_put_sram
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_platform_get_drvdata
	ldr	x9, [x0, #8]
	sxtw	x10, w19
	mov	w8, #24
	smaddl	x8, w19, w8, x9
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w11, #24
	madd	x9, x10, x11, x9
	ldr	x1, [x9, #8]
	ldr	w2, [x0]
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gen_pool_free
LBB0_2:
	mov	w8, #24
	mul	x8, x10, x8
	ldr	w1, [x9, x8]
	ldp	w2, w8, [x0]
Lloh0:
	adrp	x9, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
	mov	x0, x8
	mov	w4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dma_unmap_resource
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.no_dead_strip	_mv_cesa_put_sram
.subsections_via_symbols
