	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksz8795_w_phy
_ksz8795_w_phy:                         ## @ksz8795_w_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdi, %r15
	movslq	%esi, %r14
	cmpl	$129, %edx
	je	LBB0_8
## %bb.1:
	cmpl	$128, %edx
	jne	LBB0_10
## %bb.2:
	movq	_PHY_RESET@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_10
## %bb.3:
	movq	_P_SPEED_STATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ksz_pread8
	movq	-56(%rbp), %rax
	movq	_PHY_HP_MDIX@GOTPCREL(%rip), %rdx
	movq	_PORT_HP_MDIX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, %rsi
	orq	%rax, %rsi
	notq	%rcx
	andq	%rax, %rcx
	testl	%r13d, (%rdx)
	cmovneq	%rsi, %rcx
	cmpq	%rax, %rcx
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ksz_pwrite8
LBB0_5:
	movq	_P_FORCE_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ksz_pread8
	movq	-48(%rbp), %rax
	movq	_PHY_AUTO_NEG_ENABLE@GOTPCREL(%rip), %rcx
	movq	_PORT_AUTO_NEG_DISABLE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, %rsi
	notq	%rsi
	andq	%rax, %rsi
	movq	%rdx, %rdi
	orq	%rax, %rdi
	testl	%r13d, (%rcx)
	cmovneq	%rsi, %rdi
	movq	(%r15), %rcx
	xorl	%esi, %esi
	cmpl	$0, (%rcx,%r14,4)
	cmovneq	%rdx, %rsi
	orq	%rdi, %rsi
	movq	_PHY_SPEED_100MBIT@GOTPCREL(%rip), %rcx
	movq	_PORT_FORCE_100_MBIT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, %rdi
	orq	%rsi, %rdi
	notq	%rdx
	andq	%rsi, %rdx
	testl	%r13d, (%rcx)
	cmovneq	%rdi, %rdx
	movq	_PHY_FULL_DUPLEX@GOTPCREL(%rip), %rsi
	movq	_PORT_FORCE_FULL_DUPLEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, %rdi
	orq	%rdx, %rdi
	notq	%rcx
	andq	%rdx, %rcx
	testl	%r13d, (%rsi)
	cmovneq	%rdi, %rcx
	cmpq	%rax, %rcx
	je	LBB0_7
## %bb.6:
	movl	(%r12), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ksz_pwrite8
LBB0_7:
	movq	_P_NEG_RESTART_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-64(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ksz_pread8
	movq	-64(%rbp), %rax
	movq	_PHY_LED_DISABLE@GOTPCREL(%rip), %rcx
	movq	_PORT_LED_OFF@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, %rsi
	orq	%rax, %rsi
	notq	%rdx
	andq	%rax, %rdx
	testl	%r13d, (%rcx)
	cmovneq	%rsi, %rdx
	movq	_PHY_TRANSMIT_DISABLE@GOTPCREL(%rip), %rcx
	movq	_PORT_TX_DISABLE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, %rdi
	orq	%rdx, %rdi
	notq	%rsi
	andq	%rdx, %rsi
	testl	%r13d, (%rcx)
	cmovneq	%rdi, %rsi
	movq	_PHY_AUTO_NEG_RESTART@GOTPCREL(%rip), %rcx
	movq	_PORT_AUTO_NEG_RESTART@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, %rdi
	orq	%rsi, %rdi
	notq	%rdx
	andq	%rsi, %rdx
	testl	%r13d, (%rcx)
	cmovneq	%rdi, %rdx
	movq	_PHY_POWER_DOWN@GOTPCREL(%rip), %rcx
	movq	_PORT_POWER_DOWN@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, %rdi
	orq	%rdx, %rdi
	notq	%rsi
	andq	%rdx, %rsi
	testl	%r13d, (%rcx)
	cmovneq	%rdi, %rsi
	movq	_PHY_AUTO_MDIX_DISABLE@GOTPCREL(%rip), %rcx
	movq	_PORT_AUTO_MDIX_DISABLE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, %rdi
	orq	%rsi, %rdi
	notq	%rdx
	andq	%rsi, %rdx
	testl	%r13d, (%rcx)
	cmovneq	%rdi, %rdx
	movq	_PHY_FORCE_MDIX@GOTPCREL(%rip), %rcx
	movq	_PORT_FORCE_MDIX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, %rdi
	orq	%rdx, %rdi
	notq	%rsi
	andq	%rdx, %rsi
	testl	%r13d, (%rcx)
	cmovneq	%rdi, %rsi
	movq	_PHY_LOOPBACK@GOTPCREL(%rip), %rdx
	movq	_PORT_PHY_LOOPBACK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, %rdi
	orq	%rsi, %rdi
	notq	%rcx
	andq	%rsi, %rcx
	testl	%r13d, (%rdx)
	cmovneq	%rdi, %rcx
	cmpq	%rax, %rcx
	jne	LBB0_9
	jmp	LBB0_10
LBB0_8:
	movq	_P_LOCAL_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ksz_pread8
	movq	-48(%rbp), %r8
	movq	_PORT_AUTO_NEG_SYM_PAUSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PORT_AUTO_NEG_100BTX_FD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rdi, %rcx
	orq	%rax, %rcx
	movq	_PORT_AUTO_NEG_100BTX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rbx
	movq	_PORT_AUTO_NEG_10BT_FD@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r11
	movq	%rbx, %rdx
	orq	%r11, %rdx
	orq	%rcx, %rdx
	movq	_PORT_AUTO_NEG_10BT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	%rcx, %rdx
	notq	%rdx
	andq	%r8, %rdx
	movq	_PHY_AUTO_NEG_SYM_PAUSE@GOTPCREL(%rip), %r9
	xorl	%r10d, %r10d
	testl	%r13d, (%r9)
	cmoveq	%r10, %rax
	movq	_PHY_AUTO_NEG_100BTX_FD@GOTPCREL(%rip), %rsi
	testl	%r13d, (%rsi)
	cmoveq	%r10, %rdi
	orq	%rax, %rdi
	movq	_PHY_AUTO_NEG_100BTX@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	cmoveq	%r10, %rbx
	orq	%rdi, %rbx
	orq	%rdx, %rbx
	movq	_PHY_AUTO_NEG_10BT_FD@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	cmoveq	%r10, %r11
	movq	_PHY_AUTO_NEG_10BT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	cmoveq	%r10, %rcx
	orq	%r11, %rcx
	orq	%rbx, %rcx
	cmpq	%r8, %rcx
	je	LBB0_10
LBB0_9:
	movl	(%r12), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ksz_pwrite8
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_RESET,4,2                  ## @PHY_RESET
	.comm	_P_SPEED_STATUS,4,2             ## @P_SPEED_STATUS
	.comm	_PHY_HP_MDIX,4,2                ## @PHY_HP_MDIX
	.comm	_PORT_HP_MDIX,8,3               ## @PORT_HP_MDIX
	.comm	_P_FORCE_CTRL,4,2               ## @P_FORCE_CTRL
	.comm	_PHY_AUTO_NEG_ENABLE,4,2        ## @PHY_AUTO_NEG_ENABLE
	.comm	_PORT_AUTO_NEG_DISABLE,8,3      ## @PORT_AUTO_NEG_DISABLE
	.comm	_PHY_SPEED_100MBIT,4,2          ## @PHY_SPEED_100MBIT
	.comm	_PORT_FORCE_100_MBIT,8,3        ## @PORT_FORCE_100_MBIT
	.comm	_PHY_FULL_DUPLEX,4,2            ## @PHY_FULL_DUPLEX
	.comm	_PORT_FORCE_FULL_DUPLEX,8,3     ## @PORT_FORCE_FULL_DUPLEX
	.comm	_P_NEG_RESTART_CTRL,4,2         ## @P_NEG_RESTART_CTRL
	.comm	_PHY_LED_DISABLE,4,2            ## @PHY_LED_DISABLE
	.comm	_PORT_LED_OFF,8,3               ## @PORT_LED_OFF
	.comm	_PHY_TRANSMIT_DISABLE,4,2       ## @PHY_TRANSMIT_DISABLE
	.comm	_PORT_TX_DISABLE,8,3            ## @PORT_TX_DISABLE
	.comm	_PHY_AUTO_NEG_RESTART,4,2       ## @PHY_AUTO_NEG_RESTART
	.comm	_PORT_AUTO_NEG_RESTART,8,3      ## @PORT_AUTO_NEG_RESTART
	.comm	_PHY_POWER_DOWN,4,2             ## @PHY_POWER_DOWN
	.comm	_PORT_POWER_DOWN,8,3            ## @PORT_POWER_DOWN
	.comm	_PHY_AUTO_MDIX_DISABLE,4,2      ## @PHY_AUTO_MDIX_DISABLE
	.comm	_PORT_AUTO_MDIX_DISABLE,8,3     ## @PORT_AUTO_MDIX_DISABLE
	.comm	_PHY_FORCE_MDIX,4,2             ## @PHY_FORCE_MDIX
	.comm	_PORT_FORCE_MDIX,8,3            ## @PORT_FORCE_MDIX
	.comm	_PHY_LOOPBACK,4,2               ## @PHY_LOOPBACK
	.comm	_PORT_PHY_LOOPBACK,8,3          ## @PORT_PHY_LOOPBACK
	.comm	_P_LOCAL_CTRL,4,2               ## @P_LOCAL_CTRL
	.comm	_PORT_AUTO_NEG_SYM_PAUSE,8,3    ## @PORT_AUTO_NEG_SYM_PAUSE
	.comm	_PORT_AUTO_NEG_100BTX_FD,8,3    ## @PORT_AUTO_NEG_100BTX_FD
	.comm	_PORT_AUTO_NEG_100BTX,8,3       ## @PORT_AUTO_NEG_100BTX
	.comm	_PORT_AUTO_NEG_10BT_FD,8,3      ## @PORT_AUTO_NEG_10BT_FD
	.comm	_PORT_AUTO_NEG_10BT,8,3         ## @PORT_AUTO_NEG_10BT
	.comm	_PHY_AUTO_NEG_SYM_PAUSE,4,2     ## @PHY_AUTO_NEG_SYM_PAUSE
	.comm	_PHY_AUTO_NEG_100BTX_FD,4,2     ## @PHY_AUTO_NEG_100BTX_FD
	.comm	_PHY_AUTO_NEG_100BTX,4,2        ## @PHY_AUTO_NEG_100BTX
	.comm	_PHY_AUTO_NEG_10BT_FD,4,2       ## @PHY_AUTO_NEG_10BT_FD
	.comm	_PHY_AUTO_NEG_10BT,4,2          ## @PHY_AUTO_NEG_10BT
	.no_dead_strip	_ksz8795_w_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ksz8795_w_phy
_ksz8795_w_phy:                         ; @ksz8795_w_phy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	sxtw	x20, w1
	cmp	w2, #129
	b.eq	LBB0_8
; %bb.1:
	cmp	w2, #128
	b.ne	LBB0_10
; %bb.2:
Lloh0:
	adrp	x8, _PHY_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_RESET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_10
; %bb.3:
Lloh3:
	adrp	x22, _P_SPEED_STATUS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _P_SPEED_STATUS@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #16
	mov	x0, x19
	mov	x1, x20
	bl	_ksz_pread8
	ldr	x8, [sp, #16]
Lloh5:
	adrp	x9, _PHY_HP_MDIX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PHY_HP_MDIX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _PORT_HP_MDIX@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PORT_HP_MDIX@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	orr	x11, x10, x8
	bic	x10, x8, x10
	tst	w9, w21
	csel	x3, x10, x11, eq
	cmp	x3, x8
	b.eq	LBB0_5
; %bb.4:
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_ksz_pwrite8
LBB0_5:
Lloh11:
	adrp	x22, _P_FORCE_CTRL@GOTPAGE
Lloh12:
	ldr	x22, [x22, _P_FORCE_CTRL@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_ksz_pread8
Lloh13:
	adrp	x8, _PHY_AUTO_NEG_ENABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PHY_AUTO_NEG_ENABLE@GOTPAGEOFF]
	ldr	x9, [sp, #8]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x10, _PORT_AUTO_NEG_DISABLE@GOTPAGE
Lloh17:
	ldr	x10, [x10, _PORT_AUTO_NEG_DISABLE@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	bic	x11, x9, x10
	orr	x12, x10, x9
	tst	w8, w21
	csel	x8, x12, x11, eq
	ldr	x11, [x19]
	ldr	w11, [x11, x20, lsl #2]
	cmp	w11, #0
	csel	x10, xzr, x10, eq
	orr	x8, x10, x8
Lloh19:
	adrp	x10, _PHY_SPEED_100MBIT@GOTPAGE
Lloh20:
	ldr	x10, [x10, _PHY_SPEED_100MBIT@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
Lloh22:
	adrp	x11, _PORT_FORCE_100_MBIT@GOTPAGE
Lloh23:
	ldr	x11, [x11, _PORT_FORCE_100_MBIT@GOTPAGEOFF]
Lloh24:
	ldr	x11, [x11]
	orr	x12, x11, x8
	bic	x8, x8, x11
	tst	w10, w21
	csel	x8, x8, x12, eq
Lloh25:
	adrp	x10, _PHY_FULL_DUPLEX@GOTPAGE
Lloh26:
	ldr	x10, [x10, _PHY_FULL_DUPLEX@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
Lloh28:
	adrp	x11, _PORT_FORCE_FULL_DUPLEX@GOTPAGE
Lloh29:
	ldr	x11, [x11, _PORT_FORCE_FULL_DUPLEX@GOTPAGEOFF]
Lloh30:
	ldr	x11, [x11]
	orr	x12, x11, x8
	bic	x8, x8, x11
	tst	w10, w21
	csel	x3, x8, x12, eq
	cmp	x3, x9
	b.eq	LBB0_7
; %bb.6:
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_ksz_pwrite8
LBB0_7:
Lloh31:
	adrp	x22, _P_NEG_RESTART_CTRL@GOTPAGE
Lloh32:
	ldr	x22, [x22, _P_NEG_RESTART_CTRL@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x20
	bl	_ksz_pread8
	ldr	x8, [sp, #24]
Lloh33:
	adrp	x9, _PHY_LED_DISABLE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _PHY_LED_DISABLE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
Lloh36:
	adrp	x10, _PORT_LED_OFF@GOTPAGE
Lloh37:
	ldr	x10, [x10, _PORT_LED_OFF@GOTPAGEOFF]
Lloh38:
	ldr	x10, [x10]
	orr	x11, x10, x8
	bic	x10, x8, x10
	tst	w9, w21
Lloh39:
	adrp	x9, _PHY_TRANSMIT_DISABLE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _PHY_TRANSMIT_DISABLE@GOTPAGEOFF]
	csel	x10, x10, x11, eq
Lloh41:
	ldr	w9, [x9]
Lloh42:
	adrp	x11, _PORT_TX_DISABLE@GOTPAGE
Lloh43:
	ldr	x11, [x11, _PORT_TX_DISABLE@GOTPAGEOFF]
Lloh44:
	ldr	x11, [x11]
	orr	x12, x11, x10
	bic	x10, x10, x11
	tst	w9, w21
	csel	x9, x10, x12, eq
Lloh45:
	adrp	x10, _PHY_AUTO_NEG_RESTART@GOTPAGE
Lloh46:
	ldr	x10, [x10, _PHY_AUTO_NEG_RESTART@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
Lloh48:
	adrp	x11, _PORT_AUTO_NEG_RESTART@GOTPAGE
Lloh49:
	ldr	x11, [x11, _PORT_AUTO_NEG_RESTART@GOTPAGEOFF]
Lloh50:
	ldr	x11, [x11]
	orr	x12, x11, x9
	bic	x9, x9, x11
	tst	w10, w21
	csel	x9, x9, x12, eq
Lloh51:
	adrp	x10, _PHY_POWER_DOWN@GOTPAGE
Lloh52:
	ldr	x10, [x10, _PHY_POWER_DOWN@GOTPAGEOFF]
Lloh53:
	ldr	w10, [x10]
Lloh54:
	adrp	x11, _PORT_POWER_DOWN@GOTPAGE
Lloh55:
	ldr	x11, [x11, _PORT_POWER_DOWN@GOTPAGEOFF]
Lloh56:
	ldr	x11, [x11]
	orr	x12, x11, x9
	bic	x9, x9, x11
	tst	w10, w21
Lloh57:
	adrp	x10, _PHY_AUTO_MDIX_DISABLE@GOTPAGE
Lloh58:
	ldr	x10, [x10, _PHY_AUTO_MDIX_DISABLE@GOTPAGEOFF]
	csel	x9, x9, x12, eq
Lloh59:
	ldr	w10, [x10]
Lloh60:
	adrp	x11, _PORT_AUTO_MDIX_DISABLE@GOTPAGE
Lloh61:
	ldr	x11, [x11, _PORT_AUTO_MDIX_DISABLE@GOTPAGEOFF]
Lloh62:
	ldr	x11, [x11]
	orr	x12, x11, x9
	bic	x9, x9, x11
	tst	w10, w21
	csel	x9, x9, x12, eq
Lloh63:
	adrp	x10, _PHY_FORCE_MDIX@GOTPAGE
Lloh64:
	ldr	x10, [x10, _PHY_FORCE_MDIX@GOTPAGEOFF]
Lloh65:
	ldr	w10, [x10]
Lloh66:
	adrp	x11, _PORT_FORCE_MDIX@GOTPAGE
Lloh67:
	ldr	x11, [x11, _PORT_FORCE_MDIX@GOTPAGEOFF]
Lloh68:
	ldr	x11, [x11]
	orr	x12, x11, x9
	bic	x9, x9, x11
	tst	w10, w21
	csel	x9, x9, x12, eq
Lloh69:
	adrp	x10, _PHY_LOOPBACK@GOTPAGE
Lloh70:
	ldr	x10, [x10, _PHY_LOOPBACK@GOTPAGEOFF]
Lloh71:
	ldr	w10, [x10]
Lloh72:
	adrp	x11, _PORT_PHY_LOOPBACK@GOTPAGE
Lloh73:
	ldr	x11, [x11, _PORT_PHY_LOOPBACK@GOTPAGEOFF]
Lloh74:
	ldr	x11, [x11]
	orr	x12, x11, x9
	bic	x9, x9, x11
	tst	w10, w21
	csel	x3, x9, x12, eq
	cmp	x3, x8
	b.ne	LBB0_9
	b	LBB0_10
LBB0_8:
Lloh75:
	adrp	x22, _P_LOCAL_CTRL@GOTPAGE
Lloh76:
	ldr	x22, [x22, _P_LOCAL_CTRL@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_ksz_pread8
	ldr	x8, [sp, #8]
Lloh77:
	adrp	x9, _PORT_AUTO_NEG_SYM_PAUSE@GOTPAGE
Lloh78:
	ldr	x9, [x9, _PORT_AUTO_NEG_SYM_PAUSE@GOTPAGEOFF]
Lloh79:
	ldr	x9, [x9]
Lloh80:
	adrp	x10, _PORT_AUTO_NEG_100BTX_FD@GOTPAGE
Lloh81:
	ldr	x10, [x10, _PORT_AUTO_NEG_100BTX_FD@GOTPAGEOFF]
Lloh82:
	ldr	x10, [x10]
	orr	x11, x10, x9
Lloh83:
	adrp	x12, _PORT_AUTO_NEG_100BTX@GOTPAGE
Lloh84:
	ldr	x12, [x12, _PORT_AUTO_NEG_100BTX@GOTPAGEOFF]
Lloh85:
	ldr	x12, [x12]
	orr	x11, x11, x12
Lloh86:
	adrp	x13, _PORT_AUTO_NEG_10BT_FD@GOTPAGE
Lloh87:
	ldr	x13, [x13, _PORT_AUTO_NEG_10BT_FD@GOTPAGEOFF]
Lloh88:
	ldr	x13, [x13]
	orr	x11, x11, x13
Lloh89:
	adrp	x14, _PORT_AUTO_NEG_10BT@GOTPAGE
Lloh90:
	ldr	x14, [x14, _PORT_AUTO_NEG_10BT@GOTPAGEOFF]
Lloh91:
	ldr	x14, [x14]
	orr	x11, x11, x14
Lloh92:
	adrp	x15, _PHY_AUTO_NEG_SYM_PAUSE@GOTPAGE
Lloh93:
	ldr	x15, [x15, _PHY_AUTO_NEG_SYM_PAUSE@GOTPAGEOFF]
	bic	x11, x8, x11
Lloh94:
	ldr	w15, [x15]
	tst	w15, w21
	csel	x9, xzr, x9, eq
Lloh95:
	adrp	x15, _PHY_AUTO_NEG_100BTX_FD@GOTPAGE
Lloh96:
	ldr	x15, [x15, _PHY_AUTO_NEG_100BTX_FD@GOTPAGEOFF]
	orr	x9, x9, x11
Lloh97:
	ldr	w11, [x15]
	tst	w11, w21
	csel	x10, xzr, x10, eq
Lloh98:
	adrp	x11, _PHY_AUTO_NEG_100BTX@GOTPAGE
Lloh99:
	ldr	x11, [x11, _PHY_AUTO_NEG_100BTX@GOTPAGEOFF]
	orr	x9, x9, x10
Lloh100:
	ldr	w10, [x11]
	tst	w10, w21
	csel	x10, xzr, x12, eq
Lloh101:
	adrp	x11, _PHY_AUTO_NEG_10BT_FD@GOTPAGE
Lloh102:
	ldr	x11, [x11, _PHY_AUTO_NEG_10BT_FD@GOTPAGEOFF]
	orr	x9, x9, x10
Lloh103:
	ldr	w10, [x11]
	tst	w10, w21
	csel	x10, xzr, x13, eq
Lloh104:
	adrp	x11, _PHY_AUTO_NEG_10BT@GOTPAGE
Lloh105:
	ldr	x11, [x11, _PHY_AUTO_NEG_10BT@GOTPAGEOFF]
	orr	x9, x9, x10
Lloh106:
	ldr	w10, [x11]
	tst	w10, w21
	csel	x10, xzr, x14, eq
	orr	x3, x9, x10
	cmp	x3, x8
	b.eq	LBB0_10
LBB0_9:
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_ksz_pwrite8
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_RESET,4,2                  ; @PHY_RESET
	.comm	_P_SPEED_STATUS,4,2             ; @P_SPEED_STATUS
	.comm	_PHY_HP_MDIX,4,2                ; @PHY_HP_MDIX
	.comm	_PORT_HP_MDIX,8,3               ; @PORT_HP_MDIX
	.comm	_P_FORCE_CTRL,4,2               ; @P_FORCE_CTRL
	.comm	_PHY_AUTO_NEG_ENABLE,4,2        ; @PHY_AUTO_NEG_ENABLE
	.comm	_PORT_AUTO_NEG_DISABLE,8,3      ; @PORT_AUTO_NEG_DISABLE
	.comm	_PHY_SPEED_100MBIT,4,2          ; @PHY_SPEED_100MBIT
	.comm	_PORT_FORCE_100_MBIT,8,3        ; @PORT_FORCE_100_MBIT
	.comm	_PHY_FULL_DUPLEX,4,2            ; @PHY_FULL_DUPLEX
	.comm	_PORT_FORCE_FULL_DUPLEX,8,3     ; @PORT_FORCE_FULL_DUPLEX
	.comm	_P_NEG_RESTART_CTRL,4,2         ; @P_NEG_RESTART_CTRL
	.comm	_PHY_LED_DISABLE,4,2            ; @PHY_LED_DISABLE
	.comm	_PORT_LED_OFF,8,3               ; @PORT_LED_OFF
	.comm	_PHY_TRANSMIT_DISABLE,4,2       ; @PHY_TRANSMIT_DISABLE
	.comm	_PORT_TX_DISABLE,8,3            ; @PORT_TX_DISABLE
	.comm	_PHY_AUTO_NEG_RESTART,4,2       ; @PHY_AUTO_NEG_RESTART
	.comm	_PORT_AUTO_NEG_RESTART,8,3      ; @PORT_AUTO_NEG_RESTART
	.comm	_PHY_POWER_DOWN,4,2             ; @PHY_POWER_DOWN
	.comm	_PORT_POWER_DOWN,8,3            ; @PORT_POWER_DOWN
	.comm	_PHY_AUTO_MDIX_DISABLE,4,2      ; @PHY_AUTO_MDIX_DISABLE
	.comm	_PORT_AUTO_MDIX_DISABLE,8,3     ; @PORT_AUTO_MDIX_DISABLE
	.comm	_PHY_FORCE_MDIX,4,2             ; @PHY_FORCE_MDIX
	.comm	_PORT_FORCE_MDIX,8,3            ; @PORT_FORCE_MDIX
	.comm	_PHY_LOOPBACK,4,2               ; @PHY_LOOPBACK
	.comm	_PORT_PHY_LOOPBACK,8,3          ; @PORT_PHY_LOOPBACK
	.comm	_P_LOCAL_CTRL,4,2               ; @P_LOCAL_CTRL
	.comm	_PORT_AUTO_NEG_SYM_PAUSE,8,3    ; @PORT_AUTO_NEG_SYM_PAUSE
	.comm	_PORT_AUTO_NEG_100BTX_FD,8,3    ; @PORT_AUTO_NEG_100BTX_FD
	.comm	_PORT_AUTO_NEG_100BTX,8,3       ; @PORT_AUTO_NEG_100BTX
	.comm	_PORT_AUTO_NEG_10BT_FD,8,3      ; @PORT_AUTO_NEG_10BT_FD
	.comm	_PORT_AUTO_NEG_10BT,8,3         ; @PORT_AUTO_NEG_10BT
	.comm	_PHY_AUTO_NEG_SYM_PAUSE,4,2     ; @PHY_AUTO_NEG_SYM_PAUSE
	.comm	_PHY_AUTO_NEG_100BTX_FD,4,2     ; @PHY_AUTO_NEG_100BTX_FD
	.comm	_PHY_AUTO_NEG_100BTX,4,2        ; @PHY_AUTO_NEG_100BTX
	.comm	_PHY_AUTO_NEG_10BT_FD,4,2       ; @PHY_AUTO_NEG_10BT_FD
	.comm	_PHY_AUTO_NEG_10BT,4,2          ; @PHY_AUTO_NEG_10BT
	.no_dead_strip	_ksz8795_w_phy
.subsections_via_symbols
