	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlan_phy_print
_tlan_phy_print:                        ## @tlan_phy_print
	.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	$40, %rsp
	.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	16(%rax), %rcx
	movq	_TLAN_ADAPTER_UNMANAGED_PHY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	(%rcx,%rax,8), %rbx
	movq	_TLAN_PHY_MAX_ADDR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jle	LBB0_5
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
LBB0_2:
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_info                    ## TAILCALL
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_netdev_info
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	leaq	-48(%rbp), %r15
	leaq	L_.str.3(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	leaq	-72(%rbp), %rcx
	callq	_tlan_mii_read_reg
	leaq	1(%r13), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	leaq	-64(%rbp), %rcx
	callq	_tlan_mii_read_reg
	leaq	2(%r13), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	leaq	-56(%rbp), %rcx
	callq	_tlan_mii_read_reg
	leaq	3(%r13), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rcx
	callq	_tlan_mii_read_reg
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %r8
	movq	-48(%rbp), %r9
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_pr_info
	leaq	4(%r13), %rax
	cmpq	$28, %r13
	movq	%rax, %r13
	jb	LBB0_6
## %bb.7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLAN_ADAPTER_UNMANAGED_PHY,4,2 ## @TLAN_ADAPTER_UNMANAGED_PHY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unmanaged PHY\n"

	.comm	_TLAN_PHY_MAX_ADDR,8,3          ## @TLAN_PHY_MAX_ADDR
L_.str.1:                               ## @.str.1
	.asciz	"PHY 0x%02x\n"

L_.str.2:                               ## @.str.2
	.asciz	"   Off.  +0     +1     +2     +3\n"

L_.str.3:                               ## @.str.3
	.asciz	"   0x%02x 0x%04hx 0x%04hx 0x%04hx 0x%04hx\n"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid PHY\n"

	.no_dead_strip	_tlan_phy_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlan_phy_print
_tlan_phy_print:                        ; @tlan_phy_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _TLAN_ADAPTER_UNMANAGED_PHY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TLAN_ADAPTER_UNMANAGED_PHY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldp	x8, x9, [x0]
	ldr	x20, [x8, x9, lsl #3]
Lloh5:
	adrp	x8, _TLAN_PHY_MAX_ADDR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TLAN_PHY_MAX_ADDR@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x20, x8
	b.le	LBB0_5
; %bb.3:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_netdev_info
LBB0_5:
	str	x20, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_info
	mov	x21, #0
Lloh14:
	adrp	x22, l_.str.3@PAGE
Lloh15:
	add	x22, x22, l_.str.3@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	x3, x29, #40
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_tlan_mii_read_reg
	add	x2, x21, #1
	sub	x3, x29, #48
	mov	x0, x19
	mov	x1, x20
	bl	_tlan_mii_read_reg
	add	x2, x21, #2
	add	x3, sp, #56
	mov	x0, x19
	mov	x1, x20
	bl	_tlan_mii_read_reg
	add	x2, x21, #3
	add	x3, sp, #48
	mov	x0, x19
	mov	x1, x20
	bl	_tlan_mii_read_reg
	ldp	x9, x8, [x29, #-48]
	ldp	x11, x10, [sp, #48]
	stp	x10, x11, [sp, #24]
	stp	x8, x9, [sp, #8]
	str	x21, [sp]
	mov	x0, x22
	bl	_pr_info
	add	x8, x21, #4
	cmp	x21, #28
	mov	x21, x8
	b.lo	LBB0_6
; %bb.7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TLAN_ADAPTER_UNMANAGED_PHY,4,2 ; @TLAN_ADAPTER_UNMANAGED_PHY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unmanaged PHY\n"

	.comm	_TLAN_PHY_MAX_ADDR,8,3          ; @TLAN_PHY_MAX_ADDR
l_.str.1:                               ; @.str.1
	.asciz	"PHY 0x%02x\n"

l_.str.2:                               ; @.str.2
	.asciz	"   Off.  +0     +1     +2     +3\n"

l_.str.3:                               ; @.str.3
	.asciz	"   0x%02x 0x%04hx 0x%04hx 0x%04hx 0x%04hx\n"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid PHY\n"

	.no_dead_strip	_tlan_phy_print
.subsections_via_symbols
