	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx8mq_usb_phy_init
_imx8mq_usb_phy_init:                   ## @imx8mq_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	%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
	callq	_phy_get_drvdata
	movq	%rax, %rbx
	movq	_PHY_CTRL1@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rax), %rdi
	callq	_readl
	movq	_PHY_CTRL1_VDATSRCENB0@GOTPCREL(%rip), %rcx
	movq	_PHY_CTRL1_VDATDETENB0@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_PHY_CTRL1_COMMONONN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_PHY_CTRL1_RESET@GOTPCREL(%rip), %r15
	movq	_PHY_CTRL1_ATERESET@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	orl	(%r15), %edi
	orl	%edx, %edi
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_PHY_CTRL0@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_PHY_CTRL0_REF_SSP_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r13), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_PHY_CTRL2@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_PHY_CTRL2_TXENABLEN0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r13), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movl	(%r12), %edi
	orl	(%r15), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_CTRL1,8,3                  ## @PHY_CTRL1
	.comm	_PHY_CTRL1_VDATSRCENB0,4,2      ## @PHY_CTRL1_VDATSRCENB0
	.comm	_PHY_CTRL1_VDATDETENB0,4,2      ## @PHY_CTRL1_VDATDETENB0
	.comm	_PHY_CTRL1_COMMONONN,4,2        ## @PHY_CTRL1_COMMONONN
	.comm	_PHY_CTRL1_RESET,4,2            ## @PHY_CTRL1_RESET
	.comm	_PHY_CTRL1_ATERESET,4,2         ## @PHY_CTRL1_ATERESET
	.comm	_PHY_CTRL0,8,3                  ## @PHY_CTRL0
	.comm	_PHY_CTRL0_REF_SSP_EN,4,2       ## @PHY_CTRL0_REF_SSP_EN
	.comm	_PHY_CTRL2,8,3                  ## @PHY_CTRL2
	.comm	_PHY_CTRL2_TXENABLEN0,4,2       ## @PHY_CTRL2_TXENABLEN0
	.no_dead_strip	_imx8mq_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 imx8mq_usb_phy_init
_imx8mq_usb_phy_init:                   ; @imx8mq_usb_phy_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_phy_get_drvdata
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _PHY_CTRL1@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PHY_CTRL1@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _PHY_CTRL1_VDATSRCENB0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PHY_CTRL1_VDATSRCENB0@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _PHY_CTRL1_VDATDETENB0@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PHY_CTRL1_VDATDETENB0@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _PHY_CTRL1_COMMONONN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PHY_CTRL1_COMMONONN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w8, w0, w8
Lloh11:
	adrp	x21, _PHY_CTRL1_RESET@GOTPAGE
Lloh12:
	ldr	x21, [x21, _PHY_CTRL1_RESET@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh13:
	adrp	x22, _PHY_CTRL1_ATERESET@GOTPAGE
Lloh14:
	ldr	x22, [x22, _PHY_CTRL1_ATERESET@GOTPAGEOFF]
	ldr	w10, [x22]
	orr	w9, w10, w9
	orr	w0, w9, w8
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh15:
	adrp	x23, _PHY_CTRL0@GOTPAGE
Lloh16:
	ldr	x23, [x23, _PHY_CTRL0@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_readl
Lloh17:
	adrp	x8, _PHY_CTRL0_REF_SSP_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PHY_CTRL0_REF_SSP_EN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh20:
	adrp	x23, _PHY_CTRL2@GOTPAGE
Lloh21:
	ldr	x23, [x23, _PHY_CTRL2@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_readl
Lloh22:
	adrp	x8, _PHY_CTRL2_TXENABLEN0@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PHY_CTRL2_TXENABLEN0@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
	bic	w0, w0, w8
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_CTRL1,8,3                  ; @PHY_CTRL1
	.comm	_PHY_CTRL1_VDATSRCENB0,4,2      ; @PHY_CTRL1_VDATSRCENB0
	.comm	_PHY_CTRL1_VDATDETENB0,4,2      ; @PHY_CTRL1_VDATDETENB0
	.comm	_PHY_CTRL1_COMMONONN,4,2        ; @PHY_CTRL1_COMMONONN
	.comm	_PHY_CTRL1_RESET,4,2            ; @PHY_CTRL1_RESET
	.comm	_PHY_CTRL1_ATERESET,4,2         ; @PHY_CTRL1_ATERESET
	.comm	_PHY_CTRL0,8,3                  ; @PHY_CTRL0
	.comm	_PHY_CTRL0_REF_SSP_EN,4,2       ; @PHY_CTRL0_REF_SSP_EN
	.comm	_PHY_CTRL2,8,3                  ; @PHY_CTRL2
	.comm	_PHY_CTRL2_TXENABLEN0,4,2       ; @PHY_CTRL2_TXENABLEN0
	.no_dead_strip	_imx8mq_usb_phy_init
.subsections_via_symbols
