	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e100_rx_alloc_list
_e100_rx_alloc_list:                    ## @e100_rx_alloc_list
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	36(%rdi), %r14d
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rdi)
	movq	_RU_UNINITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	$32, %esi
	callq	_kcalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_12
## %bb.2:
	addq	$32, %rbx
	movl	%r14d, %r12d
	negl	%r12d
	movl	$1, %r13d
	movq	%r14, %rax
	shlq	$5, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rax
	cmpl	%r14d, %r13d
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	-32(%rbx), %rsi
	movq	%rax, -8(%rbx)
	movq	%rsi, %rax
	cmpl	$1, %r13d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	addq	-48(%rbp), %rax                 ## 8-byte Folded Reload
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$-32, %rax
	movq	%rax, -16(%rbx)
	movq	%r15, %rdi
	callq	_e100_rx_alloc_skb
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$32, %rbx
	leal	(%r12,%r13), %eax
	incl	%eax
	movl	%r13d, %ecx
	incl	%ecx
	movl	%ecx, %r13d
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.11:
	movq	8(%r15), %rbx
LBB0_12:
	movq	16(%rbx), %rax
	movq	16(%rax), %r14
	movq	8(%r14), %rax
	movq	(%rax), %rbx
	movq	_cb_el@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	orl	%eax, 8(%rbx)
	movq	$0, (%rbx)
	movl	32(%r15), %edi
	movl	(%r14), %esi
	movq	_PCI_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$16, %edx
	callq	_pci_dma_sync_single_for_device
	movq	8(%r15), %rax
	movq	%rax, 16(%r15)
	movq	%rax, 24(%r15)
	movq	_RU_SUSPENDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_9:
	movq	%r15, %rdi
	callq	_e100_rx_clean_list
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RU_UNINITIALIZED,4,2           ## @RU_UNINITIALIZED
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_cb_el,4,2                      ## @cb_el
	.comm	_PCI_DMA_BIDIRECTIONAL,4,2      ## @PCI_DMA_BIDIRECTIONAL
	.comm	_RU_SUSPENDED,4,2               ## @RU_SUSPENDED
	.no_dead_strip	_e100_rx_alloc_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e100_rx_alloc_list
_e100_rx_alloc_list:                    ; @e100_rx_alloc_list
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w20, [x0, #36]
Lloh0:
	adrp	x8, _RU_UNINITIALIZED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RU_UNINITIALIZED@GOTPAGEOFF]
	stp	xzr, xzr, [x0, #16]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #32
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_12
; %bb.1:
	cbz	w20, LBB0_10
; %bb.2:
	mov	w8, #0
	add	x21, x0, #32
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x1, x21, #32
	add	w22, w8, #1
	mov	x9, x21
	cmp	w22, w20
	b.lo	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #8]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	stur	x9, [x21, #-8]
	mov	x9, x1
	cbnz	w8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	add	x9, x8, x20, lsl #5
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x9, #32
	stur	x8, [x21, #-16]
	mov	x0, x19
	bl	_e100_rx_alloc_skb
	cbnz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #32
	mov	x8, x22
	cmp	w20, w22
	b.ne	LBB0_3
; %bb.9:
	ldr	x0, [x19, #8]
LBB0_10:
	ldr	x8, [x0, #16]
	ldr	x20, [x8, #16]
	ldr	x8, [x20, #8]
	ldr	x21, [x8]
Lloh6:
	adrp	x8, _cb_el@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cb_el@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [x21, #8]
	orr	w8, w8, w0
	str	w8, [x21, #8]
	str	xzr, [x21]
	ldr	w0, [x19, #32]
	ldr	w1, [x20]
Lloh9:
	adrp	x8, _PCI_DMA_BIDIRECTIONAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCI_DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	w2, #16
	bl	_pci_dma_sync_single_for_device
	mov	w0, #0
	ldr	x8, [x19, #8]
	stp	x8, x8, [x19, #16]
Lloh12:
	adrp	x8, _RU_SUSPENDED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RU_SUSPENDED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	bl	_e100_rx_clean_list
LBB0_12:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RU_UNINITIALIZED,4,2           ; @RU_UNINITIALIZED
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_cb_el,4,2                      ; @cb_el
	.comm	_PCI_DMA_BIDIRECTIONAL,4,2      ; @PCI_DMA_BIDIRECTIONAL
	.comm	_RU_SUSPENDED,4,2               ; @RU_SUSPENDED
	.no_dead_strip	_e100_rx_alloc_list
.subsections_via_symbols
