	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skge_extirq
_skge_extirq:                           ## @skge_extirq
	.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, %r12
	cmpl	$0, (%rdi)
	jle	LBB0_9
## %bb.1:
	leaq	24(%r12), %r14
	xorl	%ebx, %ebx
	movq	_SK_PHY_BCOM@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_yukon_phy_intr
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_spin_unlock
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %rax
	movq	(%rax,%rbx,8), %r15
	movq	%r15, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_spin_lock
	movq	%r12, %rdi
	callq	_is_genesis
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	cmpq	(%r13), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_bcom_phy_intr
	jmp	LBB0_7
LBB0_9:
	leaq	16(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	_IS_EXT_REG@GOTPCREL(%rip), %rax
	movl	20(%r12), %edx
	orl	(%rax), %edx
	movl	%edx, 20(%r12)
	movq	_B0_IMSK@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_skge_write32
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_skge_read32
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irq                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SK_PHY_BCOM,8,3                ## @SK_PHY_BCOM
	.comm	_IS_EXT_REG,4,2                 ## @IS_EXT_REG
	.comm	_B0_IMSK,4,2                    ## @B0_IMSK
	.no_dead_strip	_skge_extirq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skge_extirq
_skge_extirq:                           ; @skge_extirq
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x22, #0
	add	x20, x19, #24
Lloh0:
	adrp	x23, _SK_PHY_BCOM@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SK_PHY_BCOM@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_yukon_phy_intr
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_spin_unlock
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	x21, [x8, x22, lsl #3]
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x20
	bl	_spin_lock
	mov	x0, x19
	bl	_is_genesis
	cbz	w0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_bcom_phy_intr
	b	LBB0_3
LBB0_9:
	add	x20, x19, #16
	mov	x0, x20
	bl	_spin_lock_irq
Lloh2:
	adrp	x8, _IS_EXT_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IS_EXT_REG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #20]
	orr	w2, w9, w8
	str	w2, [x19, #20]
Lloh5:
	adrp	x21, _B0_IMSK@GOTPAGE
Lloh6:
	ldr	x21, [x21, _B0_IMSK@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_skge_write32
	ldr	w1, [x21]
	mov	x0, x19
	bl	_skge_read32
	mov	x0, x20
	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	_spin_unlock_irq
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SK_PHY_BCOM,8,3                ; @SK_PHY_BCOM
	.comm	_IS_EXT_REG,4,2                 ; @IS_EXT_REG
	.comm	_B0_IMSK,4,2                    ; @B0_IMSK
	.no_dead_strip	_skge_extirq
.subsections_via_symbols
