	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlan_get_stats
_tlan_get_stats:                        ## @tlan_get_stats
	.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, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_TLAN_RECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_tlan_read_and_clear_stats
	movq	_TLAN_DEBUG_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %edx
	movl	20(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_TLAN_DBG
	movq	_TLAN_DEBUG_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %edx
	movl	16(%r15), %ecx
	leaq	L_.str.1(%rip), %rsi
	callq	_TLAN_DBG
	movq	_debug@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_TLAN_DEBUG_GNRL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	4(%r14), %edi
	callq	_tlan_print_dio
	movq	%r14, %rdi
	callq	_tlan_phy_print
	movl	(%rbx), %eax
LBB0_2:
	movq	_TLAN_DEBUG_LIST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.3:
	movq	_TLAN_NUM_RX_LISTS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	leaq	L_.str.2(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_tlan_print_list
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	_TLAN_NUM_TX_LISTS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	leaq	L_.str.3(%rip), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_tlan_print_list
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLAN_RECORD,4,2                ## @TLAN_RECORD
	.comm	_TLAN_DEBUG_RX,4,2              ## @TLAN_DEBUG_RX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RECEIVE:  %s EOC count = %d\n"

	.comm	_TLAN_DEBUG_TX,4,2              ## @TLAN_DEBUG_TX
L_.str.1:                               ## @.str.1
	.asciz	"TRANSMIT:  %s Busy count = %d\n"

	.comm	_debug,4,2                      ## @debug
	.comm	_TLAN_DEBUG_GNRL,4,2            ## @TLAN_DEBUG_GNRL
	.comm	_TLAN_DEBUG_LIST,4,2            ## @TLAN_DEBUG_LIST
	.comm	_TLAN_NUM_RX_LISTS,4,2          ## @TLAN_NUM_RX_LISTS
L_.str.2:                               ## @.str.2
	.asciz	"RX"

	.comm	_TLAN_NUM_TX_LISTS,4,2          ## @TLAN_NUM_TX_LISTS
L_.str.3:                               ## @.str.3
	.asciz	"TX"

	.no_dead_strip	_tlan_get_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlan_get_stats
_tlan_get_stats:                        ; @tlan_get_stats
	.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
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _TLAN_RECORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLAN_RECORD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tlan_read_and_clear_stats
Lloh3:
	adrp	x8, _TLAN_DEBUG_RX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TLAN_DEBUG_RX@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
	ldr	w3, [x20, #20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_TLAN_DBG
Lloh8:
	adrp	x8, _TLAN_DEBUG_TX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TLAN_DEBUG_TX@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
	ldr	w3, [x20, #16]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_TLAN_DBG
Lloh13:
	adrp	x21, _debug@GOTPAGE
Lloh14:
	ldr	x21, [x21, _debug@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh15:
	adrp	x9, _TLAN_DEBUG_GNRL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TLAN_DEBUG_GNRL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_tlan_print_dio
	mov	x0, x19
	bl	_tlan_phy_print
	ldr	w8, [x21]
LBB0_2:
Lloh18:
	adrp	x9, _TLAN_DEBUG_LIST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _TLAN_DEBUG_LIST@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.3:
Lloh21:
	adrp	x23, _TLAN_NUM_RX_LISTS@GOTPAGE
Lloh22:
	ldr	x23, [x23, _TLAN_NUM_RX_LISTS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
Lloh23:
	adrp	x22, l_.str.2@PAGE
Lloh24:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x0, x21, x8
	mov	x1, x22
	mov	x2, x21
	bl	_tlan_print_list
	add	x21, x21, #1
	ldrsw	x8, [x23]
	cmp	x21, x8
	b.lt	LBB0_5
LBB0_6:
Lloh25:
	adrp	x23, _TLAN_NUM_TX_LISTS@GOTPAGE
Lloh26:
	ldr	x23, [x23, _TLAN_NUM_TX_LISTS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
Lloh27:
	adrp	x22, l_.str.3@PAGE
Lloh28:
	add	x22, x22, l_.str.3@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x0, x21, x8
	mov	x1, x22
	mov	x2, x21
	bl	_tlan_print_list
	add	x21, x21, #1
	ldrsw	x8, [x23]
	cmp	x21, x8
	b.lt	LBB0_8
LBB0_9:
	mov	x0, x19
	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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_TLAN_RECORD,4,2                ; @TLAN_RECORD
	.comm	_TLAN_DEBUG_RX,4,2              ; @TLAN_DEBUG_RX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RECEIVE:  %s EOC count = %d\n"

	.comm	_TLAN_DEBUG_TX,4,2              ; @TLAN_DEBUG_TX
l_.str.1:                               ; @.str.1
	.asciz	"TRANSMIT:  %s Busy count = %d\n"

	.comm	_debug,4,2                      ; @debug
	.comm	_TLAN_DEBUG_GNRL,4,2            ; @TLAN_DEBUG_GNRL
	.comm	_TLAN_DEBUG_LIST,4,2            ; @TLAN_DEBUG_LIST
	.comm	_TLAN_NUM_RX_LISTS,4,2          ; @TLAN_NUM_RX_LISTS
l_.str.2:                               ; @.str.2
	.asciz	"RX"

	.comm	_TLAN_NUM_TX_LISTS,4,2          ; @TLAN_NUM_TX_LISTS
l_.str.3:                               ; @.str.3
	.asciz	"TX"

	.no_dead_strip	_tlan_get_stats
.subsections_via_symbols
