	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function canonicalize_iv_subregs
_canonicalize_iv_subregs:               ## @canonicalize_iv_subregs
	.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
	cmpq	$0, 48(%rdi)
	jne	LBB0_7
## %bb.2:
	movq	%rcx, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_const1_rtx@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movq	8(%rbx), %rcx
	movq	_const0_rtx@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rcx
	jne	LBB0_7
## %bb.4:
	movq	%rsi, %r15
	cmpq	$0, 48(%rsi)
	jne	LBB0_7
## %bb.9:
	cmpq	%rax, (%r15)
	jne	LBB0_7
## %bb.10:
	cmpq	%rcx, 8(%r15)
	jne	LBB0_7
## %bb.11:
	movl	%edx, %r12d
	leal	-128(%r12), %eax
	cmpl	$4, %eax
	ja	LBB0_19
## %bb.12:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	movq	_SIGN_EXTEND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, 40(%rbx)
	je	LBB0_7
## %bb.24:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %eax
	cmpl	%ecx, 40(%r15)
	je	LBB0_8
	jmp	LBB0_30
LBB0_17:
	movq	_ZERO_EXTEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, 40(%rbx)
	je	LBB0_7
## %bb.25:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	cmpl	%eax, 40(%r15)
	je	LBB0_7
	jmp	LBB0_30
LBB0_19:
	xorl	%eax, %eax
	callq	_gcc_unreachable
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	jmp	LBB0_30
LBB0_20:
	movl	40(%rbx), %ecx
	movq	_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	40(%r15), %eax
	cmpl	%edx, %ecx
	je	LBB0_27
## %bb.21:
	cmpl	%edx, %eax
	je	LBB0_27
## %bb.22:
	cmpl	%eax, %ecx
	jne	LBB0_7
LBB0_27:
	cmpl	%edx, %ecx
	setne	%sil
	movq	_SIGN_EXTEND@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	cmpl	%edi, %ecx
	sete	%cl
	cmpl	%edx, %eax
	jne	LBB0_29
## %bb.28:
	andb	%cl, %sil
	movzbl	%sil, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_30
LBB0_29:
	xorl	%ecx, %ecx
	cmpl	%edi, %eax
	sete	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_30:
	movl	16(%rbx), %edi
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	callq	_GET_MODE_BITSIZE
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r15), %edi
	callq	_GET_MODE_BITSIZE
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	jge	LBB0_32
## %bb.31:
	movl	16(%r15), %r8d
LBB0_32:
	movl	16(%rbx), %ecx
	cmpl	%r8d, %ecx
	jne	LBB0_38
LBB0_33:
	movl	16(%r15), %ecx
	movl	%r8d, %eax
	cmpl	%r8d, %ecx
	jne	LBB0_42
## %bb.34:
	cmpl	%eax, 20(%rbx)
	jne	LBB0_54
LBB0_35:
	movq	24(%rbx), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_54
## %bb.36:
	movl	20(%r15), %esi
	cmpl	%esi, %eax
	je	LBB0_54
## %bb.37:
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r14, %r8
	callq	_shorten_into_mode
	movl	16(%r15), %r8d
	jmp	LBB0_54
LBB0_38:
	cmpl	%ecx, 20(%rbx)
	jne	LBB0_7
## %bb.39:
	movq	24(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_7
## %bb.40:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_50
## %bb.41:
	movq	_ZERO_EXTEND@GOTPCREL(%rip), %rax
	jmp	LBB0_51
LBB0_42:
	cmpl	%ecx, 20(%r15)
	jne	LBB0_7
## %bb.43:
	movq	24(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_7
## %bb.44:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_52
## %bb.45:
	movq	_ZERO_EXTEND@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_50:
	movq	_SIGN_EXTEND@GOTPCREL(%rip), %rax
LBB0_51:
	movl	(%rax), %edi
	movq	32(%rbx), %rdx
	movl	%r8d, %esi
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	callq	_simplify_gen_unary
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	%rax, 32(%rbx)
	movl	%r8d, 16(%rbx)
	jmp	LBB0_33
LBB0_52:
	movq	_SIGN_EXTEND@GOTPCREL(%rip), %rax
LBB0_53:
	movl	(%rax), %edi
	movq	32(%r15), %rdx
	movl	%r8d, %esi
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	callq	_simplify_gen_unary
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	%rax, 32(%r15)
	movl	%r8d, 16(%r15)
	movl	16(%rbx), %eax
	cmpl	%eax, 20(%rbx)
	je	LBB0_35
LBB0_54:
	movl	20(%r15), %ecx
	cmpl	%r8d, %ecx
	jne	LBB0_59
## %bb.55:
	movq	24(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_58
## %bb.56:
	movl	20(%rbx), %r13d
	movl	%r8d, %ecx
	cmpl	%r8d, %r13d
	je	LBB0_59
## %bb.57:
	movl	%r12d, %edi
	callq	_swap_condition
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r14, %r8
	callq	_shorten_into_mode
	movl	20(%r15), %ecx
	jmp	LBB0_59
LBB0_58:
	movl	%r8d, %ecx
LBB0_59:
	movl	$0, %eax
	cmpl	%ecx, 20(%rbx)
	jne	LBB0_8
## %bb.60:
	movl	%ecx, (%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r14)
	movl	$1, %eax
	jmp	LBB0_8
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_20
	.long	L0_0_set_13
	.long	L0_0_set_17
	.long	L0_0_set_13
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_const1_rtx,8,3                 ## @const1_rtx
	.comm	_const0_rtx,8,3                 ## @const0_rtx
	.comm	_ZERO_EXTEND,4,2                ## @ZERO_EXTEND
	.comm	_SIGN_EXTEND,4,2                ## @SIGN_EXTEND
	.comm	_UNKNOWN,4,2                    ## @UNKNOWN
	.no_dead_strip	_canonicalize_iv_subregs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function canonicalize_iv_subregs
_canonicalize_iv_subregs:               ; @canonicalize_iv_subregs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0, #48]
	cbnz	x8, LBB0_37
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _const1_rtx@GOTPAGE
Lloh1:
	ldr	x9, [x9, _const1_rtx@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.2:
	ldr	x9, [x20, #8]
Lloh3:
	adrp	x26, _const0_rtx@GOTPAGE
Lloh4:
	ldr	x26, [x26, _const0_rtx@GOTPAGEOFF]
	ldr	x10, [x26]
	cmp	x9, x10
	b.ne	LBB0_37
; %bb.3:
	mov	x21, x1
	ldr	x10, [x1, #48]
	cbnz	x10, LBB0_37
; %bb.4:
	ldr	x10, [x21]
	cmp	x10, x8
	b.ne	LBB0_37
; %bb.5:
	ldr	x8, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.6:
	mov	x19, x3
	mov	x22, x2
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_13
; %bb.7:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	ldr	w9, [x20, #40]
Lloh7:
	adrp	x8, _SIGN_EXTEND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SIGN_EXTEND@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w9, w8
	b.eq	LBB0_37
; %bb.9:
	mov	w23, #0
	mov	w0, #0
	ldr	w9, [x21, #40]
	cmp	w9, w8
	b.eq	LBB0_38
	b	LBB0_16
LBB0_10:
	ldr	w9, [x20, #40]
Lloh10:
	adrp	x8, _ZERO_EXTEND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZERO_EXTEND@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w9, w8
	b.eq	LBB0_37
; %bb.11:
	ldr	w9, [x21, #40]
	cmp	w9, w8
	b.eq	LBB0_37
; %bb.12:
	mov	w23, #1
	b	LBB0_16
LBB0_13:
	bl	_gcc_unreachable
                                        ; implicit-def: $w23
	b	LBB0_16
LBB0_14:
Lloh13:
	adrp	x8, _UNKNOWN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UNKNOWN@GOTPAGEOFF]
	ldr	w10, [x20, #40]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x21, #40]
	cmp	w10, w8
	ccmp	w9, w8, #4, ne
	ccmp	w10, w9, #4, ne
	b.ne	LBB0_37
; %bb.15:
	cmp	w10, w8
Lloh16:
	adrp	x11, _SIGN_EXTEND@GOTPAGE
Lloh17:
	ldr	x11, [x11, _SIGN_EXTEND@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
	ccmp	w10, w11, #0, ne
	cset	w10, eq
	cmp	w9, w11
	cset	w11, eq
	cmp	w9, w8
	csel	w23, w10, w11, eq
LBB0_16:
	ldr	w24, [x20, #16]
	mov	x0, x24
	bl	_GET_MODE_BITSIZE
	mov	x25, x0
	ldr	w0, [x21, #16]
	bl	_GET_MODE_BITSIZE
	cmp	x25, x0
	b.ge	LBB0_18
; %bb.17:
	ldr	w24, [x21, #16]
LBB0_18:
	ldr	w3, [x20, #16]
	cmp	w3, w24
	b.ne	LBB0_28
LBB0_19:
	ldr	w3, [x21, #16]
	mov	x8, x24
	cmp	w3, w24
	b.ne	LBB0_31
LBB0_20:
	ldr	w9, [x20, #20]
	cmp	w9, w8
	b.ne	LBB0_24
; %bb.21:
	ldr	x9, [x20, #24]
	ldr	x10, [x26]
	cmp	x9, x10
	b.ne	LBB0_24
; %bb.22:
	ldr	w1, [x21, #20]
	cmp	w8, w1
	b.eq	LBB0_24
; %bb.23:
	mov	x0, x20
	mov	x2, x22
	mov	x3, x23
	mov	x4, x19
	bl	_shorten_into_mode
	ldr	w24, [x21, #16]
LBB0_24:
	ldr	w8, [x21, #20]
	cmp	w8, w24
	b.ne	LBB0_35
; %bb.25:
	ldr	x8, [x21, #24]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_34
; %bb.26:
	ldr	w25, [x20, #20]
	mov	x8, x24
	cmp	w25, w24
	b.eq	LBB0_35
; %bb.27:
	mov	x0, x22
	bl	_swap_condition
	mov	x2, x0
	mov	x0, x21
	mov	x1, x25
	mov	x3, x23
	mov	x4, x19
	bl	_shorten_into_mode
	ldr	w8, [x21, #20]
	b	LBB0_35
LBB0_28:
	ldr	w8, [x20, #20]
	cmp	w8, w3
	b.ne	LBB0_37
; %bb.29:
	ldr	x8, [x20, #24]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.30:
Lloh19:
	adrp	x8, _SIGN_EXTEND@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SIGN_EXTEND@GOTPAGEOFF]
Lloh21:
	adrp	x9, _ZERO_EXTEND@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ZERO_EXTEND@GOTPAGEOFF]
	cmp	w23, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldr	x2, [x20, #32]
	mov	x1, x24
	bl	_simplify_gen_unary
	str	x0, [x20, #32]
	str	w24, [x20, #16]
	b	LBB0_19
LBB0_31:
	ldr	w8, [x21, #20]
	cmp	w8, w3
	b.ne	LBB0_37
; %bb.32:
	ldr	x8, [x21, #24]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.33:
Lloh23:
	adrp	x8, _SIGN_EXTEND@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SIGN_EXTEND@GOTPAGEOFF]
Lloh25:
	adrp	x9, _ZERO_EXTEND@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ZERO_EXTEND@GOTPAGEOFF]
	cmp	w23, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldr	x2, [x21, #32]
	mov	x1, x24
	bl	_simplify_gen_unary
	str	x0, [x21, #32]
	str	w24, [x21, #16]
	ldr	w8, [x20, #16]
	b	LBB0_20
LBB0_34:
	mov	x8, x24
LBB0_35:
	ldr	w9, [x20, #20]
	cmp	w9, w8
	b.ne	LBB0_37
; %bb.36:
	stp	w8, w23, [x19]
	mov	w0, #1
	b	LBB0_38
LBB0_37:
	mov	w0, #0
LBB0_38:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
                                        ; -- End function
	.comm	_const1_rtx,8,3                 ; @const1_rtx
	.comm	_const0_rtx,8,3                 ; @const0_rtx
	.comm	_ZERO_EXTEND,4,2                ; @ZERO_EXTEND
	.comm	_SIGN_EXTEND,4,2                ; @SIGN_EXTEND
	.comm	_UNKNOWN,4,2                    ; @UNKNOWN
	.no_dead_strip	_canonicalize_iv_subregs
.subsections_via_symbols
