	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bcmgenet_timeout
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_4:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_5:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bcmgenet_timeout:                      ## @bcmgenet_timeout
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_tx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_netif_dbg
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_bcmgenet_dump_tx_queue
	incq	%rbx
	movq	(%r15), %rax
	movl	(%rax), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movq	_DESC_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	8(%r15), %rdi
	callq	_bcmgenet_dump_tx_queue
	movq	%r14, %rdi
	callq	_bcmgenet_tx_reclaim_all
	movq	(%r15), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	xorl	%ecx, %ecx
	movl	$0, %ebx
	cmpl	$8, %eax
	jb	LBB0_13
## %bb.6:
	movl	%eax, %ecx
	andl	$-8, %ecx
	leal	-8(%rcx), %esi
	movl	%esi, %edx
	shrl	$3, %edx
	incl	%edx
	testl	%esi, %esi
	je	LBB0_7
## %bb.8:
	movl	%edx, %esi
	andl	$-2, %esi
	pxor	%xmm0, %xmm0
	movdqa	LCPI0_0(%rip), %xmm5            ## xmm5 = [0,1,2,3]
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_4(%rip), %xmm6            ## xmm6 = [12,12,12,12]
	movdqa	LCPI0_5(%rip), %xmm7            ## xmm7 = [16,16,16,16]
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm5, %xmm1
	paddd	%xmm8, %xmm1
	movdqa	%xmm5, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm4, %xmm3
	cvttps2dq	%xmm3, %xmm3
	por	%xmm0, %xmm3
	pslld	$23, %xmm1
	paddd	%xmm4, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm2, %xmm1
	movdqa	%xmm5, %xmm0
	paddd	%xmm9, %xmm0
	movdqa	%xmm5, %xmm2
	paddd	%xmm6, %xmm2
	pslld	$23, %xmm0
	paddd	%xmm4, %xmm0
	cvttps2dq	%xmm0, %xmm0
	por	%xmm3, %xmm0
	pslld	$23, %xmm2
	paddd	%xmm4, %xmm2
	cvttps2dq	%xmm2, %xmm2
	por	%xmm1, %xmm2
	paddd	%xmm7, %xmm5
	addl	$-2, %esi
	jne	LBB0_9
## %bb.10:
	testb	$1, %dl
	je	LBB0_12
LBB0_11:
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	paddd	%xmm5, %xmm1
	pslld	$23, %xmm5
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm3, %xmm5
	cvttps2dq	%xmm5, %xmm4
	por	%xmm4, %xmm0
	pslld	$23, %xmm1
	paddd	%xmm3, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm1, %xmm2
LBB0_12:
	por	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %ebx
	jmp	LBB0_14
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_7:
	pxor	%xmm0, %xmm0
	movdqa	LCPI0_0(%rip), %xmm5            ## xmm5 = [0,1,2,3]
	pxor	%xmm2, %xmm2
	testb	$1, %dl
	jne	LBB0_11
	jmp	LBB0_12
LBB0_13:
	btsl	%ecx, %ebx
	incl	%ecx
LBB0_14:
	cmpl	%ecx, %eax
	jne	LBB0_13
LBB0_15:
	movq	_UMAC_IRQ_TXDMA_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INTRL2_CPU_MASK_CLEAR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_bcmgenet_intrl2_0_writel
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_bcmgenet_intrl2_1_writel
	movq	%r14, %rdi
	callq	_netif_trans_update
	incl	(%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_tx_wake_all_queues       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tx_err,4,2                     ## @tx_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bcmgenet_timeout\n"

	.comm	_DESC_INDEX,8,3                 ## @DESC_INDEX
	.comm	_UMAC_IRQ_TXDMA_DONE,4,2        ## @UMAC_IRQ_TXDMA_DONE
	.comm	_INTRL2_CPU_MASK_CLEAR,4,2      ## @INTRL2_CPU_MASK_CLEAR
	.no_dead_strip	_bcmgenet_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function bcmgenet_timeout
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_bcmgenet_timeout:                      ; @bcmgenet_timeout
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _tx_err@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tx_err@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x2, x19
	bl	_netif_dbg
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x21
	bl	_bcmgenet_dump_tx_queue
	add	x22, x22, #1
	ldr	x8, [x20]
	ldr	w8, [x8]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_2
LBB0_3:
	ldr	x8, [x20, #8]
Lloh5:
	adrp	x9, _DESC_INDEX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DESC_INDEX@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_bcmgenet_dump_tx_queue
	mov	x0, x19
	bl	_bcmgenet_tx_reclaim_all
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.4:
	cmp	w8, #16
	b.hs	LBB0_7
; %bb.5:
	mov	w9, #0
	mov	w21, #0
	b	LBB0_10
LBB0_6:
	mov	w21, #0
	b	LBB0_12
LBB0_7:
	movi.2d	v0, #0000000000000000
	movi.4s	v1, #4
Lloh8:
	adrp	x9, lCPI0_0@PAGE
Lloh9:
	ldr	q2, [x9, lCPI0_0@PAGEOFF]
	movi.4s	v3, #8
	and	w9, w8, #0xfffffff0
	movi.4s	v4, #12
	movi.4s	v5, #1
	movi.4s	v6, #16
	mov	x10, x9
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v18, v2, v1
	add.4s	v19, v2, v3
	add.4s	v20, v2, v4
	ushl.4s	v21, v5, v2
	ushl.4s	v18, v5, v18
	ushl.4s	v19, v5, v19
	ushl.4s	v20, v5, v20
	orr.16b	v0, v21, v0
	orr.16b	v7, v18, v7
	orr.16b	v16, v19, v16
	orr.16b	v17, v20, v17
	add.4s	v2, v2, v6
	subs	w10, w10, #16
	b.ne	LBB0_8
; %bb.9:
	orr.16b	v0, v7, v0
	orr.16b	v0, v16, v0
	orr.16b	v0, v17, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w10, s0
	mov.s	w11, v0[1]
	orr	w21, w10, w11
	cmp	w8, w9
	b.eq	LBB0_12
LBB0_10:
	mov	w10, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	lsl	w11, w10, w9
	orr	w21, w11, w21
	add	w9, w9, #1
	cmp	w8, w9
	b.ne	LBB0_11
LBB0_12:
Lloh10:
	adrp	x8, _UMAC_IRQ_TXDMA_DONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UMAC_IRQ_TXDMA_DONE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x22, _INTRL2_CPU_MASK_CLEAR@GOTPAGE
Lloh14:
	ldr	x22, [x22, _INTRL2_CPU_MASK_CLEAR@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_bcmgenet_intrl2_0_writel
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_bcmgenet_intrl2_1_writel
	mov	x0, x19
	bl	_netif_trans_update
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netif_tx_wake_all_queues
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_tx_err,4,2                     ; @tx_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bcmgenet_timeout\n"

	.comm	_DESC_INDEX,8,3                 ; @DESC_INDEX
	.comm	_UMAC_IRQ_TXDMA_DONE,4,2        ; @UMAC_IRQ_TXDMA_DONE
	.comm	_INTRL2_CPU_MASK_CLEAR,4,2      ; @INTRL2_CPU_MASK_CLEAR
	.no_dead_strip	_bcmgenet_timeout
.subsections_via_symbols
