	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vsc738x_config_init
_vsc738x_config_init:                   ## @vsc738x_config_init
	.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	$31, %esi
	movl	$10800, %edx                    ## imm = 0x2A30
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$8, %esi
	movl	$512, %edx                      ## imm = 0x200
	movl	$512, %ecx                      ## imm = 0x200
	callq	_phy_modify
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$21173, %edx                    ## imm = 0x52B5
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$46730, %edx                    ## imm = 0xB68A
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$18, %esi
	movl	$65287, %edx                    ## imm = 0xFF07
	movl	$3, %ecx
	callq	_phy_modify
	movq	%rbx, %rdi
	movl	$17, %esi
	movl	$255, %edx
	movl	$162, %ecx
	callq	_phy_modify
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$38538, %edx                    ## imm = 0x968A
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$10800, %edx                    ## imm = 0x2A30
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$8, %esi
	movl	$512, %edx                      ## imm = 0x200
	xorl	%ecx, %ecx
	callq	_phy_modify
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_phy_write
	movq	_MII_PHYSID2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_phy_read
	movq	%rbx, %rdi
	movl	$31, %esi
	testb	$15, %al
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$18, %esi
	movl	$72, %edx
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$10800, %edx                    ## imm = 0x2A30
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$22, %esi
	movl	$4032, %edx                     ## imm = 0xFC0
	movl	$576, %ecx                      ## imm = 0x240
	callq	_phy_modify
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$24576, %edx                    ## imm = 0x6000
	movl	$16384, %ecx                    ## imm = 0x4000
	callq	_phy_modify
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$1, %edx
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$57344, %edx                    ## imm = 0xE000
	movl	$24576, %ecx                    ## imm = 0x6000
	callq	_phy_modify
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	jmp	LBB0_3
LBB0_1:
	movl	$10800, %edx                    ## imm = 0x2A30
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$8, %esi
	movl	$512, %edx                      ## imm = 0x200
	movl	$512, %ecx                      ## imm = 0x200
	callq	_phy_modify
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$21173, %edx                    ## imm = 0x52B5
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$18, %esi
	xorl	%edx, %edx
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$17, %esi
	movl	$1673, %edx                     ## imm = 0x689
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$36754, %edx                    ## imm = 0x8F92
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$21173, %edx                    ## imm = 0x52B5
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$18, %esi
	xorl	%edx, %edx
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$17, %esi
	movl	$3637, %edx                     ## imm = 0xE35
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$38790, %edx                    ## imm = 0x9786
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$10800, %edx                    ## imm = 0x2A30
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$8, %esi
	movl	$512, %edx                      ## imm = 0x200
	xorl	%ecx, %ecx
	callq	_phy_modify
	movq	%rbx, %rdi
	movl	$23, %esi
	movl	$65408, %edx                    ## imm = 0xFF80
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$23, %esi
	xorl	%edx, %edx
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$18, %esi
	movl	$72, %edx
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$31, %esi
	movl	$10800, %edx                    ## imm = 0x2A30
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$26112, %edx                    ## imm = 0x6600
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_phy_write
	movq	%rbx, %rdi
	movl	$24, %esi
	movl	$41550, %edx                    ## imm = 0xA24E
LBB0_3:
	callq	_phy_write
	movq	%rbx, %rdi
	callq	_vsc73xx_config_init
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_PHYSID2,4,2                ## @MII_PHYSID2
	.no_dead_strip	_vsc738x_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vsc738x_config_init
_vsc738x_config_init:                   ; @vsc738x_config_init
	.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
	mov	w1, #31
	mov	w2, #10800
	bl	_phy_write
	mov	x0, x19
	mov	w1, #8
	mov	w2, #512
	mov	w3, #512
	bl	_phy_modify
	mov	x0, x19
	mov	w1, #31
	mov	w2, #21173
	bl	_phy_write
	mov	x0, x19
	mov	w1, #16
	mov	w2, #46730
	bl	_phy_write
	mov	x0, x19
	mov	w1, #18
	mov	w2, #65287
	mov	w3, #3
	bl	_phy_modify
	mov	x0, x19
	mov	w1, #17
	mov	w2, #255
	mov	w3, #162
	bl	_phy_modify
	mov	x0, x19
	mov	w1, #16
	mov	w2, #38538
	bl	_phy_write
	mov	x0, x19
	mov	w1, #31
	mov	w2, #10800
	bl	_phy_write
	mov	x0, x19
	mov	w1, #8
	mov	w2, #512
	mov	w3, #0
	bl	_phy_modify
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_phy_write
Lloh0:
	adrp	x8, _MII_PHYSID2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MII_PHYSID2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_read
	tst	w0, #0xf
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_phy_write
	mov	x0, x19
	mov	w1, #18
	mov	w2, #72
	bl	_phy_write
	mov	x0, x19
	mov	w1, #31
	mov	w2, #10800
	bl	_phy_write
	mov	x0, x19
	mov	w1, #22
	mov	w2, #4032
	mov	w3, #576
	bl	_phy_modify
	mov	x0, x19
	mov	w1, #20
	mov	w2, #24576
	mov	w3, #16384
	bl	_phy_modify
	mov	x0, x19
	mov	w1, #31
	mov	w2, #1
	bl	_phy_write
	mov	x0, x19
	mov	w1, #20
	mov	w2, #57344
	mov	w3, #24576
	bl	_phy_modify
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #31
	mov	w2, #10800
	bl	_phy_write
	mov	x0, x19
	mov	w1, #8
	mov	w2, #512
	mov	w3, #512
	bl	_phy_modify
	mov	x0, x19
	mov	w1, #31
	mov	w2, #21173
	bl	_phy_write
	mov	x0, x19
	mov	w1, #18
	mov	w2, #0
	bl	_phy_write
	mov	x0, x19
	mov	w1, #17
	mov	w2, #1673
	bl	_phy_write
	mov	x0, x19
	mov	w1, #16
	mov	w2, #36754
	bl	_phy_write
	mov	x0, x19
	mov	w1, #31
	mov	w2, #21173
	bl	_phy_write
	mov	x0, x19
	mov	w1, #18
	mov	w2, #0
	bl	_phy_write
	mov	x0, x19
	mov	w1, #17
	mov	w2, #3637
	bl	_phy_write
	mov	x0, x19
	mov	w1, #16
	mov	w2, #38790
	bl	_phy_write
	mov	x0, x19
	mov	w1, #31
	mov	w2, #10800
	bl	_phy_write
	mov	x0, x19
	mov	w1, #8
	mov	w2, #512
	mov	w3, #0
	bl	_phy_modify
	mov	x0, x19
	mov	w1, #23
	mov	w2, #65408
	bl	_phy_write
	mov	x0, x19
	mov	w1, #23
	mov	w2, #0
	bl	_phy_write
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_phy_write
	mov	x0, x19
	mov	w1, #18
	mov	w2, #72
	bl	_phy_write
	mov	x0, x19
	mov	w1, #31
	mov	w2, #10800
	bl	_phy_write
	mov	x0, x19
	mov	w1, #20
	mov	w2, #26112
	bl	_phy_write
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_phy_write
	mov	x0, x19
	mov	w1, #24
	mov	w2, #41550
LBB0_3:
	bl	_phy_write
	mov	x0, x19
	bl	_vsc73xx_config_init
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_PHYSID2,4,2                ; @MII_PHYSID2
	.no_dead_strip	_vsc738x_config_init
.subsections_via_symbols
