	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function earliest_block_with_similiar_load
_earliest_block_with_similiar_load:     ## @earliest_block_with_similiar_load
	.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	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_LOG_LINKS
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_XEXP
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_17
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_12 Depth 3
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_GET_MODE
	movq	_VOIDmode@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_INSN_DEPEND
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	testb	%al, %al
	cmovneq	%r13, %r12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_XEXP
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_16
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_12 Depth 3
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_BLOCK_FOR_INSN
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_GET_MODE
	movq	_VOIDmode@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r12), %rax
	cmpq	(%r13), %rax
	jl	LBB0_15
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	%r14, %rdi
	callq	_haifa_classify_insn
	movq	_PFREE_CANDIDATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movb	-41(%rbp), %al                  ## 1-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%rcx, %r13
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=3
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	sete	%al
	jne	LBB0_12
	jmp	LBB0_14
LBB0_1:
	xorl	%r12d, %r12d
LBB0_17:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VOIDmode,8,3                   ## @VOIDmode
	.comm	_PFREE_CANDIDATE,8,3            ## @PFREE_CANDIDATE
	.no_dead_strip	_earliest_block_with_similiar_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function earliest_block_with_similiar_load
_earliest_block_with_similiar_load:     ; @earliest_block_with_similiar_load
	.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	x19, x0
	mov	x0, x1
	bl	_LOG_LINKS
	cbz	x0, LBB0_16
; %bb.1:
	mov	x21, x0
	mov	x20, #0
	cmp	x19, #0
	cset	w25, eq
Lloh0:
	adrp	x26, _VOIDmode@GOTPAGE
Lloh1:
	ldr	x26, [x26, _VOIDmode@GOTPAGEOFF]
Lloh2:
	adrp	x27, _PFREE_CANDIDATE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PFREE_CANDIDATE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	w1, #1
	bl	_XEXP
	mov	x21, x0
	cbz	x0, LBB0_17
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;       Child Loop BB0_15 Depth 3
	mov	x0, x21
	mov	w1, #0
	bl	_XEXP
	mov	x22, x0
	mov	x0, x21
	bl	_GET_MODE
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_INSN_DEPEND
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	cmp	w8, #0
	csel	x20, x23, x20, ne
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x22
	mov	w1, #1
	bl	_XEXP
	mov	x22, x0
	cbz	x0, LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_15 Depth 3
	mov	x0, x22
	mov	w1, #0
	bl	_XEXP
	mov	x24, x0
	bl	_BLOCK_FOR_INSN
	mov	x23, x0
	mov	x0, x22
	bl	_GET_MODE
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cbz	x20, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	b.lt	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x24
	bl	_haifa_classify_insn
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x8, x25
	cbz	x19, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x8, x25
	cmp	x23, x19
	b.eq	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x9, x19
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x9, [x9, #8]
	cmp	x9, #0
	cset	w8, eq
	ccmp	x23, x9, #4, ne
	b.ne	LBB0_15
	b	LBB0_6
LBB0_16:
	mov	x20, #0
LBB0_17:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VOIDmode,8,3                   ; @VOIDmode
	.comm	_PFREE_CANDIDATE,8,3            ; @PFREE_CANDIDATE
	.no_dead_strip	_earliest_block_with_similiar_load
.subsections_via_symbols
