	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function u2_phy_instance_set_mode
_u2_phy_instance_set_mode:              ## @u2_phy_instance_set_mode
	.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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	_U3P_U2PHYDTM1@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%rsi), %rdi
	callq	_readl
	cmpl	$128, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_4
## %bb.2:
	cmpl	$130, %ebx
	jne	LBB0_7
## %bb.3:
	movq	_P2C_FORCE_IDDIG@GOTPCREL(%rip), %rcx
	movq	_P2C_RG_IDDIG@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	jmp	LBB0_6
LBB0_5:
	movq	_P2C_FORCE_IDDIG@GOTPCREL(%rip), %rcx
	movq	_P2C_RG_IDDIG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, %eax
	jmp	LBB0_6
LBB0_4:
	movq	_P2C_FORCE_IDDIG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_P2C_RG_IDDIG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
LBB0_6:
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_U3P_U2PHYDTM1,8,3              ## @U3P_U2PHYDTM1
	.comm	_P2C_FORCE_IDDIG,4,2            ## @P2C_FORCE_IDDIG
	.comm	_P2C_RG_IDDIG,4,2               ## @P2C_RG_IDDIG
	.no_dead_strip	_u2_phy_instance_set_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function u2_phy_instance_set_mode
_u2_phy_instance_set_mode:              ; @u2_phy_instance_set_mode
	.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	x20, x2
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x21, _U3P_U2PHYDTM1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _U3P_U2PHYDTM1@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
	cmp	w20, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w20, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w20, #130
	b.ne	LBB0_7
; %bb.3:
Lloh2:
	adrp	x8, _P2C_FORCE_IDDIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P2C_FORCE_IDDIG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _P2C_RG_IDDIG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _P2C_RG_IDDIG@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w0, w8, w9
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _P2C_FORCE_IDDIG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _P2C_FORCE_IDDIG@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _P2C_RG_IDDIG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _P2C_RG_IDDIG@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w0, w0, w8
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _P2C_FORCE_IDDIG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _P2C_FORCE_IDDIG@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh17:
	adrp	x9, _P2C_RG_IDDIG@GOTPAGE
Lloh18:
	ldr	x9, [x9, _P2C_RG_IDDIG@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	bic	w0, w8, w9
LBB0_6:
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	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	_writel
LBB0_7:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_U3P_U2PHYDTM1,8,3              ; @U3P_U2PHYDTM1
	.comm	_P2C_FORCE_IDDIG,4,2            ; @P2C_FORCE_IDDIG
	.comm	_P2C_RG_IDDIG,4,2               ; @P2C_RG_IDDIG
	.no_dead_strip	_u2_phy_instance_set_mode
.subsections_via_symbols
