	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_init_enet_entries
_fill_init_enet_entries:                ## @fill_init_enet_entries
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	jle	LBB0_9
## %bb.1:
	movq	%rdx, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%r9d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_qe_muram_alloc
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR_VALUE
	testq	%rax, %rax
	jne	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	orq	%r12, %r15
	movl	%ebx, %eax
	movq	_ENET_INIT_PARAM_SNUM_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shlq	%cl, %rax
	orq	%r15, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r14,8)
	incq	%r14
	cmpq	%r14, %r13
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_qe_get_snum
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 16(%rbp)
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_msg_ifup
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_14
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_msg_ifup
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
LBB0_13:
	movl	%ebx, %edi
	callq	_qe_put_snum
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can not get SNUM\n"

L_.str.1:                               ## @.str.1
	.asciz	"Can not allocate DPRAM memory\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENET_INIT_PARAM_SNUM_SHIFT,8,3 ## @ENET_INIT_PARAM_SNUM_SHIFT
	.no_dead_strip	_fill_init_enet_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_init_enet_entries
_fill_init_enet_entries:                ; @fill_init_enet_entries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cmp	x2, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x20, x6
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x27, #0
	mov	w28, w5
Lloh0:
	adrp	x21, _ENET_INIT_PARAM_SNUM_SHIFT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ENET_INIT_PARAM_SNUM_SHIFT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_qe_muram_alloc
	mov	x26, x0
	bl	_IS_ERR_VALUE
	cbnz	x0, LBB0_11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w19
	ldr	x9, [x21]
	lsl	x8, x8, x9
	orr	x9, x26, x28
	orr	x8, x9, x8
	str	x8, [x25, x27, lsl #3]
	add	x27, x27, #1
	cmp	x24, x27
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_qe_get_snum
	mov	x19, x0
	tbnz	w0, #31, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w20, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x27, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, #0
	b	LBB0_3
LBB0_8:
	mov	w19, #0
	b	LBB0_14
LBB0_9:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_netif_msg_ifup
	cbz	x0, LBB0_14
; %bb.10:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_14
LBB0_11:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_netif_msg_ifup
	cbz	x0, LBB0_13
; %bb.12:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
LBB0_13:
	mov	w0, w19
	bl	_qe_put_snum
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can not get SNUM\n"

l_.str.1:                               ; @.str.1
	.asciz	"Can not allocate DPRAM memory\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENET_INIT_PARAM_SNUM_SHIFT,8,3 ; @ENET_INIT_PARAM_SNUM_SHIFT
	.no_dead_strip	_fill_init_enet_entries
.subsections_via_symbols
