	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netdrv_init_ring
_netdrv_init_ring:                      ## @netdrv_init_ring
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DPRINTK
	movq	$0, 32(%rbx)
	leaq	28(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	24(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	_NUM_TX_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_7
## %bb.1:
	movq	_TX_BUF_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r8
	cmpl	$1, %r9d
	jne	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_3:
	movl	%r9d, %r14d
	andl	$-2, %r14d
	leaq	(,%r8,4), %r10
	leaq	(,%r8,8), %r11
	xorl	%ecx, %ecx
	xorps	%xmm0, %xmm0
	xorl	%edi, %edi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movups	%xmm0, (%rax,%rdi)
	movq	(%rbx), %rax
	addq	%rcx, %rax
	movq	8(%rbx), %rsi
	movq	%rax, (%rsi,%rdx,8)
	movq	16(%rbx), %rax
	movups	%xmm0, 16(%rax,%rdi)
	movq	(%rbx), %rax
	addq	%r10, %rax
	addq	%rcx, %rax
	movq	8(%rbx), %rsi
	movq	%rax, 8(%rsi,%rdx,8)
	addq	$2, %rdx
	addq	$32, %rdi
	addq	%r11, %rcx
	cmpq	%rdx, %r14
	jne	LBB0_4
LBB0_5:
	testb	$1, %r9b
	je	LBB0_7
## %bb.6:
	movq	16(%rbx), %rax
	movq	%rdx, %rcx
	shlq	$4, %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax,%rcx)
	imulq	%rdx, %r8
	shlq	$2, %r8
	addq	(%rbx), %r8
	movq	8(%rbx), %rax
	movq	%r8, (%rax,%rdx,8)
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DPRINTK                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ENTER\n"

	.comm	_NUM_TX_DESC,4,2                ## @NUM_TX_DESC
	.comm	_TX_BUF_SIZE,4,2                ## @TX_BUF_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"EXIT\n"

	.no_dead_strip	_netdrv_init_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netdrv_init_ring
_netdrv_init_ring:                      ; @netdrv_init_ring
	.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
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTK
	str	xzr, [x19, #32]
	add	x0, x19, #28
	mov	w1, #0
	bl	_atomic_set
	add	x0, x19, #24
	mov	w1, #0
	bl	_atomic_set
Lloh2:
	adrp	x8, _NUM_TX_DESC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NUM_TX_DESC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
Lloh5:
	adrp	x10, _TX_BUF_SIZE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TX_BUF_SIZE@GOTPAGEOFF]
Lloh7:
	ldrsw	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, #16]
	add	x11, x11, x9, lsl #4
	stp	xzr, xzr, [x11]
	mul	x11, x9, x10
	ldp	x12, x13, [x19]
	add	x11, x12, x11, lsl #2
	str	x11, [x13, x9, lsl #3]
	add	x9, x9, #1
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DPRINTK
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ENTER\n"

	.comm	_NUM_TX_DESC,4,2                ; @NUM_TX_DESC
	.comm	_TX_BUF_SIZE,4,2                ; @TX_BUF_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"EXIT\n"

	.no_dead_strip	_netdrv_init_ring
.subsections_via_symbols
