	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_led_trigger_change_speed   ## -- Begin function phy_led_trigger_change_speed
	.p2align	4, 0x90
_phy_led_trigger_change_speed:          ## @phy_led_trigger_change_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpl	$0, 28(%rdi)
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	callq	_phy_speed_to_led_trigger
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r14
	movq	8(%rbx), %rdi
	cmpq	%rdi, %rax
	je	LBB0_10
## %bb.6:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.8:
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	movl	24(%rbx), %edi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_netdev_alert
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_phy_led_trigger_no_link        ## TAILCALL
LBB0_7:
	movq	16(%rbx), %rdi
	movq	_LED_FULL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	callq	_led_trigger_event
	movq	_LED_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_led_trigger_event
	movq	%r14, 8(%rbx)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No phy led trigger registered for speed(%d)\n"

	.comm	_LED_FULL,4,2                   ## @LED_FULL
	.comm	_LED_OFF,4,2                    ## @LED_OFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_led_trigger_change_speed   ; -- Begin function phy_led_trigger_change_speed
	.p2align	2
_phy_led_trigger_change_speed:          ; @phy_led_trigger_change_speed
	.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
	ldr	w8, [x0, #28]
	cbz	w8, LBB0_7
; %bb.1:
	ldr	x1, [x19]
	cbz	x1, LBB0_10
; %bb.2:
	mov	x0, x19
	bl	_phy_speed_to_led_trigger
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	ldr	x0, [x19, #8]
	cmp	x20, x0
	b.eq	LBB0_10
; %bb.4:
Lloh0:
	adrp	x21, _LED_FULL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LED_FULL@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.5:
Lloh2:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	b	LBB0_9
LBB0_6:
	ldr	w0, [x19, #24]
	ldr	x2, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_alert
LBB0_7:
	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	_phy_led_trigger_no_link
LBB0_8:
	ldr	x0, [x19, #16]
	ldr	w1, [x21]
LBB0_9:
	bl	_led_trigger_event
	ldr	w1, [x21]
	mov	x0, x20
	bl	_led_trigger_event
	str	x20, [x19, #8]
LBB0_10:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No phy led trigger registered for speed(%d)\n"

	.comm	_LED_FULL,4,2                   ; @LED_FULL
	.comm	_LED_OFF,4,2                    ; @LED_OFF
.subsections_via_symbols
