	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltq_rcu_usb2_phy_init
_ltq_rcu_usb2_phy_init:                 ## @ltq_rcu_usb2_phy_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_phy_get_drvdata
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_2
## %bb.1:
	movl	12(%rbx), %edi
	movl	16(%rbx), %esi
	movq	_RCU_CFG1_TX_PEE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	callq	_regmap_update_bits
	movl	12(%rbx), %edi
	movl	16(%rbx), %esi
	movq	_RCU_CFG1_DIS_THR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RCU_CFG1_DIS_THR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$7, %eax
	shll	%cl, %eax
	movl	%eax, %ecx
	callq	_regmap_update_bits
	movq	(%rbx), %rax
LBB0_2:
	movl	8(%rbx), %r14d
	movl	12(%rbx), %r15d
	movl	8(%rax), %edi
	callq	_BIT
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movl	12(%rbx), %r14d
	movl	8(%rbx), %r15d
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	callq	_BIT
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movl	12(%rbx), %r14d
	movl	8(%rbx), %r15d
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_regmap_update_bits
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCU_CFG1_TX_PEE,4,2            ## @RCU_CFG1_TX_PEE
	.comm	_RCU_CFG1_DIS_THR_MASK,4,2      ## @RCU_CFG1_DIS_THR_MASK
	.comm	_RCU_CFG1_DIS_THR_SHIFT,4,2     ## @RCU_CFG1_DIS_THR_SHIFT
	.no_dead_strip	_ltq_rcu_usb2_phy_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltq_rcu_usb2_phy_init
_ltq_rcu_usb2_phy_init:                 ; @ltq_rcu_usb2_phy_init
	.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
	bl	_phy_get_drvdata
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_2
; %bb.1:
	ldp	w0, w1, [x19, #12]
Lloh0:
	adrp	x8, _RCU_CFG1_TX_PEE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCU_CFG1_TX_PEE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x3, x2
	bl	_regmap_update_bits
	ldp	w0, w1, [x19, #12]
Lloh3:
	adrp	x8, _RCU_CFG1_DIS_THR_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RCU_CFG1_DIS_THR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _RCU_CFG1_DIS_THR_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCU_CFG1_DIS_THR_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, #7
	lsl	w3, w9, w8
	bl	_regmap_update_bits
	ldr	x8, [x19]
LBB0_2:
	ldp	w21, w20, [x19, #8]
	ldr	w0, [x8, #8]
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_regmap_update_bits
	ldp	w21, w20, [x19, #8]
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_regmap_update_bits
	ldp	w21, w20, [x19, #8]
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_BIT
	mov	x22, x0
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_BIT
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_regmap_update_bits
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RCU_CFG1_TX_PEE,4,2            ; @RCU_CFG1_TX_PEE
	.comm	_RCU_CFG1_DIS_THR_MASK,4,2      ; @RCU_CFG1_DIS_THR_MASK
	.comm	_RCU_CFG1_DIS_THR_SHIFT,4,2     ; @RCU_CFG1_DIS_THR_SHIFT
	.no_dead_strip	_ltq_rcu_usb2_phy_init
.subsections_via_symbols
