	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_port_set_rgmii_delay
_mv88e6xxx_port_set_rgmii_delay:        ## @mv88e6xxx_port_set_rgmii_delay
	.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
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_MV88E6XXX_PORT_MAC_CTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-44(%rbp), %rcx
	callq	_mv88e6xxx_port_read
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	_MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_RXCLK@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	movq	_MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_TXCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edi
	orl	%r8d, %edi
	movl	%edi, %ecx
	notl	%ecx
	movl	-44(%rbp), %edx
	andl	%edx, %ecx
	movl	%ecx, -44(%rbp)
	xorl	%eax, %eax
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_8
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rbx
	addq	%rax, %rbx
	jmpq	*%rbx
LBB0_4:
	orl	%esi, %ecx
	movl	%ecx, -44(%rbp)
	jmp	LBB0_6
LBB0_3:
	orl	%r8d, %ecx
	movl	%ecx, -44(%rbp)
	jmp	LBB0_6
LBB0_5:
	orl	%edi, %edx
	movl	%edx, -44(%rbp)
	movl	%edx, %ecx
LBB0_6:
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_mv88e6xxx_port_write
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	(%r15), %edi
	movl	-44(%rbp), %eax
	movl	(%r12), %ecx
	andl	%eax, %ecx
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.1(%rip), %r8
	movq	%r8, %rcx
	cmoveq	%rdx, %rcx
	movq	_MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_TXCLK@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	cmoveq	%rdx, %r8
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_dbg
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_MV88E6XXX_PORT_MAC_CTL,4,2     ## @MV88E6XXX_PORT_MAC_CTL
	.comm	_MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_RXCLK,4,2 ## @MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_RXCLK
	.comm	_MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_TXCLK,4,2 ## @MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_TXCLK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"p%d: delay RXCLK %s, TXCLK %s\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"no"

	.no_dead_strip	_mv88e6xxx_port_set_rgmii_delay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6xxx_port_set_rgmii_delay
_mv88e6xxx_port_set_rgmii_delay:        ; @mv88e6xxx_port_set_rgmii_delay
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _MV88E6XXX_PORT_MAC_CTL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MV88E6XXX_PORT_MAC_CTL@GOTPAGEOFF]
	ldr	w2, [x24]
	add	x3, sp, #12
	bl	_mv88e6xxx_port_read
	cbnz	w0, LBB0_10
; %bb.1:
Lloh2:
	adrp	x23, _MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_RXCLK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_RXCLK@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh4:
	adrp	x22, _MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_TXCLK@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_TXCLK@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w10, w9, w8
	ldr	w11, [sp, #12]
	bic	w3, w11, w10
	str	w3, [sp, #12]
	sub	w12, w21, #128
	cmp	w12, #3
	b.hi	LBB0_9
; %bb.2:
Lloh6:
	adrp	x13, lJTI0_0@PAGE
Lloh7:
	add	x13, x13, lJTI0_0@PAGEOFF
	adr	x14, LBB0_3
	ldrb	w15, [x13, x12]
	add	x14, x14, x15, lsl #2
	br	x14
LBB0_3:
	orr	w3, w3, w9
	b	LBB0_6
LBB0_4:
	orr	w3, w3, w8
	b	LBB0_6
LBB0_5:
	orr	w3, w11, w10
LBB0_6:
	str	w3, [sp, #12]
LBB0_7:
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x19
	bl	_mv88e6xxx_port_write
	cbnz	w0, LBB0_10
; %bb.8:
	ldr	w0, [x20]
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x9, l_.str.1@PAGE
Lloh9:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh10:
	adrp	x10, l_.str.2@PAGE
Lloh11:
	add	x10, x10, l_.str.2@PAGEOFF
	ldr	w11, [x23]
	tst	w11, w8
	csel	x3, x10, x9, eq
	ldr	w11, [x22]
	tst	w11, w8
	csel	x4, x10, x9, eq
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
LBB0_9:
	mov	w0, #0
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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
                                        ; -- End function
	.comm	_MV88E6XXX_PORT_MAC_CTL,4,2     ; @MV88E6XXX_PORT_MAC_CTL
	.comm	_MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_RXCLK,4,2 ; @MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_RXCLK
	.comm	_MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_TXCLK,4,2 ; @MV88E6XXX_PORT_MAC_CTL_RGMII_DELAY_TXCLK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"p%d: delay RXCLK %s, TXCLK %s\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"no"

	.no_dead_strip	_mv88e6xxx_port_set_rgmii_delay
.subsections_via_symbols
