	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shorten_into_mode
_shorten_into_mode:                     ## @shorten_into_mode
	.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
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %eax
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	12(%rdi), %edx
	leaq	-60(%rbp), %rcx
	leaq	-56(%rbp), %r8
	movl	%esi, %edi
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_get_mode_bounds
	movq	_SImode@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	movl	-60(%rbp), %r8d
	movl	$130, %edi
	callq	_simplify_gen_relational
	movl	%eax, %r13d
	movl	(%r14), %esi
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	movl	-56(%rbp), %r8d
	movl	$134, %edi
	callq	_simplify_gen_relational
	movl	%eax, %r14d
	leal	-129(%r12), %eax
	cmpl	$4, %eax
	jb	LBB0_7
## %bb.1:
	leal	-133(%r12), %eax
	cmpl	$4, %eax
	jae	LBB0_2
## %bb.11:
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_13
## %bb.12:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rdx
	xorl	%edi, %edi
	movl	%r14d, %esi
	movq	%rax, %r14
	callq	_alloc_EXPR_LIST
	movq	%rax, (%r12)
	movl	(%r14), %r14d
LBB0_13:
	cmpl	%r14d, %r13d
	je	LBB0_16
## %bb.14:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r14), %rdx
	xorl	%edi, %edi
	movl	%r13d, %esi
	callq	_alloc_EXPR_LIST
	movq	%rax, 8(%r14)
	jmp	LBB0_16
LBB0_7:
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_9
## %bb.8:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rdx
	xorl	%edi, %edi
	movl	%r13d, %esi
	movq	%rax, %r13
	callq	_alloc_EXPR_LIST
	movq	%rax, (%r12)
	movl	(%r13), %r13d
LBB0_9:
	cmpl	%r13d, %r14d
	je	LBB0_16
## %bb.10:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rdx
	xorl	%edi, %edi
	movl	%r14d, %esi
	callq	_alloc_EXPR_LIST
	movq	%rax, 8(%r12)
	jmp	LBB0_16
LBB0_2:
	cmpl	$128, %r12d
	jne	LBB0_15
## %bb.3:
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rdx
	xorl	%edi, %edi
	movl	%r14d, %esi
	movq	%rax, %r14
	callq	_alloc_EXPR_LIST
	movq	%rax, (%r12)
	movl	(%r14), %r14d
LBB0_5:
	cmpl	%r14d, %r13d
	je	LBB0_16
## %bb.6:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdx
	xorl	%edi, %edi
	movl	%r13d, %esi
	callq	_alloc_EXPR_LIST
	movq	%rax, (%r14)
	jmp	LBB0_16
LBB0_15:
	xorl	%eax, %eax
	callq	_gcc_unreachable
LBB0_16:
	movl	%r15d, (%rbx)
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_17
## %bb.18:
	movq	_ZERO_EXTEND@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movq	_SIGN_EXTEND@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SImode,4,2                     ## @SImode
	.comm	_const0_rtx,4,2                 ## @const0_rtx
	.comm	_SIGN_EXTEND,4,2                ## @SIGN_EXTEND
	.comm	_ZERO_EXTEND,4,2                ## @ZERO_EXTEND
	.no_dead_strip	_shorten_into_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shorten_into_mode
_shorten_into_mode:                     ; @shorten_into_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x22, x4
	mov	x20, x3
	mov	x25, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w2, [x0, #12]
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x1
	mov	x1, x20
	bl	_get_mode_bounds
Lloh0:
	adrp	x24, _SImode@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SImode@GOTPAGEOFF]
	ldr	w1, [x24]
	ldp	w3, w2, [x19, #8]
	ldr	w4, [sp, #12]
	mov	w0, #130
	bl	_simplify_gen_relational
	mov	x23, x0
	ldr	w1, [x24]
	ldp	w3, w2, [x19, #8]
	ldr	w4, [sp, #8]
	mov	w0, #134
	bl	_simplify_gen_relational
	mov	x24, x0
	sub	w8, w25, #129
	cmp	w8, #4
	b.lo	LBB0_6
; %bb.1:
	sub	w8, w25, #133
	cmp	w8, #4
	b.hs	LBB0_12
; %bb.2:
Lloh2:
	adrp	x25, _const0_rtx@GOTPAGE
Lloh3:
	ldr	x25, [x25, _const0_rtx@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w24, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x2, [x22]
	mov	w0, #0
	mov	x1, x24
	bl	_alloc_EXPR_LIST
	str	x0, [x22]
	ldr	w24, [x25]
LBB0_4:
	cmp	w23, w24
	b.eq	LBB0_11
; %bb.5:
	ldr	x2, [x22, #8]
	mov	w0, #0
	mov	x1, x23
	b	LBB0_10
LBB0_6:
Lloh4:
	adrp	x25, _const0_rtx@GOTPAGE
Lloh5:
	ldr	x25, [x25, _const0_rtx@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w23, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	x2, [x22]
	mov	w0, #0
	mov	x1, x23
	bl	_alloc_EXPR_LIST
	str	x0, [x22]
	ldr	w23, [x25]
LBB0_8:
	cmp	w24, w23
	b.eq	LBB0_11
; %bb.9:
	ldr	x2, [x22, #8]
	mov	w0, #0
	mov	x1, x24
LBB0_10:
	bl	_alloc_EXPR_LIST
	str	x0, [x22, #8]
LBB0_11:
	str	w21, [x19]
Lloh6:
	adrp	x8, _SIGN_EXTEND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGN_EXTEND@GOTPAGEOFF]
Lloh8:
	adrp	x9, _ZERO_EXTEND@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ZERO_EXTEND@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x19, #4]
	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
	add	sp, sp, #96
	ret
LBB0_12:
	cmp	w25, #128
	b.ne	LBB0_17
; %bb.13:
Lloh10:
	adrp	x25, _const0_rtx@GOTPAGE
Lloh11:
	ldr	x25, [x25, _const0_rtx@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w24, w8
	b.eq	LBB0_15
; %bb.14:
	ldr	x2, [x22]
	mov	w0, #0
	mov	x1, x24
	bl	_alloc_EXPR_LIST
	str	x0, [x22]
	ldr	w24, [x25]
LBB0_15:
	cmp	w23, w24
	b.eq	LBB0_11
; %bb.16:
	ldr	x2, [x22]
	mov	w0, #0
	mov	x1, x23
	bl	_alloc_EXPR_LIST
	str	x0, [x22]
	b	LBB0_11
LBB0_17:
	bl	_gcc_unreachable
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SImode,4,2                     ; @SImode
	.comm	_const0_rtx,4,2                 ; @const0_rtx
	.comm	_SIGN_EXTEND,4,2                ; @SIGN_EXTEND
	.comm	_ZERO_EXTEND,4,2                ; @ZERO_EXTEND
	.no_dead_strip	_shorten_into_mode
.subsections_via_symbols
