	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa_get_channel
_dpaa_get_channel:                      ## @dpaa_get_channel
	.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
	movq	_rx_pool_channel_init@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_rx_pool_channel@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_3
## %bb.1:
	leaq	-12(%rbp), %rdi
	callq	_qman_alloc_pool
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	-12(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_3:
	movq	_rx_pool_channel_init@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	cmovnel	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rx_pool_channel_init,4,2       ## @rx_pool_channel_init
	.comm	_rx_pool_channel,4,2            ## @rx_pool_channel
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_dpaa_get_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa_get_channel
_dpaa_get_channel:                      ; @dpaa_get_channel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x0, _rx_pool_channel_init@GOTPAGE
Lloh1:
	ldr	x0, [x0, _rx_pool_channel_init@GOTPAGEOFF]
	bl	_spin_lock
Lloh2:
	adrp	x19, _rx_pool_channel@GOTPAGE
Lloh3:
	ldr	x19, [x19, _rx_pool_channel@GOTPAGEOFF]
	ldr	w8, [x19]
	cbnz	w8, LBB0_3
; %bb.1:
	add	x0, sp, #12
	bl	_qman_alloc_pool
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_3:
Lloh4:
	adrp	x0, _rx_pool_channel_init@GOTPAGE
Lloh5:
	ldr	x0, [x0, _rx_pool_channel_init@GOTPAGEOFF]
	bl	_spin_unlock
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, #0
	csneg	w0, w8, w9, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_rx_pool_channel_init,4,2       ; @rx_pool_channel_init
	.comm	_rx_pool_channel,4,2            ; @rx_pool_channel
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_dpaa_get_channel
.subsections_via_symbols
