	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipq806x_gmac_probe
_ipq806x_gmac_probe:                    ## @ipq806x_gmac_probe
	.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
	movq	%rdi, %r12
	leaq	-48(%rbp), %rsi
	callq	_stmmac_get_platform_resources
	movl	%eax, %ebx
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jne	LBB0_22
## %bb.1:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_stmmac_probe_config_dt
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_22
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%r12, 16(%rax)
	movq	%rax, %rdi
	callq	_ipq806x_gmac_of_parse
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_21
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_7:
	movl	8(%r15), %edi
	movq	_QSGMII_PCS_CAL_LCKDT_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QSGMII_PCS_CAL_LCKDT_CTL_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_regmap_write
	movq	_NSS_COMMON_GMAC_CTL_IFG_OFFSET@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$12, %ebx
	movl	$12, %eax
	shll	%cl, %eax
	movq	_NSS_COMMON_GMAC_CTL_IFG_LIMIT_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	orl	%eax, %ebx
	movq	_NSS_COMMON_GMAC_CTL_CSYS_REQ@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, -44(%rbp)
	movl	(%r15), %edi
	cmpl	$128, %edi
	je	LBB0_10
## %bb.8:
	cmpl	$129, %edi
	jne	LBB0_19
## %bb.9:
	movq	_NSS_COMMON_GMAC_CTL_PHY_IFACE_SEL@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_11
LBB0_10:
	movq	_NSS_COMMON_GMAC_CTL_PHY_IFACE_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_11:
	movl	%ebx, -44(%rbp)
	movl	4(%r15), %edi
	movl	12(%r15), %r13d
	callq	_NSS_COMMON_GMAC_CTL
	movl	%r13d, %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_regmap_write
	movl	12(%r15), %edi
	movq	_NSS_COMMON_CLK_SRC_CTRL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	4(%r15), %edi
	callq	_NSS_COMMON_CLK_SRC_CTRL_OFFSET
	movl	$-2, %edx
	movl	%eax, %ecx
	roll	%cl, %edx
	andl	%edx, -44(%rbp)
	movl	(%r15), %edi
	cmpl	$128, %edi
	je	LBB0_18
## %bb.12:
	cmpl	$129, %edi
	jne	LBB0_19
## %bb.13:
	movl	4(%r15), %edi
	callq	_NSS_COMMON_CLK_SRC_CTRL_RGMII
	jmp	LBB0_14
LBB0_19:
	callq	_phy_modes
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_20:
	subl	(%rax), %ebx
LBB0_21:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_stmmac_remove_config_dt
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	4(%r15), %edi
	callq	_NSS_COMMON_CLK_SRC_CTRL_SGMII
LBB0_14:
	movl	%eax, %ebx
	movl	4(%r15), %edi
	callq	_NSS_COMMON_CLK_SRC_CTRL_OFFSET
	movl	%eax, %ecx
	shll	%cl, %ebx
	orl	-44(%rbp), %ebx
	movl	%ebx, -44(%rbp)
	movl	12(%r15), %edi
	movl	(%r13), %esi
	movl	%ebx, %edx
	callq	_regmap_write
	movl	12(%r15), %edi
	movq	_NSS_COMMON_CLK_GATE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	4(%r15), %edi
	callq	_NSS_COMMON_CLK_GATE_PTP_EN
	orl	-44(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	12(%r15), %edi
	movl	(%rbx), %esi
	movl	%eax, %edx
	callq	_regmap_write
	cmpl	$128, (%r15)
	jne	LBB0_16
## %bb.15:
	movl	4(%r15), %edi
	movl	8(%r15), %r13d
	callq	_QSGMII_PHY_SGMII_CTL
	movq	_QSGMII_PHY_PHASE_LOOP_GAIN_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$4, %edx
	shlq	%cl, %rdx
	movq	_QSGMII_PHY_RX_DC_BIAS_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$3, %esi
	shlq	%cl, %rsi
	movq	_QSGMII_PHY_RX_INPUT_EQU_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %r9d
	shlq	%cl, %r9
	movq	_QSGMII_PHY_CDR_PI_SLEW_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$2, %ebx
	shlq	%cl, %rbx
	movq	_QSGMII_PHY_CDR_EN@GOTPCREL(%rip), %r8
	movq	_QSGMII_PHY_RX_FRONT_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%r8), %edi
	movq	_QSGMII_PHY_RX_SIGNAL_DETECT_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movq	_QSGMII_PHY_TX_DRIVER_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movq	_QSGMII_PHY_QSGMII_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	orl	%edx, %esi
	movq	_QSGMII_PHY_TX_DRV_AMP_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$12, %edx
	shlq	%cl, %rdx
	orl	%edi, %esi
	orl	%r9d, %ebx
	orl	%ebx, %edx
	orl	%esi, %edx
	movl	%r13d, %edi
	movl	%eax, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_regmap_write
LBB0_16:
	movl	$1, (%r14)
	movq	%r15, 8(%r14)
	movq	_ipq806x_gmac_fix_mac_speed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_stmmac_dvr_probe
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.17:
	xorl	%ebx, %ebx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device tree parsing error\n"

	.comm	_QSGMII_PCS_CAL_LCKDT_CTL,4,2   ## @QSGMII_PCS_CAL_LCKDT_CTL
	.comm	_QSGMII_PCS_CAL_LCKDT_CTL_RST,4,2 ## @QSGMII_PCS_CAL_LCKDT_CTL_RST
	.comm	_NSS_COMMON_GMAC_CTL_IFG_OFFSET,4,2 ## @NSS_COMMON_GMAC_CTL_IFG_OFFSET
	.comm	_NSS_COMMON_GMAC_CTL_IFG_LIMIT_OFFSET,4,2 ## @NSS_COMMON_GMAC_CTL_IFG_LIMIT_OFFSET
	.comm	_NSS_COMMON_GMAC_CTL_CSYS_REQ,4,2 ## @NSS_COMMON_GMAC_CTL_CSYS_REQ
	.comm	_NSS_COMMON_GMAC_CTL_PHY_IFACE_SEL,4,2 ## @NSS_COMMON_GMAC_CTL_PHY_IFACE_SEL
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported PHY mode: \"%s\"\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NSS_COMMON_CLK_SRC_CTRL,4,2    ## @NSS_COMMON_CLK_SRC_CTRL
	.comm	_NSS_COMMON_CLK_GATE,4,2        ## @NSS_COMMON_CLK_GATE
	.comm	_QSGMII_PHY_CDR_EN,4,2          ## @QSGMII_PHY_CDR_EN
	.comm	_QSGMII_PHY_RX_FRONT_EN,4,2     ## @QSGMII_PHY_RX_FRONT_EN
	.comm	_QSGMII_PHY_RX_SIGNAL_DETECT_EN,4,2 ## @QSGMII_PHY_RX_SIGNAL_DETECT_EN
	.comm	_QSGMII_PHY_TX_DRIVER_EN,4,2    ## @QSGMII_PHY_TX_DRIVER_EN
	.comm	_QSGMII_PHY_QSGMII_EN,4,2       ## @QSGMII_PHY_QSGMII_EN
	.comm	_QSGMII_PHY_PHASE_LOOP_GAIN_OFFSET,4,2 ## @QSGMII_PHY_PHASE_LOOP_GAIN_OFFSET
	.comm	_QSGMII_PHY_RX_DC_BIAS_OFFSET,4,2 ## @QSGMII_PHY_RX_DC_BIAS_OFFSET
	.comm	_QSGMII_PHY_RX_INPUT_EQU_OFFSET,4,2 ## @QSGMII_PHY_RX_INPUT_EQU_OFFSET
	.comm	_QSGMII_PHY_CDR_PI_SLEW_OFFSET,4,2 ## @QSGMII_PHY_CDR_PI_SLEW_OFFSET
	.comm	_QSGMII_PHY_TX_DRV_AMP_OFFSET,4,2 ## @QSGMII_PHY_TX_DRV_AMP_OFFSET
	.comm	_ipq806x_gmac_fix_mac_speed,4,2 ## @ipq806x_gmac_fix_mac_speed
	.no_dead_strip	_ipq806x_gmac_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipq806x_gmac_probe
_ipq806x_gmac_probe:                    ; @ipq806x_gmac_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	add	x1, sp, #24
	bl	_stmmac_get_platform_resources
	mov	x22, x0
	str	w0, [sp, #20]
	cbnz	w0, LBB0_17
; %bb.1:
	add	x1, sp, #24
	mov	x0, x19
	bl	_stmmac_probe_config_dt
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_17
LBB0_3:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	str	x19, [x0, #16]
	bl	_ipq806x_gmac_of_parse
	cbz	w0, LBB0_7
; %bb.5:
	mov	x22, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_16
LBB0_6:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
LBB0_7:
	ldr	w0, [x21, #8]
Lloh7:
	adrp	x8, _QSGMII_PCS_CAL_LCKDT_CTL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _QSGMII_PCS_CAL_LCKDT_CTL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _QSGMII_PCS_CAL_LCKDT_CTL_RST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QSGMII_PCS_CAL_LCKDT_CTL_RST@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_regmap_write
Lloh13:
	adrp	x8, _NSS_COMMON_GMAC_CTL_IFG_OFFSET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NSS_COMMON_GMAC_CTL_IFG_OFFSET@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	mov	w9, #12
	lsl	w8, w9, w8
Lloh16:
	adrp	x10, _NSS_COMMON_GMAC_CTL_IFG_LIMIT_OFFSET@GOTPAGE
Lloh17:
	ldr	x10, [x10, _NSS_COMMON_GMAC_CTL_IFG_LIMIT_OFFSET@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh19:
	adrp	x10, _NSS_COMMON_GMAC_CTL_CSYS_REQ@GOTPAGE
Lloh20:
	ldr	x10, [x10, _NSS_COMMON_GMAC_CTL_CSYS_REQ@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh21:
	ldr	w9, [x10]
	orr	w8, w8, w9
	str	w8, [sp, #20]
	ldr	w0, [x21]
	cmp	w0, #128
	b.eq	LBB0_10
; %bb.8:
	cmp	w0, #129
	b.ne	LBB0_14
; %bb.9:
Lloh22:
	adrp	x9, _NSS_COMMON_GMAC_CTL_PHY_IFACE_SEL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _NSS_COMMON_GMAC_CTL_PHY_IFACE_SEL@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w22, w9, w8
	b	LBB0_11
LBB0_10:
Lloh25:
	adrp	x9, _NSS_COMMON_GMAC_CTL_PHY_IFACE_SEL@GOTPAGE
Lloh26:
	ldr	x9, [x9, _NSS_COMMON_GMAC_CTL_PHY_IFACE_SEL@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	bic	w22, w8, w9
LBB0_11:
	str	w22, [sp, #20]
	ldr	w23, [x21, #12]
	ldr	w0, [x21, #4]
	bl	_NSS_COMMON_GMAC_CTL
	mov	x1, x0
	mov	x0, x23
	mov	x2, x22
	bl	_regmap_write
	ldr	w0, [x21, #12]
Lloh28:
	adrp	x23, _NSS_COMMON_CLK_SRC_CTRL@GOTPAGE
Lloh29:
	ldr	x23, [x23, _NSS_COMMON_CLK_SRC_CTRL@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #20
	bl	_regmap_read
	ldr	w0, [x21, #4]
	bl	_NSS_COMMON_CLK_SRC_CTRL_OFFSET
	mov	w8, #1
	lsl	w8, w8, w0
	ldr	w9, [sp, #20]
	bic	w8, w9, w8
	str	w8, [sp, #20]
	ldr	w0, [x21]
	cmp	w0, #128
	b.eq	LBB0_18
; %bb.12:
	cmp	w0, #129
	b.ne	LBB0_14
; %bb.13:
	ldr	w0, [x21, #4]
	bl	_NSS_COMMON_CLK_SRC_CTRL_RGMII
	b	LBB0_19
LBB0_14:
	bl	_phy_modes
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh32:
	adrp	x8, _EINVAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_16:
	mov	x0, x19
	mov	x1, x20
	bl	_stmmac_remove_config_dt
LBB0_17:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_18:
	ldr	w0, [x21, #4]
	bl	_NSS_COMMON_CLK_SRC_CTRL_SGMII
LBB0_19:
	mov	x22, x0
	ldr	w0, [x21, #4]
	bl	_NSS_COMMON_CLK_SRC_CTRL_OFFSET
	lsl	w8, w22, w0
	ldr	w9, [sp, #20]
	orr	w2, w9, w8
	str	w2, [sp, #20]
	ldr	w0, [x21, #12]
	ldr	w1, [x23]
	bl	_regmap_write
	ldr	w0, [x21, #12]
Lloh34:
	adrp	x22, _NSS_COMMON_CLK_GATE@GOTPAGE
Lloh35:
	ldr	x22, [x22, _NSS_COMMON_CLK_GATE@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #20
	bl	_regmap_read
	ldr	w0, [x21, #4]
	bl	_NSS_COMMON_CLK_GATE_PTP_EN
	ldr	w8, [sp, #20]
	orr	w2, w8, w0
	str	w2, [sp, #20]
	ldr	w0, [x21, #12]
	ldr	w1, [x22]
	bl	_regmap_write
	ldr	w8, [x21]
	cmp	w8, #128
	b.ne	LBB0_21
; %bb.20:
	ldp	w0, w22, [x21, #4]
	bl	_QSGMII_PHY_SGMII_CTL
	mov	x1, x0
Lloh36:
	adrp	x8, _QSGMII_PHY_CDR_EN@GOTPAGE
Lloh37:
	ldr	x8, [x8, _QSGMII_PHY_CDR_EN@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _QSGMII_PHY_RX_FRONT_EN@GOTPAGE
Lloh40:
	ldr	x9, [x9, _QSGMII_PHY_RX_FRONT_EN@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh42:
	adrp	x9, _QSGMII_PHY_RX_SIGNAL_DETECT_EN@GOTPAGE
Lloh43:
	ldr	x9, [x9, _QSGMII_PHY_RX_SIGNAL_DETECT_EN@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh45:
	adrp	x9, _QSGMII_PHY_TX_DRIVER_EN@GOTPAGE
Lloh46:
	ldr	x9, [x9, _QSGMII_PHY_TX_DRIVER_EN@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh48:
	adrp	x9, _QSGMII_PHY_QSGMII_EN@GOTPAGE
Lloh49:
	ldr	x9, [x9, _QSGMII_PHY_QSGMII_EN@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh51:
	adrp	x9, _QSGMII_PHY_PHASE_LOOP_GAIN_OFFSET@GOTPAGE
Lloh52:
	ldr	x9, [x9, _QSGMII_PHY_PHASE_LOOP_GAIN_OFFSET@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	mov	w10, #4
	lsl	x9, x10, x9
	orr	w8, w9, w8
Lloh54:
	adrp	x9, _QSGMII_PHY_RX_DC_BIAS_OFFSET@GOTPAGE
Lloh55:
	ldr	x9, [x9, _QSGMII_PHY_RX_DC_BIAS_OFFSET@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	mov	w10, #3
	lsl	x9, x10, x9
	orr	w8, w8, w9
Lloh57:
	adrp	x9, _QSGMII_PHY_RX_INPUT_EQU_OFFSET@GOTPAGE
Lloh58:
	ldr	x9, [x9, _QSGMII_PHY_RX_INPUT_EQU_OFFSET@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	x9, x10, x9
	orr	w8, w8, w9
Lloh60:
	adrp	x9, _QSGMII_PHY_CDR_PI_SLEW_OFFSET@GOTPAGE
Lloh61:
	ldr	x9, [x9, _QSGMII_PHY_CDR_PI_SLEW_OFFSET@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	mov	w10, #2
	lsl	x9, x10, x9
	orr	w8, w8, w9
Lloh63:
	adrp	x9, _QSGMII_PHY_TX_DRV_AMP_OFFSET@GOTPAGE
Lloh64:
	ldr	x9, [x9, _QSGMII_PHY_TX_DRV_AMP_OFFSET@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	mov	w10, #12
	lsl	x9, x10, x9
	orr	w2, w8, w9
	mov	x0, x22
	bl	_regmap_write
LBB0_21:
	mov	w8, #1
	str	w8, [x20]
	str	x21, [x20, #8]
Lloh66:
	adrp	x8, _ipq806x_gmac_fix_mac_speed@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ipq806x_gmac_fix_mac_speed@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	str	w8, [x20, #4]
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	bl	_stmmac_dvr_probe
	mov	x22, x0
	cbnz	w0, LBB0_16
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.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	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device tree parsing error\n"

	.comm	_QSGMII_PCS_CAL_LCKDT_CTL,4,2   ; @QSGMII_PCS_CAL_LCKDT_CTL
	.comm	_QSGMII_PCS_CAL_LCKDT_CTL_RST,4,2 ; @QSGMII_PCS_CAL_LCKDT_CTL_RST
	.comm	_NSS_COMMON_GMAC_CTL_IFG_OFFSET,4,2 ; @NSS_COMMON_GMAC_CTL_IFG_OFFSET
	.comm	_NSS_COMMON_GMAC_CTL_IFG_LIMIT_OFFSET,4,2 ; @NSS_COMMON_GMAC_CTL_IFG_LIMIT_OFFSET
	.comm	_NSS_COMMON_GMAC_CTL_CSYS_REQ,4,2 ; @NSS_COMMON_GMAC_CTL_CSYS_REQ
	.comm	_NSS_COMMON_GMAC_CTL_PHY_IFACE_SEL,4,2 ; @NSS_COMMON_GMAC_CTL_PHY_IFACE_SEL
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported PHY mode: \"%s\"\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NSS_COMMON_CLK_SRC_CTRL,4,2    ; @NSS_COMMON_CLK_SRC_CTRL
	.comm	_NSS_COMMON_CLK_GATE,4,2        ; @NSS_COMMON_CLK_GATE
	.comm	_QSGMII_PHY_CDR_EN,4,2          ; @QSGMII_PHY_CDR_EN
	.comm	_QSGMII_PHY_RX_FRONT_EN,4,2     ; @QSGMII_PHY_RX_FRONT_EN
	.comm	_QSGMII_PHY_RX_SIGNAL_DETECT_EN,4,2 ; @QSGMII_PHY_RX_SIGNAL_DETECT_EN
	.comm	_QSGMII_PHY_TX_DRIVER_EN,4,2    ; @QSGMII_PHY_TX_DRIVER_EN
	.comm	_QSGMII_PHY_QSGMII_EN,4,2       ; @QSGMII_PHY_QSGMII_EN
	.comm	_QSGMII_PHY_PHASE_LOOP_GAIN_OFFSET,4,2 ; @QSGMII_PHY_PHASE_LOOP_GAIN_OFFSET
	.comm	_QSGMII_PHY_RX_DC_BIAS_OFFSET,4,2 ; @QSGMII_PHY_RX_DC_BIAS_OFFSET
	.comm	_QSGMII_PHY_RX_INPUT_EQU_OFFSET,4,2 ; @QSGMII_PHY_RX_INPUT_EQU_OFFSET
	.comm	_QSGMII_PHY_CDR_PI_SLEW_OFFSET,4,2 ; @QSGMII_PHY_CDR_PI_SLEW_OFFSET
	.comm	_QSGMII_PHY_TX_DRV_AMP_OFFSET,4,2 ; @QSGMII_PHY_TX_DRV_AMP_OFFSET
	.comm	_ipq806x_gmac_fix_mac_speed,4,2 ; @ipq806x_gmac_fix_mac_speed
	.no_dead_strip	_ipq806x_gmac_probe
.subsections_via_symbols
