	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iv_extend
_iv_extend:                             ## @iv_extend
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	_const0_rtx@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rsi
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 44(%rbx)
	je	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	cmpl	%r14d, 8(%rbx)
	jne	LBB0_8
## %bb.4:
	movq	16(%rbx), %rdx
	movl	%r15d, %ecx
	cmpq	%rcx, %rdx
	je	LBB0_6
## %bb.5:
	movq	_UNKNOWN@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_8
LBB0_6:
	movq	%rcx, 16(%rbx)
	jmp	LBB0_7
LBB0_2:
	movq	%rbx, %rdi
	callq	_get_iv_value
	movl	8(%rbx), %ecx
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_simplify_gen_unary
	movl	%eax, 40(%rbx)
	movq	_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movl	%r14d, 8(%rbx)
	movl	%r14d, 24(%rbx)
	movq	(%r12), %rax
	movq	%rax, 32(%rbx)
	movq	_const1_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
LBB0_7:
	movl	$1, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_const0_rtx,8,3                 ## @const0_rtx
	.comm	_UNKNOWN,8,3                    ## @UNKNOWN
	.comm	_const1_rtx,4,2                 ## @const1_rtx
	.no_dead_strip	_iv_extend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iv_extend
_iv_extend:                             ; @iv_extend
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x1, [x0]
Lloh0:
	adrp	x22, _const0_rtx@GOTPAGE
Lloh1:
	ldr	x22, [x22, _const0_rtx@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x1, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #44]
	cbz	w8, LBB0_6
LBB0_2:
	ldr	w8, [x19, #8]
	cmp	w8, w20
	b.ne	LBB0_5
; %bb.3:
	ldr	x9, [x19, #16]
Lloh2:
	adrp	x8, _UNKNOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UNKNOWN@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x8]
	mov	w8, w21
	cmp	x9, x8
	ccmp	x9, x10, #4, ne
	b.ne	LBB0_5
; %bb.4:
	str	x8, [x19, #16]
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_get_iv_value
	mov	x2, x0
	ldr	w3, [x19, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_simplify_gen_unary
Lloh5:
	adrp	x8, _UNKNOWN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UNKNOWN@GOTPAGEOFF]
	str	w0, [x19, #40]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	str	w20, [x19, #8]
	ldr	x8, [x22]
	str	x8, [x19, #32]
Lloh8:
	adrp	x8, _const1_rtx@GOTPAGE
Lloh9:
	ldr	x8, [x8, _const1_rtx@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w20, w8, [x19, #24]
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_const0_rtx,8,3                 ; @const0_rtx
	.comm	_UNKNOWN,8,3                    ; @UNKNOWN
	.comm	_const1_rtx,4,2                 ; @const1_rtx
	.no_dead_strip	_iv_extend
.subsections_via_symbols
