	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_g12a_usb3_pcie_init
_phy_g12a_usb3_pcie_init:               ## @phy_g12a_usb3_pcie_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_phy_get_drvdata
	movq	%rax, %rbx
	movl	12(%rax), %edi
	callq	_reset_control_reset
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	_PHY_TYPE_USB3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_phy_g12a_usb3_init             ## TAILCALL
LBB0_2:
	movl	8(%rbx), %r14d
	movq	_PHY_R0@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_PHY_R0_PCIE_POWER_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	movl	$28, %esi
	callq	_FIELD_PREP
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_regmap_update_bits
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_TYPE_USB3,8,3              ## @PHY_TYPE_USB3
	.comm	_PHY_R0,4,2                     ## @PHY_R0
	.comm	_PHY_R0_PCIE_POWER_STATE,4,2    ## @PHY_R0_PCIE_POWER_STATE
	.no_dead_strip	_phy_g12a_usb3_pcie_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_g12a_usb3_pcie_init
_phy_g12a_usb3_pcie_init:               ; @phy_g12a_usb3_pcie_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
	mov	x19, x0
	bl	_phy_get_drvdata
	mov	x20, x0
	ldr	w0, [x0, #12]
	bl	_reset_control_reset
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PHY_TYPE_USB3@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_TYPE_USB3@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	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	_phy_g12a_usb3_init
LBB0_3:
	ldr	w19, [x20, #8]
Lloh3:
	adrp	x8, _PHY_R0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHY_R0@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x8, _PHY_R0_PCIE_POWER_STATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PHY_R0_PCIE_POWER_STATE@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	mov	x0, x21
	mov	w1, #28
	bl	_FIELD_PREP
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_regmap_update_bits
	mov	w0, #0
LBB0_4:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_TYPE_USB3,8,3              ; @PHY_TYPE_USB3
	.comm	_PHY_R0,4,2                     ; @PHY_R0
	.comm	_PHY_R0_PCIE_POWER_STATE,4,2    ; @PHY_R0_PCIE_POWER_STATE
	.no_dead_strip	_phy_g12a_usb3_pcie_init
.subsections_via_symbols
