	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioc3_init_rings
_ioc3_init_rings:                       ## @ioc3_init_rings
	.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, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ioc3_free_rings
	movq	%r14, %rdi
	callq	_ioc3_alloc_rings
	movq	%rbx, %rdi
	callq	_ioc3_clean_rx_ring
	movq	%rbx, %rdi
	callq	_ioc3_clean_tx_ring
	movl	28(%rbx), %edi
	xorl	%esi, %esi
	callq	_ioc3_map
	movq	%rax, %r14
	movq	%rax, %rdi
	shrq	$32, %rdi
	callq	_ioc3_w_erbr_h
	movl	%r14d, %edi
	callq	_ioc3_w_erbr_l
	movl	(%rbx), %edi
	shll	$3, %edi
	callq	_ioc3_w_ercir
	movl	4(%rbx), %edi
	shll	$3, %edi
	movq	_ERPIR_ARM@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_ioc3_w_erpir
	movl	24(%rbx), %edi
	xorl	%esi, %esi
	callq	_ioc3_map
	movq	%rax, %r14
	movq	$0, 16(%rbx)
	movq	%rax, %rdi
	shrq	$32, %rdi
	callq	_ioc3_w_etbr_h
	movl	%r14d, %edi
	callq	_ioc3_w_etbr_l
	movl	8(%rbx), %edi
	shll	$7, %edi
	callq	_ioc3_w_etpir
	movl	12(%rbx), %edi
	shll	$7, %edi
	callq	_ioc3_w_etcir
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ioc3_r_etcir                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERPIR_ARM,4,2                  ## @ERPIR_ARM
	.no_dead_strip	_ioc3_init_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioc3_init_rings
_ioc3_init_rings:                       ; @ioc3_init_rings
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	bl	_ioc3_free_rings
	mov	x0, x20
	bl	_ioc3_alloc_rings
	mov	x0, x19
	bl	_ioc3_clean_rx_ring
	mov	x0, x19
	bl	_ioc3_clean_tx_ring
	ldr	w0, [x19, #28]
	mov	w1, #0
	bl	_ioc3_map
	mov	x20, x0
	lsr	x0, x0, #32
	bl	_ioc3_w_erbr_h
	and	x0, x20, #0xffffffff
	bl	_ioc3_w_erbr_l
	ldr	w8, [x19]
	lsl	w0, w8, #3
	bl	_ioc3_w_ercir
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _ERPIR_ARM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ERPIR_ARM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w0, w9, w8, lsl #3
	bl	_ioc3_w_erpir
	ldr	w0, [x19, #24]
	mov	w1, #0
	bl	_ioc3_map
	mov	x20, x0
	str	xzr, [x19, #16]
	lsr	x0, x0, #32
	bl	_ioc3_w_etbr_h
	and	x0, x20, #0xffffffff
	bl	_ioc3_w_etbr_l
	ldr	w8, [x19, #8]
	lsl	w0, w8, #7
	bl	_ioc3_w_etpir
	ldr	w8, [x19, #12]
	lsl	w0, w8, #7
	bl	_ioc3_w_etcir
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ioc3_r_etcir
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERPIR_ARM,4,2                  ; @ERPIR_ARM
	.no_dead_strip	_ioc3_init_rings
.subsections_via_symbols
