	.file	"extr_atiixp_modem.c_atiixp_out_enable_dma.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	atiixp_out_enable_dma, @function
atiixp_out_enable_dma:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	mov	esi, DWORD PTR CMD[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	atiixp_read@PLT
	mov	ebx, eax
	test	r12d, r12d
	je	.L2
	test	DWORD PTR ATI_REG_CMD_MODEM_OUT_DMA1_EN[rip], eax
	je	.L7
	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
	mov	edx, DWORD PTR ATI_REG_CMD_MODEM_OUT_DMA1_EN[rip]
	not	edx
	and	edx, eax
.L4:
	mov	esi, DWORD PTR CMD[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	atiixp_write@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	call	atiixp_out_flush_dma@PLT
	or	ebx, DWORD PTR ATI_REG_CMD_MODEM_OUT_DMA1_EN[rip]
	mov	edx, ebx
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	atiixp_out_enable_dma, .-atiixp_out_enable_dma
	.comm	CMD,4,4
	.comm	ATI_REG_CMD_MODEM_OUT_DMA1_EN,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_atiixp_modem.c_atiixp_out_enable_dma.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atiixp_out_enable_dma, %function
atiixp_out_enable_dma:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L7
	mov	r4, r1
	ldr	r1, [r6]
	mov	r5, r0
	bl	atiixp_read
	cmp	r4, #0
	mov	r4, r0
	beq	.L2
	ldr	r7, .L7+4
	ldr	r3, [r7]
	tst	r0, r3
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, r5
	bl	atiixp_out_flush_dma
	ldr	r2, [r7]
	mov	r0, r5
	ldr	r1, [r6]
	orr	r2, r4, r2
	pop	{r4, r5, r6, r7, r8, lr}
	b	atiixp_write
.L2:
	ldr	r3, .L7+4
	ldr	r1, [r6]
	ldr	r2, [r3]
	bic	r2, r0, r2
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	atiixp_write
.L8:
	.align	2
.L7:
	.word	CMD
	.word	ATI_REG_CMD_MODEM_OUT_DMA1_EN
	.size	atiixp_out_enable_dma, .-atiixp_out_enable_dma
	.comm	CMD,4,4
	.comm	ATI_REG_CMD_MODEM_OUT_DMA1_EN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
