	.file	"extr_avm_pci.c_AVM_card_msg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	AVM_card_msg, @function
AVM_card_msg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	esi, 130
	je	.L2
	cmp	esi, 131
	je	.L3
	cmp	esi, 129
	je	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	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	eax, DWORD PTR 4[rdi]
	xor	edi, edi
	lea	esi, 2[rax]
	call	outb@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, 32
	call	release_region@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	r12d, r12d
	mov	esi, r12d
	call	spin_lock_irqsave@PLT
	mov	rdi, rbp
	call	reset_avmpcipnp@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	xor	r12d, r12d
	mov	esi, r12d
	call	spin_lock_irqsave@PLT
	mov	rdi, rbp
	call	reset_avmpcipnp@PLT
	mov	rdi, rbp
	call	clear_pending_isac_ints@PLT
	mov	rdi, rbp
	call	initisac@PLT
	mov	rdi, rbp
	call	inithdlc@PLT
	mov	eax, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR AVM_STATUS0_DIS_TIMER[rip]
	or	edi, DWORD PTR AVM_STATUS0_RES_TIMER[rip]
	lea	esi, 2[rax]
	call	outb@PLT
	mov	esi, DWORD PTR ISAC_MASK[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	WriteISAC@PLT
	mov	eax, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR AVM_STATUS0_DIS_TIMER[rip]
	or	edi, DWORD PTR AVM_STATUS0_RES_TIMER[rip]
	or	edi, DWORD PTR AVM_STATUS0_ENA_IRQ[rip]
	lea	esi, 2[rax]
	call	outb@PLT
	mov	esi, DWORD PTR ISAC_CMDR[rip]
	mov	rdi, rbp
	mov	edx, 65
	call	WriteISAC@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	AVM_card_msg, .-AVM_card_msg
	.comm	ISAC_MASK,4,4
	.comm	ISAC_CMDR,4,4
	.comm	AVM_STATUS0_RES_TIMER,4,4
	.comm	AVM_STATUS0_ENA_IRQ,4,4
	.comm	AVM_STATUS0_DIS_TIMER,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_avm_pci.c_AVM_card_msg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	AVM_card_msg, %function
AVM_card_msg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #130
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	beq	.L2
	cmp	r1, #131
	beq	.L3
	cmp	r1, #129
	beq	.L7
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r1, [r0, #4]
	mov	r0, #0
	add	r1, r1, #2
	bl	outb
	mov	r1, #32
	ldr	r0, [r4, #4]
	bl	release_region
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r5, #0
	mov	r1, r5
	bl	spin_lock_irqsave
	mov	r0, r4
	bl	reset_avmpcipnp
	mov	r1, r5
	mov	r0, r4
	bl	spin_unlock_irqrestore
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r5, #0
	mov	r1, r5
	bl	spin_lock_irqsave
	mov	r0, r4
	bl	reset_avmpcipnp
	mov	r0, r4
	bl	clear_pending_isac_ints
	ldr	r7, .L8
	ldr	r6, .L8+4
	mov	r0, r4
	bl	initisac
	mov	r0, r4
	bl	inithdlc
	ldr	r3, [r6]
	ldr	r0, [r7]
	ldr	r1, [r4, #4]
	orr	r0, r0, r3
	add	r1, r1, #2
	bl	outb
	ldr	r3, .L8+8
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	WriteISAC
	ldr	r1, .L8+12
	ldr	r2, [r6]
	ldr	r3, [r7]
	ldr	r0, [r1]
	ldr	r1, [r4, #4]
	orr	r3, r3, r2
	orr	r0, r3, r0
	add	r1, r1, #2
	bl	outb
	ldr	r3, .L8+16
	mov	r2, #65
	ldr	r1, [r3]
	mov	r0, r4
	bl	WriteISAC
	mov	r1, r5
	mov	r0, r4
	bl	spin_unlock_irqrestore
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	AVM_STATUS0_DIS_TIMER
	.word	AVM_STATUS0_RES_TIMER
	.word	ISAC_MASK
	.word	AVM_STATUS0_ENA_IRQ
	.word	ISAC_CMDR
	.size	AVM_card_msg, .-AVM_card_msg
	.comm	ISAC_MASK,4,4
	.comm	ISAC_CMDR,4,4
	.comm	AVM_STATUS0_RES_TIMER,4,4
	.comm	AVM_STATUS0_ENA_IRQ,4,4
	.comm	AVM_STATUS0_DIS_TIMER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
