	.file	"extr_hcd.c_dwc2_hc_enable_dma_ints.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"desc DMA disabled\n"
.LC1:
	.string	"desc DMA enabled\n"
.LC2:
	.string	"setting ACK\n"
.LC3:
	.string	"set HCINTMSK to %08x\n"
	.text
	.p2align 4
	.type	dwc2_hc_enable_dma_ints, @function
dwc2_hc_enable_dma_ints:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, DWORD PTR HCINTMSK_CHHLTD[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edx, DWORD PTR 4[rdi]
	mov	rbx, rdi
	mov	rdi, rsi
	test	edx, edx
	jne	.L2
	call	dbg_hc@PLT
	test	rax, rax
	jne	.L20
.L3:
	or	r12d, DWORD PTR HCINTMSK_AHBERR[rip]
.L4:
	cmp	QWORD PTR 32[rbp], 0
	je	.L6
	mov	eax, DWORD PTR 24[rbp]
	test	eax, eax
	je	.L21
.L6:
	mov	edi, DWORD PTR 8[rbp]
	call	HCINTMSK@PLT
	mov	rdi, rbx
	mov	esi, r12d
	mov	edx, eax
	call	dwc2_writel@PLT
	mov	rdi, rbp
	call	dbg_hc@PLT
	test	rax, rax
	jne	.L22
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	dbg_hc@PLT
	test	rax, rax
	jne	.L23
	mov	rax, QWORD PTR USB_ENDPOINT_XFER_ISOC[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L4
.L25:
	or	r12d, DWORD PTR HCINTMSK_XFERCOMPL[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rax, QWORD PTR USB_ENDPOINT_XFER_ISOC[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L6
	mov	rdi, rbp
	call	dbg_hc@PLT
	test	rax, rax
	jne	.L24
.L7:
	or	r12d, DWORD PTR HCINTMSK_ACK[rip]
	cmp	QWORD PTR 16[rbp], 0
	je	.L6
	mov	rax, QWORD PTR USB_ENDPOINT_XFER_INT[rip]
	or	r12d, DWORD PTR HCINTMSK_DATATGLERR[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L6
	or	r12d, DWORD PTR HCINTMSK_NAK[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, DWORD PTR [rbx]
	mov	edx, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rsi, .LC3[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	dev_vdbg@PLT
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_vdbg@PLT
	mov	rax, QWORD PTR USB_ENDPOINT_XFER_ISOC[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L4
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_vdbg@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L24:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	dev_vdbg@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	dwc2_hc_enable_dma_ints, .-dwc2_hc_enable_dma_ints
	.comm	USB_ENDPOINT_XFER_ISOC,8,8
	.comm	USB_ENDPOINT_XFER_INT,8,8
	.comm	HCINTMSK_XFERCOMPL,4,4
	.comm	HCINTMSK_NAK,4,4
	.comm	HCINTMSK_DATATGLERR,4,4
	.comm	HCINTMSK_CHHLTD,4,4
	.comm	HCINTMSK_AHBERR,4,4
	.comm	HCINTMSK_ACK,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_hcd.c_dwc2_hc_enable_dma_ints.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"desc DMA disabled\012\000"
	.align	2
.LC1:
	.ascii	"desc DMA enabled\012\000"
	.align	2
.LC2:
	.ascii	"setting ACK\012\000"
	.align	2
.LC3:
	.ascii	"set HCINTMSK to %08x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dwc2_hc_enable_dma_ints, %function
dwc2_hc_enable_dma_ints:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #4]
	ldr	r3, .L30
	cmp	r2, #0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	mov	r0, r1
	ldr	r6, [r3]
	bne	.L2
	bl	dbg_hc
	cmp	r0, #0
	bne	.L26
.L3:
	ldr	r3, .L30+4
	ldr	r3, [r3]
	orr	r6, r6, r3
.L4:
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L30+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L27
.L6:
	ldr	r0, [r4, #4]
	bl	HCINTMSK
	mov	r1, r6
	mov	r2, r0
	mov	r0, r5
	bl	dwc2_writel
	mov	r0, r4
	bl	dbg_hc
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r2, r6
	ldr	r0, [r5]
	ldr	r1, .L30+12
	pop	{r4, r5, r6, lr}
	b	dev_vdbg
.L2:
	bl	dbg_hc
	cmp	r0, #0
	bne	.L28
.L5:
	ldr	r3, .L30+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	ldreq	r3, .L30+16
	ldreq	r3, [r3]
	orreq	r6, r6, r3
	b	.L4
.L26:
	ldr	r1, .L30+20
	ldr	r0, [r5]
	bl	dev_vdbg
	b	.L3
.L28:
	ldr	r1, .L30+24
	ldr	r0, [r5]
	bl	dev_vdbg
	b	.L5
.L27:
	mov	r0, r4
	bl	dbg_hc
	cmp	r0, #0
	bne	.L29
.L7:
	ldr	r3, .L30+28
	ldr	r2, [r4, #8]
	ldr	r3, [r3]
	cmp	r2, #0
	orr	r6, r6, r3
	beq	.L6
	ldr	r2, .L30+32
	ldr	r3, .L30+36
	ldr	r2, [r2]
	ldr	r1, [r4]
	ldr	r3, [r3]
	cmp	r1, r2
	orr	r6, r6, r3
	ldrne	r3, .L30+40
	ldrne	r3, [r3]
	orrne	r6, r6, r3
	b	.L6
.L29:
	ldr	r1, .L30+44
	ldr	r0, [r5]
	bl	dev_vdbg
	b	.L7
.L31:
	.align	2
.L30:
	.word	HCINTMSK_CHHLTD
	.word	HCINTMSK_AHBERR
	.word	USB_ENDPOINT_XFER_ISOC
	.word	.LC3
	.word	HCINTMSK_XFERCOMPL
	.word	.LC0
	.word	.LC1
	.word	HCINTMSK_ACK
	.word	USB_ENDPOINT_XFER_INT
	.word	HCINTMSK_DATATGLERR
	.word	HCINTMSK_NAK
	.word	.LC2
	.size	dwc2_hc_enable_dma_ints, .-dwc2_hc_enable_dma_ints
	.comm	USB_ENDPOINT_XFER_ISOC,4,4
	.comm	USB_ENDPOINT_XFER_INT,4,4
	.comm	HCINTMSK_XFERCOMPL,4,4
	.comm	HCINTMSK_NAK,4,4
	.comm	HCINTMSK_DATATGLERR,4,4
	.comm	HCINTMSK_CHHLTD,4,4
	.comm	HCINTMSK_AHBERR,4,4
	.comm	HCINTMSK_ACK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
