	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ravb_set_delay_mode
_ravb_set_delay_mode:                   ## @ravb_set_delay_mode
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_PHY_INTERFACE_MODE_RGMII_ID@GOTPCREL(%rip), %rcx
	movq	_PHY_INTERFACE_MODE_RGMII_RXID@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	cmpq	(%rdx), %rax
	movq	_APSR_DM_RDM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmovel	%edx, %ebx
	cmpq	(%rcx), %rax
	cmovel	%edx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_PHY_INTERFACE_MODE_RGMII_TXID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	movq	_ravb_delay_mode_quirk_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_soc_device_match
	movl	%eax, %r12d
	movq	(%r15), %rdi
	callq	_phy_modes
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	callq	_WARN
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_APSR_DM_TDM@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_4:
	movq	_APSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_APSR_DM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ravb_modify                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_INTERFACE_MODE_RGMII_ID,8,3 ## @PHY_INTERFACE_MODE_RGMII_ID
	.comm	_PHY_INTERFACE_MODE_RGMII_RXID,8,3 ## @PHY_INTERFACE_MODE_RGMII_RXID
	.comm	_APSR_DM_RDM,4,2                ## @APSR_DM_RDM
	.comm	_PHY_INTERFACE_MODE_RGMII_TXID,8,3 ## @PHY_INTERFACE_MODE_RGMII_TXID
	.comm	_ravb_delay_mode_quirk_match,4,2 ## @ravb_delay_mode_quirk_match
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"phy-mode %s requires TX clock internal delay mode which is not supported by this hardware revision. Please update device tree"

	.comm	_APSR_DM_TDM,4,2                ## @APSR_DM_TDM
	.comm	_APSR,4,2                       ## @APSR
	.comm	_APSR_DM,4,2                    ## @APSR_DM
	.no_dead_strip	_ravb_set_delay_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ravb_set_delay_mode
_ravb_set_delay_mode:                   ; @ravb_set_delay_mode
	.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
	bl	_netdev_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PHY_INTERFACE_MODE_RGMII_ID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_INTERFACE_MODE_RGMII_ID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _PHY_INTERFACE_MODE_RGMII_RXID@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PHY_INTERFACE_MODE_RGMII_RXID@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
Lloh6:
	adrp	x10, _APSR_DM_RDM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _APSR_DM_RDM@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	csel	w20, w10, wzr, eq
Lloh9:
	adrp	x10, _PHY_INTERFACE_MODE_RGMII_TXID@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PHY_INTERFACE_MODE_RGMII_TXID@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x0
Lloh12:
	adrp	x8, _ravb_delay_mode_quirk_match@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ravb_delay_mode_quirk_match@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_soc_device_match
	mov	x22, x0
	ldr	x0, [x21]
	bl	_phy_modes
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_WARN
	cbnz	w0, LBB0_3
; %bb.2:
Lloh17:
	adrp	x8, _APSR_DM_TDM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _APSR_DM_TDM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_3:
Lloh20:
	adrp	x8, _APSR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _APSR@GOTPAGEOFF]
Lloh22:
	adrp	x9, _APSR_DM@GOTPAGE
Lloh23:
	ldr	x9, [x9, _APSR_DM@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x3, x20
	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	_ravb_modify
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_INTERFACE_MODE_RGMII_ID,8,3 ; @PHY_INTERFACE_MODE_RGMII_ID
	.comm	_PHY_INTERFACE_MODE_RGMII_RXID,8,3 ; @PHY_INTERFACE_MODE_RGMII_RXID
	.comm	_APSR_DM_RDM,4,2                ; @APSR_DM_RDM
	.comm	_PHY_INTERFACE_MODE_RGMII_TXID,8,3 ; @PHY_INTERFACE_MODE_RGMII_TXID
	.comm	_ravb_delay_mode_quirk_match,4,2 ; @ravb_delay_mode_quirk_match
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"phy-mode %s requires TX clock internal delay mode which is not supported by this hardware revision. Please update device tree"

	.comm	_APSR_DM_TDM,4,2                ; @APSR_DM_TDM
	.comm	_APSR,4,2                       ; @APSR
	.comm	_APSR_DM,4,2                    ; @APSR_DM
	.no_dead_strip	_ravb_set_delay_mode
.subsections_via_symbols
