	.file	"extr_dwc_otg.c_dwc_otg_pull_up.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dwc_otg_pull_up, @function
dwc_otg_pull_up:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jne	.L1
	cmp	QWORD PTR 8[rdi], 0
	jne	.L7
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	DWORD PTR [rdi], 1
	mov	esi, DWORD PTR DOTG_DCTL[rip]
	mov	QWORD PTR 8[rsp], rdi
	call	DWC_OTG_READ_4@PLT
	mov	edx, DWORD PTR DCTL_SFTDISCON[rip]
	mov	esi, DWORD PTR DOTG_DCTL[rip]
	mov	rdi, QWORD PTR 8[rsp]
	add	rsp, 24
	.cfi_def_cfa_offset 8
	not	edx
	and	edx, eax
	jmp	DWC_OTG_WRITE_4@PLT
	.cfi_endproc
.LFE0:
	.size	dwc_otg_pull_up, .-dwc_otg_pull_up
	.comm	DOTG_DCTL,4,4
	.comm	DCTL_SFTDISCON,4,4
	.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_dwc_otg.c_dwc_otg_pull_up.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dwc_otg_pull_up, %function
dwc_otg_pull_up:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #0
	bxne	lr
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r0
	popeq	{r4, r5, r6, pc}
	mov	r3, #1
	ldr	r5, .L11
	str	r3, [r0]
	ldr	r1, [r5]
	bl	DWC_OTG_READ_4
	mov	r3, r0
	ldr	r2, .L11+4
	mov	r0, r4
	ldr	r2, [r2]
	ldr	r1, [r5]
	bic	r2, r3, r2
	pop	{r4, r5, r6, lr}
	b	DWC_OTG_WRITE_4
.L12:
	.align	2
.L11:
	.word	DOTG_DCTL
	.word	DCTL_SFTDISCON
	.size	dwc_otg_pull_up, .-dwc_otg_pull_up
	.comm	DOTG_DCTL,4,4
	.comm	DCTL_SFTDISCON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
