	.file	"extr_aic79xx_osm.c_ahd_outw_atomic.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ahd_outw_atomic
	.type	ahd_outw_atomic, @function
ahd_outw_atomic:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rax, QWORD PTR [rdi]
	mov	r8d, edx
	mov	rcx, QWORD PTR BUS_SPACE_MEMIO[rip]
	mov	rdx, QWORD PTR 8[rdi]
	cmp	QWORD PTR [rax], rcx
	je	.L6
	mov	rax, rsi
	mov	edi, r8d
	movzx	esi, sil
	sar	rax, 8
	sal	rax, 4
	add	rsi, QWORD PTR [rdx+rax]
	call	outw@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	mb@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	add	rsi, QWORD PTR 8[rdx]
	mov	edi, r8d
	call	writew@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	mb@PLT
	.cfi_endproc
.LFE0:
	.size	ahd_outw_atomic, .-ahd_outw_atomic
	.comm	BUS_SPACE_MEMIO,8,8
	.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_aic79xx_osm.c_ahd_outw_atomic.c"
	.text
	.align	2
	.global	ahd_outw_atomic
	.syntax unified
	.arm
	.fpu softvfp
	.type	ahd_outw_atomic, %function
ahd_outw_atomic:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	ldr	ip, [r0]
	ldr	r0, .L7
	ldr	ip, [ip]
	ldr	r0, [r0]
	push	{r4, lr}
	cmp	ip, r0
	ldr	r3, [r3, #4]
	mov	r0, r2
	beq	.L6
	asr	r2, r1, #8
	ldr	r3, [r3, r2, lsl #3]
	and	r1, r1, #255
	add	r1, r1, r3
	bl	outw
	pop	{r4, lr}
	b	mb
.L6:
	ldr	r3, [r3, #4]
	add	r1, r1, r3
	bl	writew
	pop	{r4, lr}
	b	mb
.L8:
	.align	2
.L7:
	.word	BUS_SPACE_MEMIO
	.size	ahd_outw_atomic, .-ahd_outw_atomic
	.comm	BUS_SPACE_MEMIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
