	.file	"extr_mISDNisar.c_setup_pump.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	setup_pump, @function
setup_pump:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR 24[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	SET_DPS@PLT
	mov	ebp, eax
	mov	eax, DWORD PTR 4[rbx]
	add	eax, -128
	cmp	eax, 5
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L3-.L4
	.long	.L7-.L4
	.long	.L3-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L6:
	lea	r14, 8[rbx]
	mov	r13, rsp
.L8:
	mov	edi, DWORD PTR FLG_ORIGIN[rip]
	mov	rsi, r14
	mov	r12d, DWORD PTR PMOD_DATAMODEM[rip]
	call	test_bit@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR PV32P6_ATN[rip]
	test	r8d, r8d
	je	.L11
	mov	eax, DWORD PTR PV32P6_CTN[rip]
	or	r12d, DWORD PTR PCTRL_ORIG[rip]
.L11:
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR PV32P2_V23R[rip]
	mov	r8, r13
	mov	edx, r12d
	or	eax, DWORD PTR PV32P2_V22A[rip]
	or	eax, DWORD PTR PV32P2_V22B[rip]
	mov	ecx, 6
	mov	DWORD PTR [rsp], 6
	or	eax, DWORD PTR PV32P2_V22C[rip]
	or	eax, DWORD PTR PV32P2_V21[rip]
	or	eax, DWORD PTR PV32P2_BEL[rip]
	mov	esi, DWORD PTR ISAR_HIS_PUMPCFG[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR PV32P3_AMOD[rip]
	or	eax, DWORD PTR PV32P3_V32B[rip]
	or	eax, DWORD PTR PV32P3_V23B[rip]
	or	esi, ebp
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR PV32P4_UT144[rip]
	mov	edi, DWORD PTR [rbx]
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR PV32P5_UT144[rip]
	mov	DWORD PTR 16[rsp], eax
	call	send_mbox@PLT
.L2:
	mov	edi, 1000
	call	udelay@PLT
	mov	esi, DWORD PTR ISAR_HIS_PSTREQ[rip]
	mov	edi, DWORD PTR [rbx]
	xor	r8d, r8d
	xor	ecx, ecx
	xor	edx, edx
	or	esi, ebp
	call	send_mbox@PLT
	mov	edi, 1000
	call	udelay@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR ISAR_HIS_PUMPCFG[rip]
	mov	edi, DWORD PTR [rbx]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, DWORD PTR PMOD_BYPASS[rip]
	or	esi, ebp
	call	send_mbox@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR FLG_ORIGIN[rip]
	lea	r12, 8[rbx]
	mov	r13d, DWORD PTR PMOD_FAX[rip]
	mov	rsi, r12
	call	test_bit@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR PFAXP2_ATN[rip]
	test	r8d, r8d
	je	.L13
	mov	eax, DWORD PTR PFAXP2_CTN[rip]
	or	r13d, DWORD PTR PCTRL_ORIG[rip]
.L13:
	mov	esi, DWORD PTR ISAR_HIS_PUMPCFG[rip]
	mov	edi, DWORD PTR [rbx]
	mov	r8, rsp
	mov	ecx, 2
	mov	edx, r13d
	mov	DWORD PTR 4[rsp], eax
	or	esi, ebp
	mov	DWORD PTR [rsp], 6
	call	send_mbox@PLT
	mov	eax, DWORD PTR STFAX_NULL[rip]
	mov	QWORD PTR 12[rbx], 0
	mov	rsi, r12
	mov	edi, DWORD PTR FLG_FTI_RUN[rip]
	mov	DWORD PTR 20[rbx], eax
	call	test_and_set_bit@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	lea	r14, 8[rbx]
	mov	edi, DWORD PTR FLG_DTMFSEND[rip]
	mov	rsi, r14
	call	test_bit@PLT
	test	eax, eax
	je	.L9
	mov	esi, DWORD PTR ISAR_HIS_PUMPCFG[rip]
	mov	r13, rsp
	mov	edi, DWORD PTR [rbx]
	mov	ecx, 1
	mov	edx, DWORD PTR PMOD_DTMF_TRANS[rip]
	mov	r8, r13
	mov	DWORD PTR [rsp], 5
	or	esi, ebp
	call	send_mbox@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR ISAR_HIS_PUMPCFG[rip]
	mov	r13, rsp
	mov	edi, DWORD PTR [rbx]
	mov	ecx, 1
	mov	edx, DWORD PTR PMOD_DTMF[rip]
	mov	r8, r13
	mov	DWORD PTR [rsp], 40
	or	esi, ebp
	call	send_mbox@PLT
	jmp	.L8
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	setup_pump, .-setup_pump
	.comm	STFAX_NULL,4,4
	.comm	PV32P6_CTN,4,4
	.comm	PV32P6_ATN,4,4
	.comm	PV32P5_UT144,4,4
	.comm	PV32P4_UT144,4,4
	.comm	PV32P3_V32B,4,4
	.comm	PV32P3_V23B,4,4
	.comm	PV32P3_AMOD,4,4
	.comm	PV32P2_V23R,4,4
	.comm	PV32P2_V22C,4,4
	.comm	PV32P2_V22B,4,4
	.comm	PV32P2_V22A,4,4
	.comm	PV32P2_V21,4,4
	.comm	PV32P2_BEL,4,4
	.comm	PMOD_FAX,4,4
	.comm	PMOD_DTMF_TRANS,4,4
	.comm	PMOD_DTMF,4,4
	.comm	PMOD_DATAMODEM,4,4
	.comm	PMOD_BYPASS,4,4
	.comm	PFAXP2_CTN,4,4
	.comm	PFAXP2_ATN,4,4
	.comm	PCTRL_ORIG,4,4
	.comm	ISAR_HIS_PUMPCFG,4,4
	.comm	ISAR_HIS_PSTREQ,4,4
	.comm	FLG_ORIGIN,4,4
	.comm	FLG_FTI_RUN,4,4
	.comm	FLG_DTMFSEND,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_mISDNisar.c_setup_pump.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup_pump, %function
setup_pump:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L19
	sub	sp, sp, #40
	ldr	r0, [r0, #24]
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	SET_DPS
	ldr	r3, [r4, #4]
	mov	r5, r0
	sub	r3, r3, #128
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L3
	.word	.L7
	.word	.L3
	.word	.L6
	.word	.L5
	.word	.L3
.L6:
	ldr	r8, .L19+4
	add	r6, r4, #8
	add	r7, sp, #12
.L8:
	ldr	r2, .L19+8
	ldr	r3, .L19+12
	mov	r1, r6
	ldr	r0, [r2]
	ldr	r6, [r3]
	bl	test_bit
	cmp	r0, #0
	ldrne	r3, .L19+16
	ldreq	r3, .L19+20
	ldrne	r3, [r3]
	ldreq	lr, [r3]
	orrne	r6, r6, r3
	mov	r3, #6
	ldrne	r2, .L19+24
	ldr	r1, .L19+28
	ldrne	lr, [r2]
	ldr	r2, .L19+32
	ldr	r0, [r1]
	ldr	r2, [r2]
	ldr	ip, .L19+36
	orr	r0, r0, r2
	ldr	r2, .L19+40
	str	lr, [sp, #32]
	ldr	r2, [r2]
	str	r7, [sp]
	orr	r0, r0, r2
	mov	r2, r6
	ldr	r6, [ip]
	ldr	ip, .L19+44
	orr	r0, r0, r6
	ldr	r7, .L19+48
	ldr	r6, [ip]
	ldr	ip, .L19+52
	ldr	lr, [r7]
	orr	r0, r0, r6
	ldr	ip, [ip]
	ldr	r6, .L19+56
	orr	ip, ip, lr
	ldr	r6, [r6]
	ldr	lr, .L19+60
	orr	r0, r0, r6
	ldr	r6, [lr]
	ldr	lr, .L19+64
	orr	ip, ip, r6
	ldr	r6, .L19+68
	ldr	r1, [r8]
	str	r0, [sp, #16]
	ldr	r0, [r6]
	ldr	lr, [lr]
	str	r0, [sp, #28]
	orr	r1, r5, r1
	ldr	r0, [r4]
	str	ip, [sp, #20]
	str	lr, [sp, #24]
	str	r3, [sp, #12]
	bl	send_mbox
.L2:
	mov	r0, #1000
	bl	udelay
	mov	r3, #0
	ldr	r2, .L19+72
	ldr	r0, [r4]
	ldr	r1, [r2]
	mov	r2, r3
	str	r3, [sp]
	orr	r1, r5, r1
	bl	send_mbox
	mov	r0, #1000
	bl	udelay
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r3, #0
	ldr	r1, .L19+4
	ldr	r2, .L19+76
	ldr	r1, [r1]
	str	r3, [sp]
	orr	r1, r0, r1
	ldr	r2, [r2]
	ldr	r0, [r4]
	bl	send_mbox
	b	.L2
.L7:
	ldr	r2, .L19+8
	ldr	r3, .L19+80
	add	r6, r4, #8
	mov	r1, r6
	ldr	r0, [r2]
	ldr	r7, [r3]
	bl	test_bit
	mov	ip, #6
	cmp	r0, #0
	ldrne	r3, .L19+16
	ldreq	r3, .L19+84
	ldrne	r3, [r3]
	ldreq	r0, [r3]
	ldrne	r2, .L19+88
	orrne	r7, r7, r3
	ldr	r3, .L19+4
	ldrne	r0, [r2]
	ldr	r1, [r3]
	add	r3, sp, #12
	str	r3, [sp]
	mov	r2, r7
	orr	r1, r5, r1
	str	r0, [sp, #16]
	mov	r3, #2
	ldr	r0, [r4]
	str	ip, [sp, #12]
	bl	send_mbox
	mov	r3, #0
	ldr	r1, .L19+92
	ldr	r2, .L19+96
	ldr	r0, [r1]
	str	r3, [r4, #16]
	str	r0, [r4, #20]
	mov	r1, r6
	ldr	r0, [r2]
	str	r3, [r4, #12]
	bl	test_and_set_bit
	b	.L2
.L5:
	ldr	r3, .L19+100
	add	r6, r4, #8
	ldr	r0, [r3]
	mov	r1, r6
	bl	test_bit
	cmp	r0, #0
	movne	ip, #5
	moveq	ip, #40
	ldrne	r8, .L19+4
	ldreq	r8, .L19+4
	ldrne	r3, .L19+104
	ldreq	r3, .L19+108
	ldr	r1, [r8]
	add	r7, sp, #12
	ldr	r2, [r3]
	str	r7, [sp]
	mov	r3, #1
	ldr	r0, [r4]
	orr	r1, r5, r1
	str	ip, [sp, #12]
	bl	send_mbox
	b	.L8
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	ISAR_HIS_PUMPCFG
	.word	FLG_ORIGIN
	.word	PMOD_DATAMODEM
	.word	PCTRL_ORIG
	.word	PV32P6_ATN
	.word	PV32P6_CTN
	.word	PV32P2_V23R
	.word	PV32P2_V22A
	.word	PV32P2_V22C
	.word	PV32P2_V22B
	.word	PV32P2_V21
	.word	PV32P3_V32B
	.word	PV32P3_AMOD
	.word	PV32P2_BEL
	.word	PV32P3_V23B
	.word	PV32P4_UT144
	.word	PV32P5_UT144
	.word	ISAR_HIS_PSTREQ
	.word	PMOD_BYPASS
	.word	PMOD_FAX
	.word	PFAXP2_ATN
	.word	PFAXP2_CTN
	.word	STFAX_NULL
	.word	FLG_FTI_RUN
	.word	FLG_DTMFSEND
	.word	PMOD_DTMF_TRANS
	.word	PMOD_DTMF
	.size	setup_pump, .-setup_pump
	.comm	STFAX_NULL,4,4
	.comm	PV32P6_CTN,4,4
	.comm	PV32P6_ATN,4,4
	.comm	PV32P5_UT144,4,4
	.comm	PV32P4_UT144,4,4
	.comm	PV32P3_V32B,4,4
	.comm	PV32P3_V23B,4,4
	.comm	PV32P3_AMOD,4,4
	.comm	PV32P2_V23R,4,4
	.comm	PV32P2_V22C,4,4
	.comm	PV32P2_V22B,4,4
	.comm	PV32P2_V22A,4,4
	.comm	PV32P2_V21,4,4
	.comm	PV32P2_BEL,4,4
	.comm	PMOD_FAX,4,4
	.comm	PMOD_DTMF_TRANS,4,4
	.comm	PMOD_DTMF,4,4
	.comm	PMOD_DATAMODEM,4,4
	.comm	PMOD_BYPASS,4,4
	.comm	PFAXP2_CTN,4,4
	.comm	PFAXP2_ATN,4,4
	.comm	PCTRL_ORIG,4,4
	.comm	ISAR_HIS_PUMPCFG,4,4
	.comm	ISAR_HIS_PSTREQ,4,4
	.comm	FLG_ORIGIN,4,4
	.comm	FLG_FTI_RUN,4,4
	.comm	FLG_DTMFSEND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
