	.file	"extr_r8152.c_rtl8153_runtime_enable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rtl8153_runtime_enable, @function
rtl8153_runtime_enable:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, 0
	mov	rbp, rdi
	je	.L2
	call	r8153_u1u2en@PLT
	mov	rdi, rbp
	xor	esi, esi
	call	r8153_u2p3en@PLT
	mov	rdi, rbp
	mov	esi, 1
	call	r8153_mac_clk_spd@PLT
	mov	rdi, rbp
	mov	esi, 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	rtl_runtime_suspend_enable@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	rtl_runtime_suspend_enable@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	r8153_mac_clk_spd@PLT
	mov	eax, DWORD PTR 0[rbp]
	sub	eax, 130
	cmp	eax, 1
	ja	.L6
	mov	rdi, rbp
	mov	esi, 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	r8153_u1u2en@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	mov	esi, 1
	call	r8153_u2p3en@PLT
	mov	rdi, rbp
	mov	esi, 1
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	r8153_u1u2en@PLT
	.cfi_endproc
.LFE0:
	.size	rtl8153_runtime_enable, .-rtl8153_runtime_enable
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_r8152.c_rtl8153_runtime_enable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl8153_runtime_enable, %function
rtl8153_runtime_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r1, #0
	mov	r4, r0
	beq	.L2
	mov	r1, #0
	bl	r8153_u1u2en
	mov	r1, #0
	mov	r0, r4
	bl	r8153_u2p3en
	mov	r1, #1
	mov	r0, r4
	bl	r8153_mac_clk_spd
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, #1
	b	rtl_runtime_suspend_enable
.L2:
	bl	rtl_runtime_suspend_enable
	mov	r1, r5
	mov	r0, r4
	bl	r8153_mac_clk_spd
	ldr	r3, [r4]
	sub	r3, r3, #130
	cmp	r3, #1
	bhi	.L6
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, #1
	b	r8153_u1u2en
.L6:
	mov	r1, #1
	mov	r0, r4
	bl	r8153_u2p3en
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, #1
	b	r8153_u1u2en
	.size	rtl8153_runtime_enable, .-rtl8153_runtime_enable
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
