	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gather_mem_refs
_gather_mem_refs:                       ## @gather_mem_refs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_get_loop_body
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	$0, -64(%rbp)
	movq	_memref_hash@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_memref_eq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$100, %edi
	xorl	%ecx, %ecx
	callq	_htab_create
	movl	%eax, %ebx
	cmpl	$0, (%r12)
	je	LBB0_5
## %bb.1:
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movl	(%r12), %eax
	cmpq	%rax, %rcx
	jae	LBB0_5
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rax,%rcx,4), %edi
	callq	_bsi_start
	movl	%eax, -44(%rbp)
	movl	%eax, %edi
	callq	_bsi_end_p
	testl	%eax, %eax
	leaq	-64(%rbp), %r15
	leaq	-44(%rbp), %r13
	jne	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-44(%rbp), %edi
	callq	_bsi_stmt
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	movq	%r15, %r8
	callq	_gather_mem_refs_stmt
	movq	%r13, %rdi
	callq	_bsi_next
	movl	-44(%rbp), %edi
	callq	_bsi_end_p
	testl	%eax, %eax
	je	LBB0_3
	jmp	LBB0_4
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	%ebx, %edi
	callq	_htab_delete
	movq	-64(%rbp), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_memref_hash,4,2                ## @memref_hash
	.comm	_memref_eq,4,2                  ## @memref_eq
	.no_dead_strip	_gather_mem_refs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gather_mem_refs
_gather_mem_refs:                       ; @gather_mem_refs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_get_loop_body
	mov	x21, x0
	str	xzr, [sp]
Lloh0:
	adrp	x8, _memref_hash@GOTPAGE
Lloh1:
	ldr	x8, [x8, _memref_hash@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _memref_eq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _memref_eq@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w0, #100
	mov	x3, #0
	bl	_htab_create
	mov	x22, x0
	ldr	w8, [x20]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x23, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldr	w8, [x20]
	cmp	x23, x8
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w0, [x21, x23, lsl #2]
	bl	_bsi_start
	str	w0, [sp, #12]
	bl	_bsi_end_p
	cbnz	w0, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [sp, #12]
	bl	_bsi_stmt
	mov	x3, x0
	mov	x4, sp
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_gather_mem_refs_stmt
	add	x0, sp, #12
	bl	_bsi_next
	ldr	w0, [sp, #12]
	bl	_bsi_end_p
	cbz	w0, LBB0_4
	b	LBB0_2
LBB0_5:
	mov	x0, x21
	bl	_free
	mov	x0, x22
	bl	_htab_delete
	ldr	x0, [sp]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_memref_hash,4,2                ; @memref_hash
	.comm	_memref_eq,4,2                  ; @memref_eq
	.no_dead_strip	_gather_mem_refs
.subsections_via_symbols
