	.file	"extr_synclink_cs.c_mgslpc_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"mgslpc_attach\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Error can't allocate device instance data\n"
	.text
	.p2align 4
	.type	mgslpc_probe, @function
mgslpc_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR DEBUG_LEVEL_INFO[rip]
	cmp	QWORD PTR debug_level[rip], rax
	jge	.L7
.L2:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 72
	call	kzalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L8
	mov	eax, DWORD PTR MGSLPC_MAGIC[rip]
	lea	rdi, 48[rbp]
	mov	DWORD PTR 68[rbp], eax
	call	tty_port_init@PLT
	lea	rax, mgslpc_port_ops[rip]
	mov	esi, DWORD PTR bh_handler[rip]
	lea	rdi, 64[rbp]
	mov	QWORD PTR 56[rbp], rax
	call	INIT_WORK@PLT
	mov	eax, DWORD PTR HZ[rip]
	mov	DWORD PTR 0[rbp], 4096
	lea	rdi, 44[rbp]
	mov	edx, eax
	shr	edx, 31
	add	edx, eax
	imul	eax, eax, 30
	sar	edx
	mov	DWORD PTR 48[rbp], edx
	mov	DWORD PTR 52[rbp], eax
	call	init_waitqueue_head@PLT
	lea	rdi, 40[rbp]
	call	init_waitqueue_head@PLT
	lea	rdi, 36[rbp]
	call	spin_lock_init@PLT
	lea	rdi, 32[rbp]
	call	spin_lock_init@PLT
	lea	rdi, 28[rbp]
	mov	edx, 4
	lea	rsi, default_params[rip]
	call	memcpy@PLT
	mov	eax, DWORD PTR HDLC_TXIDLE_FLAGS[rip]
	mov	QWORD PTR 16[rbp], r12
	mov	rdi, r12
	mov	DWORD PTR 4[rbp], 65535
	mov	DWORD PTR 24[rbp], eax
	movabs	rax, 1095216726015
	mov	QWORD PTR 8[rbp], rax
	mov	eax, DWORD PTR IRQ_TYPE_DYNAMIC_SHARING[rip]
	mov	QWORD PTR 32[r12], rbp
	mov	DWORD PTR 28[r12], eax
	mov	eax, DWORD PTR IRQ_LEVEL_ID[rip]
	mov	QWORD PTR 16[r12], 0
	mov	DWORD PTR 24[r12], eax
	mov	eax, DWORD PTR INT_MEMORY_AND_IO[rip]
	mov	QWORD PTR 8[r12], 0
	mov	DWORD PTR [r12], eax
	call	mgslpc_config@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, rbp
	call	mgslpc_add_device@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	printk@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rdi, .LC1[rip]
	call	printk@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mgslpc_probe, .-mgslpc_probe
	.comm	mgslpc_port_ops,4,4
	.comm	default_params,4,4
	.comm	debug_level,8,8
	.comm	bh_handler,4,4
	.comm	MGSLPC_MAGIC,4,4
	.comm	IRQ_TYPE_DYNAMIC_SHARING,4,4
	.comm	IRQ_LEVEL_ID,4,4
	.comm	INT_MEMORY_AND_IO,4,4
	.comm	HZ,4,4
	.comm	HDLC_TXIDLE_FLAGS,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	DEBUG_LEVEL_INFO,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_synclink_cs.c_mgslpc_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mgslpc_attach\012\000"
	.align	2
.LC1:
	.ascii	"Error can't allocate device instance data\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mgslpc_probe, %function
mgslpc_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L10
	ldr	r3, .L10+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	cmp	r2, r3
	mov	r5, r0
	bge	.L7
.L2:
	ldr	r3, .L10+8
	mov	r0, #64
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L8
	ldr	r3, .L10+12
	add	r0, r4, #44
	ldr	r3, [r3]
	str	r3, [r4, #60]
	bl	tty_port_init
	ldr	r2, .L10+16
	ldr	r3, .L10+20
	str	r2, [r4, #52]
	ldr	r1, [r3]
	add	r0, r4, #56
	bl	INIT_WORK
	mov	r2, #4096
	ldr	r3, .L10+24
	str	r2, [r4]
	ldr	r3, [r3]
	add	r0, r4, #40
	add	r2, r3, r3, lsr #31
	rsb	r3, r3, r3, lsl #4
	lsl	r3, r3, #1
	asr	r2, r2, #1
	str	r3, [r4, #48]
	str	r2, [r4, #44]
	bl	init_waitqueue_head
	add	r0, r4, #36
	bl	init_waitqueue_head
	add	r0, r4, #32
	bl	spin_lock_init
	add	r0, r4, #28
	bl	spin_lock_init
	mov	r2, #4
	ldr	r1, .L10+28
	add	r0, r4, #24
	bl	memcpy
	mov	r2, #255
	mov	r3, #0
	ldr	ip, .L10+32
	ldr	r0, .L10+36
	ldr	r1, .L10+40
	ldr	lr, [ip]
	ldr	ip, [r0]
	ldr	r0, [r1]
	ldr	r1, .L10+44
	str	r2, [r4, #12]
	ldr	r1, [r1]
	add	r2, r2, #65280
	str	r5, [r4, #16]
	str	lr, [r4, #20]
	str	r2, [r4, #4]
	str	r2, [r4, #8]
	str	r0, [r5, #12]
	str	ip, [r5, #16]
	mov	r0, r5
	str	r4, [r5, #20]
	str	r1, [r5]
	str	r3, [r5, #8]
	str	r3, [r5, #4]
	bl	mgslpc_config
	subs	r5, r0, #0
	beq	.L9
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r4
	bl	mgslpc_add_device
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r0, .L10+48
	bl	printk
	b	.L2
.L8:
	ldr	r0, .L10+52
	bl	printk
	ldr	r3, .L10+56
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	debug_level
	.word	DEBUG_LEVEL_INFO
	.word	GFP_KERNEL
	.word	MGSLPC_MAGIC
	.word	mgslpc_port_ops
	.word	bh_handler
	.word	HZ
	.word	default_params
	.word	HDLC_TXIDLE_FLAGS
	.word	IRQ_TYPE_DYNAMIC_SHARING
	.word	IRQ_LEVEL_ID
	.word	INT_MEMORY_AND_IO
	.word	.LC0
	.word	.LC1
	.word	ENOMEM
	.size	mgslpc_probe, .-mgslpc_probe
	.comm	mgslpc_port_ops,4,4
	.comm	default_params,4,4
	.comm	debug_level,4,4
	.comm	bh_handler,4,4
	.comm	MGSLPC_MAGIC,4,4
	.comm	IRQ_TYPE_DYNAMIC_SHARING,4,4
	.comm	IRQ_LEVEL_ID,4,4
	.comm	INT_MEMORY_AND_IO,4,4
	.comm	HZ,4,4
	.comm	HDLC_TXIDLE_FLAGS,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	DEBUG_LEVEL_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
