	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_kona_usb_phy_init
_bcm_kona_usb_phy_init:                 ## @bcm_kona_usb_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, %r14
	movq	_P1CTL@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%rax), %rdi
	callq	_readl
	movq	_P1CTL_NON_DRIVING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_P1CTL_SOFT_RESET@GOTPCREL(%rip), %r12
	orl	(%r12), %ebx
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	(%r12), %edi
	notl	%edi
	andl	%ebx, %edi
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	$2, %edi
	callq	_mdelay
	orl	(%r12), %ebx
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P1CTL,8,3                      ## @P1CTL
	.comm	_P1CTL_NON_DRIVING,4,2          ## @P1CTL_NON_DRIVING
	.comm	_P1CTL_SOFT_RESET,4,2           ## @P1CTL_SOFT_RESET
	.no_dead_strip	_bcm_kona_usb_phy_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_kona_usb_phy_init
_bcm_kona_usb_phy_init:                 ; @bcm_kona_usb_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]
Lloh0:
	adrp	x21, _P1CTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _P1CTL@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _P1CTL_NON_DRIVING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P1CTL_NON_DRIVING@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x22, _P1CTL_SOFT_RESET@GOTPAGE
Lloh6:
	ldr	x22, [x22, _P1CTL_SOFT_RESET@GOTPAGEOFF]
	bic	w8, w0, w8
	ldr	w9, [x22]
	orr	w20, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
	ldr	w8, [x22]
	bic	w0, w20, w8
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #2
	bl	_mdelay
	ldr	w8, [x22]
	orr	w0, w8, w20
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_P1CTL,8,3                      ; @P1CTL
	.comm	_P1CTL_NON_DRIVING,4,2          ; @P1CTL_NON_DRIVING
	.comm	_P1CTL_SOFT_RESET,4,2           ; @P1CTL_SOFT_RESET
	.no_dead_strip	_bcm_kona_usb_phy_init
.subsections_via_symbols
