	.file	"extr_hvc_iucv.c_hvc_iucv_msg_pending.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hvc_iucv_msg_pending, @function
hvc_iucv_msg_pending:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rdi]
	mov	edi, DWORD PTR MSG_MAX_DATALEN[rip]
	mov	r13, QWORD PTR [rsi]
	call	MSG_SIZE@PLT
	cmp	r13, rax
	jg	.L11
	lea	r13, 8[rbx]
	mov	rdi, r13
	call	spin_lock@PLT
	mov	rax, QWORD PTR TTY_CLOSED[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L5
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	xor	edi, edi
	call	alloc_tty_buffer@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR 0[rbp]
	lea	rsi, 12[rbx]
	mov	QWORD PTR 8[rdi], rax
	call	list_add_tail@PLT
	xor	eax, eax
	call	hvc_kick@PLT
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r12
	call	iucv_message_reject@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	iucv_message_reject@PLT
	.cfi_endproc
.LFE0:
	.size	hvc_iucv_msg_pending, .-hvc_iucv_msg_pending
	.comm	TTY_CLOSED,8,8
	.comm	MSG_MAX_DATALEN,4,4
	.comm	GFP_ATOMIC,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_hvc_iucv.c_hvc_iucv_msg_pending.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hvc_iucv_msg_pending, %function
hvc_iucv_msg_pending:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r0]
	mov	r5, r0
	ldr	r0, [r3]
	ldr	r7, [r1]
	mov	r4, r1
	bl	MSG_SIZE
	cmp	r7, r0
	bgt	.L11
	add	r7, r6, #4
	mov	r0, r7
	bl	spin_lock
	ldr	r3, .L12+4
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L5
	ldr	r3, .L12+8
	mov	r0, #0
	ldr	r1, [r3]
	bl	alloc_tty_buffer
	subs	r3, r0, #0
	beq	.L5
.L4:
	ldr	r2, [r4]
	add	r1, r6, #8
	str	r2, [r3, #4]
	bl	list_add_tail
	bl	hvc_kick
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock
.L5:
	mov	r1, r4
	mov	r0, r5
	bl	iucv_message_reject
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock
.L11:
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	iucv_message_reject
.L13:
	.align	2
.L12:
	.word	MSG_MAX_DATALEN
	.word	TTY_CLOSED
	.word	GFP_ATOMIC
	.size	hvc_iucv_msg_pending, .-hvc_iucv_msg_pending
	.comm	TTY_CLOSED,4,4
	.comm	MSG_MAX_DATALEN,4,4
	.comm	GFP_ATOMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
