	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function allocate_tx
_allocate_tx:                           ## @allocate_tx
	.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	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_mic_dma_hw_ring_dec
	movq	%rax, %r14
	movq	8(%rbx), %r12
	leaq	(%r12,%rax,4), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dma_async_tx_descriptor_init
	movq	_mic_dma_tx_submit_unlock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12,%r14,4)
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mic_dma_tx_submit_unlock,4,2   ## @mic_dma_tx_submit_unlock
	.no_dead_strip	_allocate_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function allocate_tx
_allocate_tx:                           ; @allocate_tx
	.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, x0
	ldr	w0, [x0, #16]
	bl	_mic_dma_hw_ring_dec
	ldr	x8, [x19, #8]
	add	x20, x8, x0, lsl #2
	mov	x0, x20
	mov	x1, x19
	bl	_dma_async_tx_descriptor_init
Lloh0:
	adrp	x8, _mic_dma_tx_submit_unlock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mic_dma_tx_submit_unlock@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mic_dma_tx_submit_unlock,4,2   ; @mic_dma_tx_submit_unlock
	.no_dead_strip	_allocate_tx
.subsections_via_symbols
