	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rxq_init
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	3                               ## 0x3
	.quad	3                               ## 0x3
LCPI0_2:
	.quad	34359738360                     ## 0x7fffffff8
	.quad	34359738360                     ## 0x7fffffff8
LCPI0_3:
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rxq_init:                              ## @rxq_init
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	24(%rdi), %r13
	movslq	%esi, %rax
	movq	%rax, %r15
	shlq	$6, %r15
	movl	%eax, (%r13,%r15)
	movl	(%rdi), %r12d
	movl	%r12d, 4(%r13,%r15)
	shll	$3, %r12d
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 40(%r13,%r15)
	movq	$0, 56(%r13,%r15)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	4(%rbx), %esi
	cmpl	%esi, %r12d
	jle	LBB0_2
LBB0_3:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	leaq	(%r15,%r13), %rdx
	addq	$16, %rdx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %esi
	callq	_dma_alloc_coherent
	movq	%rax, 24(%r13,%r15)
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	leaq	(%r15,%r13), %r14
	addq	$4, %r14
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
	movl	%r12d, 8(%r13,%r15)
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 32(%r13,%r15)
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_20
## %bb.8:
	movq	20(%rcx), %rcx
	movq	16(%r13,%r15), %r8
	cmpl	$4, %eax
	jae	LBB0_10
## %bb.9:
	xorl	%esi, %esi
	jmp	LBB0_13
LBB0_15:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_18
## %bb.16:
	cmpl	4(%rax), %r12d
	jle	LBB0_17
LBB0_18:
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movq	20(%rcx), %rdx
	movq	16(%r13,%r15), %rcx
	movl	%r12d, %esi
	callq	_dma_free_coherent
	jmp	LBB0_19
LBB0_2:
	movq	16(%rbx), %rdi
	callq	_ioremap
	movq	%rax, 24(%r13,%r15)
	movq	16(%rbx), %rcx
	movq	%rcx, 16(%r13,%r15)
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_netdev_err
LBB0_19:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_20
LBB0_10:
	movl	%eax, %esi
	andl	$-4, %esi
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movq	%r8, %xmm1
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	leaq	(,%rax,8), %rdi
	andq	$-32, %rdi
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%ebx, %ebx
	pcmpeqd	%xmm8, %xmm8
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [3,3]
	movdqa	LCPI0_2(%rip), %xmm5            ## xmm5 = [34359738360,34359738360]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [4,4]
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm3, %xmm7
	psubq	%xmm8, %xmm7
	movdqa	%xmm3, %xmm2
	paddq	%xmm9, %xmm2
	movdqa	%xmm7, %xmm4
	psllq	$3, %xmm4
	movdqa	%xmm2, %xmm6
	psllq	$3, %xmm6
	pcmpeqq	%xmm0, %xmm7
	pandn	%xmm4, %xmm7
	pcmpeqq	%xmm0, %xmm2
	pandn	%xmm6, %xmm2
	pand	%xmm5, %xmm7
	pand	%xmm5, %xmm2
	paddq	%xmm1, %xmm7
	paddq	%xmm1, %xmm2
	movdqu	%xmm7, (%rcx,%rbx)
	movdqu	%xmm2, 16(%rcx,%rbx)
	paddq	%xmm10, %xmm3
	addq	$32, %rbx
	cmpq	%rbx, %rdi
	jne	LBB0_11
## %bb.12:
	xorl	%ebx, %ebx
	cmpq	%rax, %rsi
	je	LBB0_20
LBB0_13:
	leaq	8(,%rsi,8), %rdi
	subq	%rsi, %rax
	movabsq	$34359738360, %r9               ## imm = 0x7FFFFFFF8
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rdx
	andq	%r9, %rdx
	xorl	%ebx, %ebx
	cmpq	$1, %rax
	movl	$0, %esi
	cmovneq	%rdx, %rsi
	addq	%r8, %rsi
	movq	%rsi, -8(%rcx,%rdi)
	addq	$8, %rdi
	decq	%rax
	jne	LBB0_14
LBB0_20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	20(%rcx), %rdi
	callq	_iounmap
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't allocate rx ring (%d bytes)\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_rxq_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function rxq_init
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rxq_init:                              ; @rxq_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x20, x0
	ldr	x22, [x0, #24]
	sxtw	x23, w21
	add	x26, x22, x23, lsl #6
	str	w1, [x26]
	ldr	w8, [x0]
	mov	x24, x26
	str	w8, [x24, #4]!
	lsl	w19, w8, #3
	stp	xzr, xzr, [x26, #48]
	str	xzr, [x26, #40]
Lloh0:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	cbnz	w1, LBB0_2
; %bb.1:
	ldr	w1, [x20, #4]
	cmp	w19, w1
	b.le	LBB0_10
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	add	x2, x26, #16
	ldr	w3, [x25]
	mov	x1, x19
	bl	_dma_alloc_coherent
	str	x0, [x26, #24]
	cbz	x0, LBB0_11
LBB0_3:
	add	x27, x22, x23, lsl #6
	add	x26, x27, #24
	mov	w1, #0
	mov	x2, x19
	bl	_memset
	str	w19, [x27, #8]
	ldr	w0, [x24]
	ldr	w2, [x25]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x27, #32]
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w10, [x24]
	cmp	w10, #1
	b.lt	LBB0_18
; %bb.5:
	ldr	x8, [x26]
	add	x9, x22, x23, lsl #6
	ldr	x9, [x9, #16]
	cmp	w10, #8
	b.hs	LBB0_13
; %bb.6:
	mov	x11, #0
	b	LBB0_16
LBB0_7:
	cbnz	w21, LBB0_9
; %bb.8:
	ldr	w8, [x20, #4]
	cmp	w19, w8
	b.le	LBB0_20
LBB0_9:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	x2, [x26]
	add	x8, x22, x23, lsl #6
	ldr	x3, [x8, #16]
	mov	x1, x19
	bl	_dma_free_coherent
	b	LBB0_12
LBB0_10:
	ldr	x0, [x20, #16]
	bl	_ioremap
	ldr	x8, [x20, #16]
	add	x9, x22, x23, lsl #6
	stp	x8, x0, [x9, #16]
	cbnz	x0, LBB0_3
LBB0_11:
	ldr	x0, [x20, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_netdev_err
LBB0_12:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_13:
	and	x11, x10, #0xfffffff8
	dup.2d	v0, x10
	dup.2d	v1, x9
Lloh7:
	adrp	x12, lCPI0_0@PAGE
Lloh8:
	ldr	q2, [x12, lCPI0_0@PAGEOFF]
	add	x12, x8, #32
	mov	w13, #1
	dup.2d	v3, x13
	mov	w13, #3
	dup.2d	v4, x13
	mov	w13, #5
	dup.2d	v5, x13
	mov	w13, #7
	dup.2d	v6, x13
	mov	x13, #34359738360
	dup.2d	v7, x13
	mov	w13, #8
	dup.2d	v16, x13
	mov	x13, x11
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add.2d	v17, v2, v3
	add.2d	v18, v2, v4
	add.2d	v19, v2, v5
	add.2d	v20, v2, v6
	cmeq.2d	v21, v17, v0
	cmeq.2d	v22, v18, v0
	cmeq.2d	v23, v19, v0
	cmeq.2d	v24, v20, v0
	shl.2d	v17, v17, #3
	shl.2d	v18, v18, #3
	shl.2d	v19, v19, #3
	shl.2d	v20, v20, #3
	bic.16b	v17, v17, v21
	bic.16b	v18, v18, v22
	bic.16b	v19, v19, v23
	bic.16b	v20, v20, v24
	and.16b	v17, v17, v7
	and.16b	v18, v18, v7
	and.16b	v19, v19, v7
	and.16b	v20, v20, v7
	add.2d	v17, v1, v17
	add.2d	v18, v1, v18
	add.2d	v19, v1, v19
	add.2d	v20, v1, v20
	stp	q17, q18, [x12, #-32]
	stp	q19, q20, [x12], #64
	add.2d	v2, v2, v16
	subs	x13, x13, #8
	b.ne	LBB0_14
; %bb.15:
	cmp	x11, x10
	b.eq	LBB0_18
LBB0_16:
	lsl	x12, x11, #3
	sub	x10, x10, x11
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	x11, x12, #8
	and	x13, x11, #0x7fffffff8
	subs	x10, x10, #1
	csel	x13, xzr, x13, eq
	add	x13, x9, x13
	str	x13, [x8, x12]
	mov	x12, x11
	cbnz	x10, LBB0_17
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
	ldr	x0, [x26]
	bl	_iounmap
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdr	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't allocate rx ring (%d bytes)\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_rxq_init
.subsections_via_symbols
