	.file	"extr_mISDNipac.c_hscx_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s: HSCX VSTR %02x\n"
.LC1:
	.string	"%s: HSCX version %s\n"
	.text
	.p2align 4
	.type	hscx_init, @function
hscx_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, 255
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR IPAC_RAH2[rip]
	call	WriteHSCX@PLT
	mov	esi, DWORD PTR IPAC_XBCH[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	WriteHSCX@PLT
	mov	esi, DWORD PTR IPAC_RLCR[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	WriteHSCX@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR IPAC_TYPE_HSCX[rip], eax
	je	.L2
	mov	esi, DWORD PTR IPAC_CCR1[rip]
	mov	edx, 133
	mov	rdi, rbp
	call	WriteHSCX@PLT
	mov	esi, DWORD PTR HSCX_VSTR[rip]
	mov	rdi, rbp
	call	ReadHSCX@PLT
	lea	rdi, .LC0[rip]
	mov	ebx, eax
	mov	rax, QWORD PTR 0[rbp]
	mov	edx, ebx
	mov	esi, DWORD PTR 4[rax]
	call	pr_debug@PLT
	mov	eax, DWORD PTR 8[rbp]
	test	DWORD PTR DEBUG_HW[rip], eax
	jne	.L9
.L3:
	mov	esi, DWORD PTR IPAC_CCR2[rip]
	mov	rdi, rbp
	mov	edx, 48
	call	WriteHSCX@PLT
	mov	esi, DWORD PTR IPAC_XCCR[rip]
	mov	rdi, rbp
	mov	edx, 7
	call	WriteHSCX@PLT
	mov	esi, DWORD PTR IPAC_RCCR[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	edx, 7
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	WriteHSCX@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR IPAC_CCR1[rip]
	mov	edx, 130
	mov	rdi, rbp
	call	WriteHSCX@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR HSCXVer[rip]
	and	ebx, 15
	lea	rdi, .LC1[rip]
	mov	edx, DWORD PTR [rax+rbx*4]
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR 4[rax]
	call	pr_notice@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	hscx_init, .-hscx_init
	.comm	IPAC_XCCR,4,4
	.comm	IPAC_XBCH,4,4
	.comm	IPAC_TYPE_HSCX,4,4
	.comm	IPAC_RLCR,4,4
	.comm	IPAC_RCCR,4,4
	.comm	IPAC_RAH2,4,4
	.comm	IPAC_CCR2,4,4
	.comm	IPAC_CCR1,4,4
	.comm	HSCX_VSTR,4,4
	.comm	HSCXVer,8,8
	.comm	DEBUG_HW,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_mISDNipac.c_hscx_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: HSCX VSTR %02x\012\000"
	.align	2
.LC1:
	.ascii	"%s: HSCX version %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hscx_init, %function
hscx_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L10
	mov	r2, #255
	ldr	r1, [r3]
	bl	WriteHSCX
	ldr	r3, .L10+4
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	WriteHSCX
	ldr	r3, .L10+8
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	WriteHSCX
	ldr	r2, [r4]
	ldr	r3, .L10+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	ldr	r3, .L10+16
	beq	.L2
	mov	r2, #133
	ldr	r1, [r3]
	mov	r0, r4
	bl	WriteHSCX
	ldr	r3, .L10+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	ReadHSCX
	ldr	r3, [r4]
	mov	r2, r0
	ldr	r1, [r3, #4]
	mov	r5, r0
	ldr	r0, .L10+24
	bl	pr_debug
	ldr	r3, .L10+28
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L9
.L3:
	ldr	r3, .L10+32
	mov	r2, #48
	ldr	r1, [r3]
	mov	r0, r4
	bl	WriteHSCX
	ldr	r3, .L10+36
	mov	r2, #7
	ldr	r1, [r3]
	mov	r0, r4
	bl	WriteHSCX
	ldr	r3, .L10+40
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r2, #7
	ldr	r1, [r3]
	b	WriteHSCX
.L2:
	mov	r2, #130
	mov	r0, r4
	ldr	r1, [r3]
	bl	WriteHSCX
	b	.L3
.L9:
	ldr	r2, .L10+44
	ldr	r3, [r4]
	ldr	r2, [r2]
	and	r5, r5, #15
	ldr	r2, [r2, r5, lsl #2]
	ldr	r1, [r3, #4]
	ldr	r0, .L10+48
	bl	pr_notice
	b	.L3
.L11:
	.align	2
.L10:
	.word	IPAC_RAH2
	.word	IPAC_XBCH
	.word	IPAC_RLCR
	.word	IPAC_TYPE_HSCX
	.word	IPAC_CCR1
	.word	HSCX_VSTR
	.word	.LC0
	.word	DEBUG_HW
	.word	IPAC_CCR2
	.word	IPAC_XCCR
	.word	IPAC_RCCR
	.word	HSCXVer
	.word	.LC1
	.size	hscx_init, .-hscx_init
	.comm	IPAC_XCCR,4,4
	.comm	IPAC_XBCH,4,4
	.comm	IPAC_TYPE_HSCX,4,4
	.comm	IPAC_RLCR,4,4
	.comm	IPAC_RCCR,4,4
	.comm	IPAC_RAH2,4,4
	.comm	IPAC_CCR2,4,4
	.comm	IPAC_CCR1,4,4
	.comm	HSCX_VSTR,4,4
	.comm	HSCXVer,4,4
	.comm	DEBUG_HW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
