	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_rx_hung
_sky2_rx_hung:                          ## @sky2_rx_hung
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r14
	movq	56(%rax), %r15
	movl	(%rax), %ebx
	movq	_rxqaddr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %r13d
	movq	_RX_GMF_RP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_SK_REG
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sky2_read32
	movq	%rax, %r12
	movq	_RX_GMF_RLEV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_SK_REG
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sky2_read8
	movq	%rax, %rbx
	movq	_Q_RP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_Q_ADDR
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sky2_read8
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_Q_RL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_Q_ADDR
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sky2_read8
	movq	%r12, %rcx
	movq	%rax, %r12
	movq	8(%r14), %rax
	cmpq	%rax, 16(%r14)
	jne	LBB0_8
## %bb.1:
	cmpq	24(%r14), %rcx
	jne	LBB0_4
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	cmpq	32(%r14), %rbx
	jge	LBB0_7
LBB0_4:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpq	40(%r14), %rdx
	jne	LBB0_8
## %bb.5:
	testq	%r12, %r12
	je	LBB0_8
## %bb.6:
	cmpq	48(%r14), %r12
	jge	LBB0_7
LBB0_8:
	movq	%rax, 16(%r14)
	movq	%rcx, 24(%r14)
	movq	%rbx, 32(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%r14)
	movq	%r12, 48(%r14)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_Q_WP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	movq	%rcx, %r13
	callq	_Q_ADDR
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sky2_read8
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r13, %r8
	movq	%r12, %r9
	pushq	%rax
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_netdev_printk
	addq	$16, %rsp
	movl	$1, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rxqaddr,8,3                    ## @rxqaddr
	.comm	_RX_GMF_RP,4,2                  ## @RX_GMF_RP
	.comm	_RX_GMF_RLEV,4,2                ## @RX_GMF_RLEV
	.comm	_Q_RP,4,2                       ## @Q_RP
	.comm	_Q_RL,4,2                       ## @Q_RL
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hung mac %d:%d fifo %d (%d:%d)\n"

	.comm	_Q_WP,4,2                       ## @Q_WP
	.no_dead_strip	_sky2_rx_hung
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_rx_hung
_sky2_rx_hung:                          ; @sky2_rx_hung
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x22, x0
	ldr	x20, [x0, #56]
	ldr	w24, [x0]
Lloh0:
	adrp	x8, _rxqaddr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rxqaddr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w23, [x8, x24, lsl #2]
Lloh3:
	adrp	x8, _RX_GMF_RP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_GMF_RP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_SK_REG
	mov	x1, x0
	mov	x0, x20
	bl	_sky2_read32
	mov	x21, x0
Lloh6:
	adrp	x8, _RX_GMF_RLEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_GMF_RLEV@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_SK_REG
	mov	x1, x0
	mov	x0, x20
	bl	_sky2_read8
	mov	x24, x0
Lloh9:
	adrp	x8, _Q_RP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Q_RP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_Q_ADDR
	mov	x1, x0
	mov	x0, x20
	bl	_sky2_read8
	mov	x25, x0
Lloh12:
	adrp	x8, _Q_RL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Q_RL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_Q_ADDR
	mov	x1, x0
	mov	x0, x20
	bl	_sky2_read8
	mov	x26, x0
	ldp	x8, x9, [x22, #8]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.1:
	ldr	x9, [x22, #24]
	cmp	x21, x9
	ccmp	x24, #0, #4, eq
	b.eq	LBB0_3
; %bb.2:
	ldr	x9, [x22, #32]
	cmp	x24, x9
	b.ge	LBB0_6
LBB0_3:
	ldr	x9, [x22, #40]
	cmp	x25, x9
	ccmp	x26, #0, #4, eq
	b.eq	LBB0_5
; %bb.4:
	ldr	x9, [x22, #48]
	cmp	x26, x9
	b.ge	LBB0_6
LBB0_5:
	mov	w0, #0
	stp	x8, x21, [x22, #16]
	stp	x24, x25, [x22, #32]
	str	x26, [x22, #48]
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
Lloh18:
	adrp	x8, _Q_WP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _Q_WP@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_Q_ADDR
	mov	x1, x0
	mov	x0, x20
	bl	_sky2_read8
	mov	x7, x0
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x19
	mov	x3, x24
	mov	x4, x21
	mov	x5, x26
	mov	x6, x25
	bl	_netdev_printk
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_rxqaddr,8,3                    ; @rxqaddr
	.comm	_RX_GMF_RP,4,2                  ; @RX_GMF_RP
	.comm	_RX_GMF_RLEV,4,2                ; @RX_GMF_RLEV
	.comm	_Q_RP,4,2                       ; @Q_RP
	.comm	_Q_RL,4,2                       ; @Q_RL
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hung mac %d:%d fifo %d (%d:%d)\n"

	.comm	_Q_WP,4,2                       ; @Q_WP
	.no_dead_strip	_sky2_rx_hung
.subsections_via_symbols
