	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uli526x_set_phyxcer
_uli526x_set_phyxcer:                   ## @uli526x_set_phyxcer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	movl	8(%rbx), %ecx
	movl	12(%rbx), %esi
	movl	$4, %edx
	callq	_phy_read
	andl	$-481, %eax                     ## imm = 0xFE1F
	movl	(%rbx), %ecx
	movq	_ULI526X_AUTO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, %edx
	je	LBB0_2
## %bb.1:
	orl	4(%rbx), %eax
LBB0_8:
	testl	$480, %eax                      ## imm = 0x1E0
	jne	LBB0_10
## %bb.9:
	orl	4(%rbx), %eax
	orl	%ecx, %edx
	movl	%edx, (%rbx)
LBB0_10:
	movl	16(%rbx), %edi
	movl	8(%rbx), %r8d
	movl	12(%rbx), %esi
	movl	$4, %edx
	movl	%eax, %ecx
	callq	_phy_write
	movl	16(%rbx), %edi
	movl	8(%rbx), %r8d
	movl	12(%rbx), %esi
	xorl	%edx, %edx
	movl	$4608, %ecx                     ## imm = 0x1200
	callq	_phy_write
	movl	$50, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
LBB0_2:
	leal	-128(%rcx), %esi
	cmpl	$3, %esi
	ja	LBB0_8
## %bb.3:
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rsi,4), %rsi
	addq	%rdi, %rsi
	jmpq	*%rsi
LBB0_4:
	orl	$32, %eax
	jmp	LBB0_8
LBB0_5:
	orl	$64, %eax
	jmp	LBB0_8
LBB0_6:
	orl	$128, %eax
	jmp	LBB0_8
LBB0_7:
	orl	$256, %eax                      ## imm = 0x100
	jmp	LBB0_8
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_ULI526X_AUTO,4,2               ## @ULI526X_AUTO
	.no_dead_strip	_uli526x_set_phyxcer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uli526x_set_phyxcer
_uli526x_set_phyxcer:                   ; @uli526x_set_phyxcer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #16]
	ldp	w3, w1, [x19, #8]
	mov	w2, #4
	bl	_phy_read
	and	w3, w0, #0xfffffe1f
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _ULI526X_AUTO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ULI526X_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	ldr	w10, [x19, #4]
	orr	w3, w10, w3
LBB0_2:
	tst	w3, #0x1e0
	b.ne	LBB0_4
; %bb.3:
	ldr	w10, [x19, #4]
	orr	w3, w10, w3
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	ldp	w1, w0, [x19, #12]
	ldr	w4, [x19, #8]
	mov	w2, #4
	bl	_phy_write
	ldp	w1, w0, [x19, #12]
	ldr	w4, [x19, #8]
	mov	w2, #0
	mov	w3, #4608
	bl	_phy_write
	mov	w0, #50
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_udelay
LBB0_5:
	sub	w10, w8, #128
	cmp	w10, #3
	b.hi	LBB0_2
; %bb.6:
Lloh3:
	adrp	x11, lJTI0_0@PAGE
Lloh4:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_7
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_7:
	orr	w3, w3, #0x20
	b	LBB0_2
LBB0_8:
	orr	w3, w3, #0x40
	b	LBB0_2
LBB0_9:
	orr	w3, w3, #0x80
	b	LBB0_2
LBB0_10:
	orr	w3, w3, #0x100
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
                                        ; -- End function
	.comm	_ULI526X_AUTO,4,2               ; @ULI526X_AUTO
	.no_dead_strip	_uli526x_set_phyxcer
.subsections_via_symbols
