	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s390_expand_insv               ## -- Begin function s390_expand_insv
	.p2align	4, 0x90
_s390_expand_insv:                      ## @s390_expand_insv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%edi, %r15d
	movl	%esi, %edi
	callq	_INTVAL
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_INTVAL
	movl	%eax, %ecx
	movq	_BITS_PER_UNIT@GOTPCREL(%rip), %rsi
	movl	%r13d, %eax
	cltd
	idivl	(%rsi)
	xorl	%ebx, %ebx
	testl	%edx, %edx
	je	LBB0_1
LBB0_29:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	testl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
LBB0_15:
	movq	_TARGET_ZARCH@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_29
## %bb.16:
	movq	_word_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_register_operand
	testq	%rax, %rax
	je	LBB0_29
## %bb.17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	andl	$15, %eax
	jne	LBB0_29
## %bb.18:
	movl	%r13d, %eax
	andl	$15, %eax
	jne	LBB0_29
## %bb.19:
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_const_int_operand
	testq	%rax, %rax
	je	LBB0_29
## %bb.20:
	movl	%r14d, %edi
	callq	_INTVAL
	movl	%eax, %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r13), %ebx
	testl	%r13d, %r13d
	jle	LBB0_27
## %bb.21:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	addl	$32, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_HImode@GOTPCREL(%rip), %rdx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_TARGET_EXTIMM@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	cmoveq	%rdx, %rcx
	movl	(%rcx), %r13d
	movl	%r13d, %edi
	callq	_GET_MODE_BITSIZE
	movl	%eax, %r12d
	subl	%eax, %ebx
	movq	_word_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_GEN_INT
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_GEN_INT
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_gen_rtx_ZERO_EXTRACT
	movl	%eax, %r15d
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_gen_int_mode
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_emit_move_insn
	movq	_HImode@GOTPCREL(%rip), %rdx
	movl	%r12d, %ecx
	sarl	%cl, %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	%eax, %ebx
	jle	LBB0_27
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rax
	cmpl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	jl	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_SImode@GOTPCREL(%rip), %rax
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%rdx, %rcx
	testb	$31, %bl
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rax, %rcx
	jmp	LBB0_26
LBB0_2:
	movq	_VOIDmode@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%r15d, %edi
	callq	_memory_operand
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	_word_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_register_operand
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	(%r12), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_const_int_operand
	testq	%rax, %rax
	je	LBB0_15
LBB0_5:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	_MODE_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %r12
	movl	%r12d, %edi
	callq	_smallest_mode_for_size
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_GET_MODE_BITSIZE
	cmpl	%r12d, %eax
	jne	LBB0_9
## %bb.6:
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_adjust_address
	movl	%eax, %r14d
	movl	%r15d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_gen_lowpart
LBB0_7:
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_emit_move_insn
	jmp	LBB0_28
LBB0_27:
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_gcc_assert
	jmp	LBB0_28
LBB0_9:
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	callq	_const_int_operand
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	%r12d, %eax
	cltd
	movq	_BITS_PER_UNIT@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%eax, %r12d
	movq	_word_mode@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	%r15d, %esi
	callq	_force_const_mem
	movl	%eax, %r14d
	movq	_BLKmode@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movl	(%rbx), %edi
	callq	_GET_MODE_SIZE
	subl	%r12d, %eax
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_adjust_address
	movl	%eax, %r14d
	movl	(%r13), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_adjust_address
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_GEN_INT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_set_mem_size
	movl	%r12d, %edi
	callq	_GEN_INT
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_s390_expand_movmem
LBB0_28:
	movl	$1, %ebx
	jmp	LBB0_29
LBB0_11:
	movq	_word_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_register_operand
	testq	%rax, %rax
	je	LBB0_29
## %bb.12:
	movq	_SImode@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_GET_MODE_BITSIZE
	cmpl	%eax, %r12d
	jle	LBB0_13
## %bb.14:
	movl	(%r15), %edi
	callq	_GET_MODE_BITSIZE
	subl	%eax, %r12d
	movl	%r12d, %eax
	cltd
	movq	_BITS_PER_UNIT@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%eax, %ebx
	movl	(%r15), %esi
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	movl	%eax, %edx
	callq	_adjust_address
	movl	%eax, %r14d
	movl	(%r15), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_gen_lowpart
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_emit_move_insn
	movl	%ebx, %edi
	callq	_GEN_INT
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_set_mem_size
	movq	_word_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_GEN_INT
	movq	_const0_rtx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_gen_rtx_ZERO_EXTRACT
	movl	%eax, %r14d
	movq	_word_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r15), %edi
	callq	_GET_MODE_BITSIZE
	movl	%eax, %edi
	callq	_GEN_INT
	movl	%ebx, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_gen_rtx_LSHIFTRT
	jmp	LBB0_7
LBB0_13:
	movq	_word_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_gen_rtx_ZERO_EXTRACT
	movl	%eax, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_emit_move_insn
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_BITS_PER_UNIT,4,2              ## @BITS_PER_UNIT
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_word_mode,4,2                  ## @word_mode
	.comm	_MODE_INT,4,2                   ## @MODE_INT
	.comm	_BLKmode,4,2                    ## @BLKmode
	.comm	_SImode,4,2                     ## @SImode
	.comm	_const0_rtx,4,2                 ## @const0_rtx
	.comm	_TARGET_ZARCH,8,3               ## @TARGET_ZARCH
	.comm	_TARGET_EXTIMM,8,3              ## @TARGET_EXTIMM
	.comm	_HImode,4,2                     ## @HImode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s390_expand_insv               ; -- Begin function s390_expand_insv
	.p2align	2
_s390_expand_insv:                      ; @s390_expand_insv
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x1
	bl	_INTVAL
	mov	x22, x0
	mov	x0, x21
	bl	_INTVAL
Lloh0:
	adrp	x25, _BITS_PER_UNIT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _BITS_PER_UNIT@GOTPAGEOFF]
	ldr	w8, [x25]
	sdiv	w9, w22, w8
	msub	w8, w9, w8, w22
	cbz	w8, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x21, x0
	cbz	w0, LBB0_11
LBB0_4:
Lloh2:
	adrp	x8, _TARGET_ZARCH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TARGET_ZARCH@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_1
; %bb.5:
Lloh5:
	adrp	x27, _word_mode@GOTPAGE
Lloh6:
	ldr	x27, [x27, _word_mode@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_register_operand
	and	w8, w21, #0xf
	and	w9, w22, #0xf
	cmp	x0, #0
	ccmp	w8, #0, #0, ne
	ccmp	w9, #0, #0, eq
	b.ne	LBB0_1
; %bb.6:
Lloh7:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_const_int_operand
	cbz	x0, LBB0_2
; %bb.7:
	mov	x0, x20
	bl	_INTVAL
	add	w20, w21, w22
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x23, x0
	add	w28, w21, #32
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
Lloh10:
	adrp	x8, _TARGET_EXTIMM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TARGET_EXTIMM@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	and	w9, w20, #0x1f
	cmp	w20, w28
	ccmp	w9, #0, #0, ge
	ccmp	x8, #0, #4, eq
Lloh13:
	adrp	x8, _HImode@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HImode@GOTPAGEOFF]
Lloh15:
	adrp	x9, _SImode@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SImode@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w22, [x8]
	mov	x0, x22
	bl	_GET_MODE_BITSIZE
	mov	x24, x0
	sub	w20, w20, w0
	ldr	w25, [x27]
	bl	_GEN_INT
	mov	x26, x0
	mov	x0, x20
	bl	_GEN_INT
	mov	x3, x0
	mov	x0, x25
	mov	x1, x19
	mov	x2, x26
	bl	_gen_rtx_ZERO_EXTRACT
	mov	x25, x0
	mov	x0, x23
	mov	x1, x22
	bl	_gen_int_mode
	mov	x1, x0
	mov	x0, x25
	bl	_emit_move_insn
	asr	w23, w23, w24
	cmp	w20, w21
	b.gt	LBB0_9
LBB0_10:
	cmp	w20, w21
	cset	w0, eq
	bl	_gcc_assert
	b	LBB0_19
LBB0_11:
Lloh17:
	adrp	x26, _VOIDmode@GOTPAGE
Lloh18:
	ldr	x26, [x26, _VOIDmode@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_memory_operand
	cbz	x0, LBB0_4
; %bb.12:
Lloh19:
	adrp	x24, _word_mode@GOTPAGE
Lloh20:
	ldr	x24, [x24, _word_mode@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_register_operand
	cbnz	x0, LBB0_14
; %bb.13:
	ldr	w1, [x26]
	mov	x0, x20
	bl	_const_int_operand
	cbz	x0, LBB0_4
LBB0_14:
Lloh21:
	adrp	x8, _MODE_INT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MODE_INT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_smallest_mode_for_size
	mov	x21, x0
	bl	_GET_MODE_BITSIZE
	cmp	w0, w22
	b.ne	LBB0_17
; %bb.15:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_adjust_address
	mov	x19, x0
	mov	x0, x21
	mov	x1, x20
	bl	_gen_lowpart
LBB0_16:
	mov	x1, x0
	mov	x0, x19
	bl	_emit_move_insn
	b	LBB0_19
LBB0_17:
	ldr	w1, [x26]
	mov	x0, x20
	bl	_const_int_operand
	cbz	x0, LBB0_20
; %bb.18:
	ldr	w8, [x25]
	ldr	w0, [x24]
	sdiv	w21, w22, w8
	mov	x1, x20
	bl	_force_const_mem
	mov	x20, x0
Lloh24:
	adrp	x23, _BLKmode@GOTPAGE
Lloh25:
	ldr	x23, [x23, _BLKmode@GOTPAGEOFF]
	ldr	w22, [x23]
	ldr	w0, [x24]
	bl	_GET_MODE_SIZE
	sub	w2, w0, w21
	mov	x0, x20
	mov	x1, x22
	bl	_adjust_address
	mov	x20, x0
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_adjust_address
	mov	x19, x0
	mov	x0, x21
	bl	_GEN_INT
	mov	x1, x0
	mov	x0, x19
	bl	_set_mem_size
	mov	x0, x21
	bl	_GEN_INT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_s390_expand_movmem
LBB0_19:
	mov	w0, #1
	b	LBB0_2
LBB0_20:
	ldr	w1, [x24]
	mov	x0, x20
	bl	_register_operand
	cbz	x0, LBB0_2
; %bb.21:
Lloh26:
	adrp	x26, _SImode@GOTPAGE
Lloh27:
	ldr	x26, [x26, _SImode@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_GET_MODE_BITSIZE
	cmp	w22, w0
	b.le	LBB0_23
; %bb.22:
	ldr	w0, [x26]
	bl	_GET_MODE_BITSIZE
	sub	w21, w22, w0
	ldr	w8, [x25]
	ldr	w1, [x26]
	sdiv	w22, w21, w8
	mov	x0, x19
	mov	x2, x22
	bl	_adjust_address
	mov	x23, x0
	ldr	w0, [x26]
	mov	x1, x20
	bl	_gen_lowpart
	mov	x1, x0
	mov	x0, x23
	bl	_emit_move_insn
	mov	x0, x22
	bl	_GEN_INT
	mov	x1, x0
	mov	x0, x19
	bl	_set_mem_size
	ldr	w22, [x24]
	mov	x0, x21
	bl	_GEN_INT
	mov	x2, x0
Lloh28:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh29:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x19
	bl	_gen_rtx_ZERO_EXTRACT
	mov	x19, x0
	ldr	w21, [x24]
	ldr	w0, [x26]
	bl	_GET_MODE_BITSIZE
	bl	_GEN_INT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_gen_rtx_LSHIFTRT
	b	LBB0_16
LBB0_23:
	ldr	w0, [x24]
Lloh31:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh32:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	mov	x1, x19
	mov	x2, x23
	bl	_gen_rtx_ZERO_EXTRACT
	mov	x1, x20
	bl	_emit_move_insn
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_BITS_PER_UNIT,4,2              ; @BITS_PER_UNIT
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_word_mode,4,2                  ; @word_mode
	.comm	_MODE_INT,4,2                   ; @MODE_INT
	.comm	_BLKmode,4,2                    ; @BLKmode
	.comm	_SImode,4,2                     ; @SImode
	.comm	_const0_rtx,4,2                 ; @const0_rtx
	.comm	_TARGET_ZARCH,8,3               ; @TARGET_ZARCH
	.comm	_TARGET_EXTIMM,8,3              ; @TARGET_EXTIMM
	.comm	_HImode,4,2                     ; @HImode
.subsections_via_symbols
