	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdc_rx_buf_pool_create
_pdc_rx_buf_pool_create:                ## @pdc_rx_buf_pool_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rsi
	movl	16(%rdi), %edx
	movl	%edx, 4(%rdi)
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_BCM_HDR_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	movl	%edx, 4(%rbx)
LBB0_2:
	movq	_RX_BUF_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%r8d, %r8d
	callq	_dma_pool_create
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_PDC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_5
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCM_HDR_LEN,8,3                ## @BCM_HDR_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pdc rx bufs"

	.comm	_RX_BUF_ALIGN,4,2               ## @RX_BUF_ALIGN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PDC_SUCCESS,4,2                ## @PDC_SUCCESS
	.no_dead_strip	_pdc_rx_buf_pool_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdc_rx_buf_pool_create
_pdc_rx_buf_pool_create:                ; @pdc_rx_buf_pool_create
	.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	x1, [x0, #24]
	ldr	w2, [x0, #16]
	str	w2, [x0, #4]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BCM_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCM_HDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w2, w2, w8
	str	w2, [x19, #4]
LBB0_2:
Lloh3:
	adrp	x8, _RX_BUF_ALIGN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_BUF_ALIGN@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	w4, #0
	bl	_dma_pool_create
	str	w0, [x19]
Lloh8:
	adrp	x8, _PDC_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PDC_SUCCESS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w0, #0
	csneg	w0, w8, w9, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BCM_HDR_LEN,8,3                ; @BCM_HDR_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pdc rx bufs"

	.comm	_RX_BUF_ALIGN,4,2               ; @RX_BUF_ALIGN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PDC_SUCCESS,4,2                ; @PDC_SUCCESS
	.no_dead_strip	_pdc_rx_buf_pool_create
.subsections_via_symbols
