	.file	"extr_os390.c_os390_message_queue_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	os390_message_queue_handler, @function
os390_message_queue_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	edi, -1
	je	.L5
	mov	r8d, DWORD PTR IPC_NOWAIT[rip]
	xor	ecx, ecx
	mov	rsi, rsp
	mov	edx, 16
	call	msgrcv@PLT
	cmp	eax, -1
	je	.L12
	mov	rax, QWORD PTR [rsp]
	cmp	rax, QWORD PTR _RFIM_ATTR[rip]
	je	.L6
.L15:
	cmp	rax, QWORD PTR _RFIM_WRITE[rip]
	je	.L6
	cmp	rax, QWORD PTR _RFIM_RENAME[rip]
	je	.L13
.L5:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rax, QWORD PTR ENOMSG[rip]
	cmp	QWORD PTR errno[rip], rax
	je	.L5
	xor	eax, eax
	call	abort@PLT
	mov	rax, QWORD PTR [rsp]
	cmp	rax, QWORD PTR _RFIM_ATTR[rip]
	jne	.L15
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r12d, DWORD PTR UV_CHANGE[rip]
.L8:
	mov	rax, QWORD PTR 8[rsp]
	mov	rbp, QWORD PTR [rax]
	mov	edi, DWORD PTR 0[rbp]
	mov	rbx, QWORD PTR 8[rbp]
	call	uv__basename_r@PLT
	xor	ecx, ecx
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, eax
	call	rbx
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	r12d, DWORD PTR UV_RENAME[rip]
	jmp	.L8
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	os390_message_queue_handler, .-os390_message_queue_handler
	.comm	errno,8,8
	.comm	_RFIM_WRITE,8,8
	.comm	_RFIM_RENAME,8,8
	.comm	_RFIM_ATTR,8,8
	.comm	UV_RENAME,4,4
	.comm	UV_CHANGE,4,4
	.comm	IPC_NOWAIT,4,4
	.comm	ENOMSG,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_os390.c_os390_message_queue_handler.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	os390_message_queue_handler, %function
os390_message_queue_handler:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r0, [r0]
	ldr	r3, .L15
	sub	sp, sp, #24
	cmn	r0, #1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L5
	ldr	r3, .L15+4
	add	r1, sp, #12
	ldr	r2, [r3]
	mov	r3, #0
	str	r2, [sp]
	mov	r2, #8
	bl	msgrcv
	cmn	r0, #1
	beq	.L12
.L4:
	ldr	r2, .L15+8
	ldr	r3, [sp, #12]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L6
	ldr	r2, .L15+12
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L6
	ldr	r2, .L15+16
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L13
.L5:
	mov	r0, #0
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r2, .L15+20
	ldr	r3, .L15+24
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L5
	bl	abort
	b	.L4
.L6:
	ldr	r3, .L15+28
	ldr	r6, [r3]
.L8:
	ldr	r3, [sp, #16]
	ldr	r4, [r3]
	ldm	r4, {r0, r5}
	bl	uv__basename_r
	mov	r2, r6
	mov	r1, r0
	mov	r3, #0
	mov	r0, r4
	blx	r5
	mov	r0, #1
	b	.L1
.L13:
	ldr	r3, .L15+32
	ldr	r6, [r3]
	b	.L8
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	IPC_NOWAIT
	.word	_RFIM_ATTR
	.word	_RFIM_WRITE
	.word	_RFIM_RENAME
	.word	errno
	.word	ENOMSG
	.word	UV_CHANGE
	.word	UV_RENAME
	.size	os390_message_queue_handler, .-os390_message_queue_handler
	.comm	errno,4,4
	.comm	_RFIM_WRITE,4,4
	.comm	_RFIM_RENAME,4,4
	.comm	_RFIM_ATTR,4,4
	.comm	UV_RENAME,4,4
	.comm	UV_CHANGE,4,4
	.comm	IPC_NOWAIT,4,4
	.comm	ENOMSG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
