	.file	"extr_jsm_tty.c_jsm_tty_get_mctrl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"start\n"
.LC1:
	.string	"finish\n"
	.text
	.p2align 4
	.type	jsm_tty_get_mctrl, @function
jsm_tty_get_mctrl:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rcx, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdx, QWORD PTR [rdi]
	mov	esi, DWORD PTR INFO[rip]
	mov	edi, DWORD PTR IOCTL[rip]
	call	jsm_printk@PLT
	mov	rdi, rbp
	call	jsm_get_mstat@PLT
	test	eax, eax
	js	.L6
	mov	rdx, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR INFO[rip]
	lea	rcx, .LC1[rip]
	mov	ebx, eax
	mov	edi, DWORD PTR IOCTL[rip]
	call	jsm_printk@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR ENXIO[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	jsm_tty_get_mctrl, .-jsm_tty_get_mctrl
	.comm	IOCTL,4,4
	.comm	INFO,4,4
	.comm	ENXIO,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_jsm_tty.c_jsm_tty_get_mctrl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"start\012\000"
	.align	2
.LC1:
	.ascii	"finish\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jsm_tty_get_mctrl, %function
jsm_tty_get_mctrl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r7, .L7
	ldr	r6, .L7+4
	ldr	r2, [r0]
	ldr	r1, [r7]
	ldr	r3, .L7+8
	ldr	r0, [r6]
	bl	jsm_printk
	mov	r0, r5
	bl	jsm_get_mstat
	subs	r4, r0, #0
	blt	.L6
	ldr	r2, [r5]
	ldr	r1, [r7]
	ldr	r0, [r6]
	ldr	r3, .L7+12
	bl	jsm_printk
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, .L7+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	INFO
	.word	IOCTL
	.word	.LC0
	.word	.LC1
	.word	ENXIO
	.size	jsm_tty_get_mctrl, .-jsm_tty_get_mctrl
	.comm	IOCTL,4,4
	.comm	INFO,4,4
	.comm	ENXIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
