	.file	"extr_s390.c_s390_expand_movmem.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	s390_expand_movmem
	.type	s390_expand_movmem, @function
s390_expand_movmem:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	mov	rdi, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR [rsp], rsi
	call	GET_CODE@PLT
	cmp	rax, QWORD PTR CONST_INT[rip]
	je	.L13
.L2:
	cmp	QWORD PTR TARGET_MVCLE[rip], 0
	je	.L4
	mov	edi, DWORD PTR Pmode[rip]
	mov	edx, 1
	mov	rsi, r13
	call	convert_to_mode@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r14
	mov	edx, eax
	call	gen_movmem_long@PLT
.L11:
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edi, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	emit_insn@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	eax, eax
	call	gen_label_rtx@PLT
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	gen_label_rtx@PLT
	mov	QWORD PTR 16[rsp], rax
	xor	eax, eax
	call	gen_label_rtx@PLT
	mov	rdi, r13
	mov	QWORD PTR 24[rsp], rax
	call	GET_MODE@PLT
	cmp	eax, DWORD PTR VOIDmode[rip]
	mov	edi, DWORD PTR Pmode[rip]
	mov	ebx, eax
	jne	.L6
	mov	ebx, DWORD PTR Pmode[rip]
	mov	edi, ebx
.L6:
	call	gen_reg_rtx@PLT
	mov	edi, DWORD PTR Pmode[rip]
	mov	r15, rax
	call	gen_reg_rtx@PLT
	mov	edi, ebx
	mov	QWORD PTR 32[rsp], rax
	call	gen_reg_rtx@PLT
	mov	edi, ebx
	mov	r12, rax
	call	gen_reg_rtx@PLT
	mov	rsi, r13
	mov	edx, 1
	mov	rdi, r12
	mov	rbp, rax
	call	convert_move@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	r8d, ebx
	mov	ecx, DWORD PTR NULL_RTX[rip]
	push	QWORD PTR 32[rsp]
	.cfi_def_cfa_offset 128
	mov	edx, DWORD PTR EQ[rip]
	mov	r9d, 1
	mov	rdi, r12
	mov	esi, DWORD PTR const0_rtx[rip]
	call	emit_cmp_and_jump_insns@PLT
	mov	r8d, DWORD PTR NULL_RTX[rip]
	mov	rdi, r14
	xor	esi, esi
	mov	DWORD PTR 60[rsp], r8d
	call	XEXP@PLT
	mov	r8d, DWORD PTR 60[rsp]
	mov	edi, eax
	mov	esi, r8d
	call	force_operand@PLT
	mov	rdi, r15
	mov	rsi, rax
	call	emit_move_insn@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	r8d, DWORD PTR NULL_RTX[rip]
	xor	esi, esi
	mov	DWORD PTR 60[rsp], r8d
	call	XEXP@PLT
	mov	r8d, DWORD PTR 60[rsp]
	mov	edi, eax
	mov	esi, r8d
	call	force_operand@PLT
	mov	r13, QWORD PTR 48[rsp]
	mov	rsi, rax
	mov	rdi, r13
	call	emit_move_insn@PLT
	mov	esi, DWORD PTR VOIDmode[rip]
	mov	rdi, r14
	mov	rdx, r15
	call	change_address@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	esi, DWORD PTR VOIDmode[rip]
	mov	rdx, r13
	mov	r14, rax
	call	change_address@PLT
	mov	esi, DWORD PTR add_optab[rip]
	mov	r8, r12
	mov	edi, ebx
	mov	ecx, DWORD PTR constm1_rtx[rip]
	mov	r9d, 1
	mov	rdx, r12
	mov	r13, rax
	mov	DWORD PTR [rsp], 0
	call	expand_binop@PLT
	pop	r8
	.cfi_def_cfa_offset 120
	pop	r9
	.cfi_def_cfa_offset 112
	mov	rsi, rax
	cmp	r12, rax
	je	.L7
	mov	rdi, r12
	call	emit_move_insn@PLT
.L7:
	mov	edi, 8
	call	GEN_INT@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	edi, ebx
	mov	r8, rbp
	push	0
	.cfi_def_cfa_offset 128
	mov	esi, DWORD PTR lshr_optab[rip]
	mov	ecx, eax
	mov	r9d, 1
	mov	rdx, r12
	call	expand_binop@PLT
	pop	rcx
	.cfi_def_cfa_offset 120
	pop	rdi
	.cfi_def_cfa_offset 112
	mov	rsi, rax
	cmp	rbp, rax
	je	.L8
	mov	rdi, rbp
	call	emit_move_insn@PLT
.L8:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	ecx, DWORD PTR NULL_RTX[rip]
	mov	r8d, ebx
	mov	rdi, rbp
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 128
	mov	edx, DWORD PTR EQ[rip]
	mov	r9d, 1
	mov	esi, DWORD PTR const0_rtx[rip]
	call	emit_cmp_and_jump_insns@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	emit_label@PLT
	mov	edi, 255
	call	GEN_INT@PLT
	mov	rsi, r13
	mov	rdi, r14
	mov	edx, eax
	call	gen_movmem_short@PLT
	mov	edi, eax
	call	emit_insn@PLT
	mov	edi, 256
	call	GEN_INT@PLT
	mov	edi, DWORD PTR Pmode[rip]
	mov	rsi, r15
	mov	edx, eax
	call	gen_rtx_PLUS@PLT
	mov	rdi, r15
	mov	esi, eax
	call	s390_load_address@PLT
	mov	edi, 256
	call	GEN_INT@PLT
	mov	r15, QWORD PTR 48[rsp]
	mov	edi, DWORD PTR Pmode[rip]
	mov	edx, eax
	mov	rsi, r15
	call	gen_rtx_PLUS@PLT
	mov	rdi, r15
	mov	esi, eax
	call	s390_load_address@PLT
	mov	esi, DWORD PTR add_optab[rip]
	mov	rdx, rbp
	mov	edi, ebx
	mov	ecx, DWORD PTR constm1_rtx[rip]
	mov	r9d, 1
	mov	r8, rbp
	mov	DWORD PTR [rsp], 0
	call	expand_binop@PLT
	mov	rsi, rax
	pop	rax
	.cfi_def_cfa_offset 120
	pop	rdx
	.cfi_def_cfa_offset 112
	cmp	rbp, rsi
	je	.L9
	mov	rdi, rbp
	call	emit_move_insn@PLT
.L9:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	ecx, DWORD PTR NULL_RTX[rip]
	mov	r8d, ebx
	mov	rdi, rbp
	mov	r15, QWORD PTR 24[rsp]
	mov	edx, DWORD PTR EQ[rip]
	mov	r9d, 1
	mov	esi, DWORD PTR const0_rtx[rip]
	push	r15
	.cfi_def_cfa_offset 128
	call	emit_cmp_and_jump_insns@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	emit_jump@PLT
	mov	rdi, r15
	call	emit_label@PLT
	mov	edi, DWORD PTR Pmode[rip]
	mov	rsi, r12
	mov	edx, 1
	call	convert_to_mode@PLT
	mov	rsi, r13
	mov	rdi, r14
	mov	edx, eax
	call	gen_movmem_short@PLT
	mov	edi, eax
	call	emit_insn@PLT
	mov	rdi, QWORD PTR 40[rsp]
	add	rsp, 72
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	emit_label@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_def_cfa_offset 112
	mov	rdi, r13
	call	INTVAL@PLT
	test	eax, eax
	js	.L2
	mov	rdi, r13
	call	INTVAL@PLT
	cmp	eax, 256
	jg	.L2
	mov	rdi, r13
	call	INTVAL@PLT
	test	eax, eax
	jg	.L14
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, r13
	call	INTVAL@PLT
	lea	edi, -1[rax]
	call	GEN_INT@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r14
	mov	edx, eax
	call	gen_movmem_short@PLT
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	s390_expand_movmem, .-s390_expand_movmem
	.comm	lshr_optab,4,4
	.comm	constm1_rtx,4,4
	.comm	const0_rtx,4,4
	.comm	add_optab,4,4
	.comm	VOIDmode,4,4
	.comm	TARGET_MVCLE,8,8
	.comm	Pmode,4,4
	.comm	NULL_RTX,4,4
	.comm	EQ,4,4
	.comm	CONST_INT,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_s390.c_s390_expand_movmem.c"
	.text
	.align	2
	.global	s390_expand_movmem
	.syntax unified
	.arm
	.fpu softvfp
	.type	s390_expand_movmem, %function
s390_expand_movmem:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r0
	sub	sp, sp, #44
	mov	r0, r2
	mov	r5, r2
	mov	r7, r1
	bl	GET_CODE
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
.L2:
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	bl	gen_label_rtx
	str	r0, [sp, #24]
	bl	gen_label_rtx
	str	r0, [sp, #28]
	bl	gen_label_rtx
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #32]
	bl	GET_MODE
	mov	r4, r0
	ldr	fp, .L16+8
	ldr	r3, [fp]
	cmp	r0, r3
	ldr	r3, .L16+12
	ldreq	r4, [r3]
	ldrne	r0, [r3]
	moveq	r0, r4
	str	r3, [sp, #20]
	bl	gen_reg_rtx
	ldr	r3, [sp, #20]
	mov	r10, r0
	ldr	r0, [r3]
	bl	gen_reg_rtx
	mov	r9, r0
	mov	r0, r4
	bl	gen_reg_rtx
	mov	r6, r0
	mov	r0, r4
	bl	gen_reg_rtx
	mov	r3, r0
	mov	r1, r5
	mov	r2, #1
	mov	r0, r6
	mov	r5, r3
	bl	convert_move
	ldr	r3, [sp, #32]
	ldr	r1, .L16+16
	str	r3, [sp, #8]
	mov	r3, #1
	str	r4, [sp]
	str	r3, [sp, #4]
	ldr	r2, [r1]
	ldr	r3, .L16+20
	ldr	r1, .L16+24
	ldr	r3, [r3]
	ldr	r1, [r1]
	mov	r0, r6
	bl	emit_cmp_and_jump_insns
	mov	r1, #0
	mov	r0, r8
	bl	XEXP
	ldr	r3, .L16+20
	ldr	r1, [r3]
	bl	force_operand
	mov	r1, r0
	mov	r0, r10
	bl	emit_move_insn
	mov	r1, #0
	mov	r0, r7
	bl	XEXP
	ldr	r3, .L16+20
	ldr	r1, [r3]
	bl	force_operand
	mov	r1, r0
	mov	r0, r9
	bl	emit_move_insn
	mov	r2, r10
	mov	r0, r8
	ldr	r1, [fp]
	bl	change_address
	mov	r3, r0
	mov	r2, r9
	mov	r0, r7
	ldr	r1, [fp]
	mov	r7, r3
	bl	change_address
	mov	r3, #0
	mov	r2, #1
	str	r3, [sp, #8]
	ldr	r1, .L16+28
	ldr	r3, .L16+32
	str	r2, [sp, #4]
	str	r6, [sp]
	mov	r8, r0
	mov	r2, r6
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r1, [r1]
	bl	expand_binop
	cmp	r6, r0
	beq	.L7
	mov	r1, r0
	mov	r0, r6
	bl	emit_move_insn
.L7:
	ldr	r3, .L16+36
	mov	r0, #8
	ldr	fp, [r3]
	bl	GEN_INT
	mov	ip, #0
	mov	r2, #1
	mov	r3, r0
	stmib	sp, {r2, ip}
	mov	r1, fp
	mov	r2, r6
	mov	r0, r4
	str	r5, [sp]
	bl	expand_binop
	cmp	r5, r0
	beq	.L8
	mov	r1, r0
	mov	r0, r5
	bl	emit_move_insn
.L8:
	mov	fp, #1
	ldr	r3, [sp, #28]
	stm	sp, {r4, fp}
	str	r3, [sp, #8]
	ldr	r2, .L16+16
	ldr	r3, .L16+20
	ldr	r1, .L16+24
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	r0, r5
	bl	emit_cmp_and_jump_insns
	ldr	r0, [sp, #24]
	bl	emit_label
	mov	r0, #255
	bl	GEN_INT
	mov	r1, r8
	mov	r2, r0
	mov	r0, r7
	bl	gen_movmem_short
	bl	emit_insn
	ldr	r3, [sp, #20]
	mov	r0, #256
	ldr	r3, [r3]
	str	r3, [sp, #36]
	bl	GEN_INT
	ldr	r3, [sp, #36]
	mov	r2, r0
	mov	r1, r10
	mov	r0, r3
	bl	gen_rtx_PLUS
	mov	r1, r0
	mov	r0, r10
	bl	s390_load_address
	ldr	r3, [sp, #20]
	mov	r0, #256
	ldr	r10, [r3]
	bl	GEN_INT
	mov	r1, r9
	mov	r2, r0
	mov	r0, r10
	bl	gen_rtx_PLUS
	mov	r1, r0
	mov	r0, r9
	bl	s390_load_address
	mov	r2, #0
	stm	sp, {r5, fp}
	ldr	r3, .L16+32
	ldr	r1, .L16+28
	ldr	r3, [r3]
	ldr	r1, [r1]
	mov	r0, r4
	str	r2, [sp, #8]
	mov	r2, r5
	bl	expand_binop
	cmp	r5, r0
	beq	.L9
	mov	r1, r0
	mov	r0, r5
	bl	emit_move_insn
.L9:
	mov	r9, #1
	ldr	r10, [sp, #28]
	ldr	r3, .L16+20
	ldr	r2, .L16+16
	ldr	r1, .L16+24
	str	r10, [sp, #8]
	str	r4, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	r0, r5
	str	r9, [sp, #4]
	bl	emit_cmp_and_jump_insns
	ldr	r0, [sp, #24]
	bl	emit_jump
	mov	r0, r10
	bl	emit_label
	ldr	r3, [sp, #20]
	mov	r2, r9
	ldr	r0, [r3]
	mov	r1, r6
	bl	convert_to_mode
	mov	r1, r8
	mov	r2, r0
	mov	r0, r7
	bl	gen_movmem_short
	bl	emit_insn
	ldr	r0, [sp, #32]
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	emit_label
.L14:
	ldr	r3, .L16+12
	mov	r1, r5
	mov	r2, #1
	ldr	r0, [r3]
	bl	convert_to_mode
	mov	r1, r7
	mov	r2, r0
	mov	r0, r8
	bl	gen_movmem_long
.L11:
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	emit_insn
.L13:
	mov	r0, r5
	bl	INTVAL
	cmp	r0, #0
	blt	.L2
	mov	r0, r5
	bl	INTVAL
	cmp	r0, #256
	bgt	.L2
	mov	r0, r5
	bl	INTVAL
	cmp	r0, #0
	bgt	.L15
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	mov	r0, r5
	bl	INTVAL
	sub	r0, r0, #1
	bl	GEN_INT
	mov	r1, r7
	mov	r2, r0
	mov	r0, r8
	bl	gen_movmem_short
	b	.L11
.L17:
	.align	2
.L16:
	.word	CONST_INT
	.word	TARGET_MVCLE
	.word	VOIDmode
	.word	Pmode
	.word	EQ
	.word	NULL_RTX
	.word	const0_rtx
	.word	add_optab
	.word	constm1_rtx
	.word	lshr_optab
	.size	s390_expand_movmem, .-s390_expand_movmem
	.comm	lshr_optab,4,4
	.comm	constm1_rtx,4,4
	.comm	const0_rtx,4,4
	.comm	add_optab,4,4
	.comm	VOIDmode,4,4
	.comm	TARGET_MVCLE,4,4
	.comm	Pmode,4,4
	.comm	NULL_RTX,4,4
	.comm	EQ,4,4
	.comm	CONST_INT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
