	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_edma_dec_irq_alloc
_dw_edma_dec_irq_alloc:                 ## @dw_edma_dec_irq_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	(%rsi), %rcx
	cmpq	%rdx, %rcx
	jge	LBB0_3
## %bb.2:
	incq	%rcx
	movq	%rcx, (%rsi)
	decl	%eax
	movl	%eax, (%rdi)
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dw_edma_dec_irq_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_edma_dec_irq_alloc
_dw_edma_dec_irq_alloc:                 ; @dw_edma_dec_irq_alloc
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x9, [x1]
	cmp	x9, x2
	b.ge	LBB0_3
; %bb.2:
	add	x9, x9, #1
	str	x9, [x1]
	sub	w8, w8, #1
	str	w8, [x0]
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dw_edma_dec_irq_alloc
.subsections_via_symbols
