	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_port_phy
_show_port_phy:                         ## @show_port_phy
	.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	%rdx, %rbx
	callq	_to_platform_device
	movq	%rax, %rdi
	callq	_dev_get_platdata
	movq	%rax, %r15
	movq	(%rax), %r12
	movq	_PORT_PHY_UNKNOWN@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpq	(%rax), %r12
	je	LBB0_8
## %bb.1:
	movq	_PORT_PHY_INVALID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_8
## %bb.2:
	cmpl	$0, 8(%r15)
	movq	%rbx, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r13
	jle	LBB0_7
## %bb.3:
	leaq	L_.str.3(%rip), %r14
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%ebx, %ebx
	movq	%r14, %rsi
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %r13
	incl	%ebx
	cmpl	8(%r15), %ebx
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_phy_decode
	leaq	L_.str(%rip), %rdx
	movq	_PORT_TYPE_10G@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_7:
	movw	$10, (%r13)
	subl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	incl	%r13d
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_PHY_UNKNOWN,8,3           ## @PORT_PHY_UNKNOWN
	.comm	_PORT_PHY_INVALID,8,3           ## @PORT_PHY_INVALID
	.comm	_PORT_TYPE_10G,4,2              ## @PORT_TYPE_10G
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"10G"

L_.str.1:                               ## @.str.1
	.asciz	"1G"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

L_.str.3:                               ## @.str.3
	.asciz	" %s"

	.no_dead_strip	_show_port_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_port_phy
_show_port_phy:                         ; @show_port_phy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	bl	_to_platform_device
	bl	_dev_get_platdata
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _PORT_PHY_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_PHY_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PORT_PHY_INVALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PORT_PHY_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x21, x8
	ccmp	x21, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	mov	x20, x0
	ldr	w8, [x0, #8]
	mov	x23, x19
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w22, #0
Lloh6:
	adrp	x24, _PORT_TYPE_10G@GOTPAGE
Lloh7:
	ldr	x24, [x24, _PORT_TYPE_10G@GOTPAGEOFF]
Lloh8:
	adrp	x25, l_.str.1@PAGE
Lloh9:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh10:
	adrp	x26, l_.str@PAGE
Lloh11:
	add	x26, x26, l_.str@PAGEOFF
Lloh12:
	adrp	x27, l_.str.3@PAGE
Lloh13:
	add	x27, x27, l_.str.3@PAGEOFF
	mov	x23, x19
Lloh14:
	adrp	x28, l_.str.2@PAGE
Lloh15:
	add	x28, x28, l_.str.2@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_phy_decode
	ldr	w8, [x24]
	cmp	w0, w8
	csel	x8, x26, x25, eq
	cmp	w22, #0
	csel	x1, x28, x27, eq
	str	x8, [sp]
	mov	x0, x23
	bl	_sprintf
	add	x23, x23, w0, sxtw
	add	w22, w22, #1
	ldr	w8, [x20, #8]
	cmp	w22, w8
	b.lt	LBB0_4
LBB0_5:
	mov	w8, #10
	strh	w8, [x23]
	sub	w8, w23, w19
	add	w0, w8, #1
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_PHY_UNKNOWN,8,3           ; @PORT_PHY_UNKNOWN
	.comm	_PORT_PHY_INVALID,8,3           ; @PORT_PHY_INVALID
	.comm	_PORT_TYPE_10G,4,2              ; @PORT_TYPE_10G
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"10G"

l_.str.1:                               ; @.str.1
	.asciz	"1G"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

l_.str.3:                               ; @.str.3
	.asciz	" %s"

	.no_dead_strip	_show_port_phy
.subsections_via_symbols
