	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1e_init_ring_resources
_atl1e_init_ring_resources:             ## @atl1e_init_ring_resources
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	48(%rdi), %rdi
	addq	24(%rbx), %rdi
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	%rdi, 16(%rbx)
	movl	$32, %esi
	callq	_roundup
	movq	%rax, 16(%rbx)
	leaq	40(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_atl1e_cal_ring_size
	movq	$0, 32(%rbx)
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rwlock_init                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_VLAN_HLEN,8,3                  ## @VLAN_HLEN
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.no_dead_strip	_atl1e_init_ring_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1e_init_ring_resources
_atl1e_init_ring_resources:             ; @atl1e_init_ring_resources
	.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	x8, [x0, #24]
	ldr	x9, [x0, #48]
Lloh0:
	adrp	x10, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x8, x8, x10
Lloh3:
	adrp	x9, _VLAN_HLEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VLAN_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _ETH_FCS_LEN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x8, x8, x9
	add	x0, x8, x10
	str	x0, [x19, #16]
	mov	w1, #32
	bl	_roundup
	str	x0, [x19, #16]
	add	x1, x19, #40
	mov	x0, x19
	bl	_atl1e_cal_ring_size
	str	xzr, [x19, #32]
	str	xzr, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rwlock_init
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_VLAN_HLEN,8,3                  ; @VLAN_HLEN
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.no_dead_strip	_atl1e_init_ring_resources
.subsections_via_symbols
