	.file	"extr_adl_pci9118.c_pci9118_ai_munge.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pci9118_ai_munge, @function
pci9118_ai_munge:
.LFB0:
	.cfi_startproc
	endbr64
	shr	ecx
	je	.L10
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	eax, -1[rcx]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	lea	rbp, 2[rdx+rax*2]
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rsi, QWORD PTR devpriv[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, eax
	add	ax, -32768
	shr	di, 4
	cmp	QWORD PTR [rsi], 0
	cmove	eax, edi
	add	rbx, 2
	mov	WORD PTR -2[rbx], ax
	cmp	rbp, rbx
	je	.L14
.L6:
	cmp	QWORD PTR 8[rsi], 0
	movzx	eax, WORD PTR [rbx]
	je	.L3
	movsx	edi, ax
	call	be16_to_cpu@PLT
	mov	rsi, QWORD PTR devpriv[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L14:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	pci9118_ai_munge, .-pci9118_ai_munge
	.comm	devpriv,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_adl_pci9118.c_pci9118_ai_munge.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pci9118_ai_munge, %function
pci9118_ai_munge:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	lsrs	r3, r3, #1
	bxeq	lr
	push	{r4, r5, r6, lr}
	ldr	r5, .L17
	sub	r4, r2, #2
	add	r6, r4, r3, lsl #1
	ldr	r2, [r5]
	b	.L6
.L3:
	ldr	r3, [r2]
	eor	r1, r0, #32768
	cmp	r3, #0
	lsl	r0, r0, #16
	lsreq	r0, r0, #20
	strhne	r1, [r4]	@ movhi
	strheq	r0, [r4]	@ movhi
	cmp	r6, r4
	popeq	{r4, r5, r6, pc}
.L6:
	ldr	r3, [r2, #4]
	ldrsh	r0, [r4, #2]!
	cmp	r3, #0
	beq	.L3
	bl	be16_to_cpu
	ldr	r2, [r5]
	b	.L3
.L18:
	.align	2
.L17:
	.word	devpriv
	.size	pci9118_ai_munge, .-pci9118_ai_munge
	.comm	devpriv,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
