	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_all_up
_sky2_all_up:                           ## @sky2_all_up
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_Y2_IS_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	cmpl	$0, (%rdi)
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %r13
	movq	%r13, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_sky2_hw_up
	movq	%r13, %rdi
	callq	_sky2_set_multicast
	movq	_portirq_msk@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orl	(%rax,%rbx,4), %r14d
	movq	%r13, %rdi
	callq	_netif_wake_queue
	jmp	LBB0_4
LBB0_5:
	movq	_SKY2_HW_IRQ_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_6
## %bb.7:
	movq	_B0_IMSK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_sky2_write32
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_sky2_read32
	movq	_B0_Y2_SP_LISR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sky2_read32
	addq	$8, %r15
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_napi_enable                    ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Y2_IS_BASE,4,2                 ## @Y2_IS_BASE
	.comm	_portirq_msk,8,3                ## @portirq_msk
	.comm	_SKY2_HW_IRQ_SETUP,4,2          ## @SKY2_HW_IRQ_SETUP
	.comm	_B0_IMSK,4,2                    ## @B0_IMSK
	.comm	_B0_Y2_SP_LISR,4,2              ## @B0_Y2_SP_LISR
	.no_dead_strip	_sky2_all_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_all_up
_sky2_all_up:                           ; @sky2_all_up
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _Y2_IS_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Y2_IS_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x23, #0
Lloh3:
	adrp	x24, _portirq_msk@GOTPAGE
Lloh4:
	ldr	x24, [x24, _portirq_msk@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x21, [x8, x23, lsl #3]
	mov	x0, x21
	bl	_netdev_priv
	mov	x22, x0
	mov	x0, x21
	bl	_netif_running
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_sky2_hw_up
	mov	x0, x21
	bl	_sky2_set_multicast
	ldr	x8, [x24]
	ldr	w8, [x8, x23, lsl #2]
	orr	w20, w8, w20
	mov	x0, x21
	bl	_netif_wake_queue
	b	LBB0_2
LBB0_5:
	ldr	w8, [x19, #4]
Lloh5:
	adrp	x9, _SKY2_HW_IRQ_SETUP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SKY2_HW_IRQ_SETUP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh8:
	adrp	x21, _B0_IMSK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _B0_IMSK@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_sky2_write32
	ldr	w1, [x21]
	mov	x0, x19
	bl	_sky2_read32
Lloh10:
	adrp	x8, _B0_Y2_SP_LISR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _B0_Y2_SP_LISR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sky2_read32
	add	x0, x19, #8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_napi_enable
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_Y2_IS_BASE,4,2                 ; @Y2_IS_BASE
	.comm	_portirq_msk,8,3                ; @portirq_msk
	.comm	_SKY2_HW_IRQ_SETUP,4,2          ; @SKY2_HW_IRQ_SETUP
	.comm	_B0_IMSK,4,2                    ; @B0_IMSK
	.comm	_B0_Y2_SP_LISR,4,2              ; @B0_Y2_SP_LISR
	.no_dead_strip	_sky2_all_up
.subsections_via_symbols
