	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_reload_regs
_find_reload_regs:                      ## @find_reload_regs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edx
	movq	8(%rdi), %rsi
	testl	%edx, %edx
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	movq	_reload_order@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, (%rsi,%rbx)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movl	%r13d, (%rax,%r13,4)
	incq	%r13
	movslq	(%r14), %rdx
	addq	$56, %rbx
	cmpq	%rdx, %r13
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rsi,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_REGNO
	movq	8(%r14), %rcx
	movl	%eax, (%rcx,%rbx)
	movq	_hard_regno_nregs@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cltq
	movq	(%rdx,%rax,8), %r12
	movq	40(%rcx,%rbx), %rdi
	callq	_GET_MODE
	movl	(%r12,%rax,4), %eax
	movq	8(%r14), %rsi
	movl	%eax, 48(%rsi,%rbx)
	jmp	LBB0_5
LBB0_6:
	movq	_n_reloads@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	movq	_rld@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shll	$2, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	_used_spill_regs_local@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CLEAR_HARD_REG_SET
	movq	_dump_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movl	20(%r14), %edi
	callq	_INSN_UID
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_fprintf
LBB0_8:
	movq	_reload_order@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	_n_reloads@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_reload_reg_class_lower@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$2, %edx
	callq	_qsort
	movq	%r14, %rdi
	callq	_order_regs_for_reload
	movl	(%rbx), %eax
	testl	%eax, %eax
	movq	_rld@GOTPCREL(%rip), %rdx
	jle	LBB0_18
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_18
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	movslq	(%rcx,%rbx,4), %r15
	movq	(%rdx), %rcx
	imulq	$56, %r15, %r12
	cmpq	$0, 8(%rcx,%r12)
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, 16(%rcx,%r12)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, 32(%rcx,%r12)
	je	LBB0_17
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$0, 28(%rcx,%r12)
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$-1, (%rcx,%r12)
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_find_reg
	testl	%eax, %eax
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_n_reloads@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_rld@GOTPCREL(%rip), %rdx
	jmp	LBB0_17
LBB0_18:
	movl	16(%r14), %edi
	movq	_used_spill_regs_local@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rdx, %rbx
	callq	_COPY_HARD_REG_SET
	movq	_used_spill_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_IOR_HARD_REG_SET
	movq	8(%r14), %rdi
	movq	(%rbx), %rsi
	movq	_n_reloads@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_19:
	movq	_dump_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	callq	_fprintf
LBB0_21:
	movl	20(%r14), %edi
	movq	_rld@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	24(%rax,%r12), %esi
	callq	_spill_failure
	movq	_failure@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hard_regno_nregs,8,3           ## @hard_regno_nregs
	.comm	_reload_order,8,3               ## @reload_order
	.comm	_n_reloads,4,2                  ## @n_reloads
	.comm	_rld,8,3                        ## @rld
	.comm	_used_spill_regs_local,4,2      ## @used_spill_regs_local
	.comm	_dump_file,8,3                  ## @dump_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Spilling for insn %d.\n"

	.comm	_reload_reg_class_lower,4,2     ## @reload_reg_class_lower
L_.str.1:                               ## @.str.1
	.asciz	"reload failure for reload %d\n"

	.comm	_failure,4,2                    ## @failure
	.comm	_used_spill_regs,4,2            ## @used_spill_regs
	.no_dead_strip	_find_reload_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_reload_regs
_find_reload_regs:                      ; @find_reload_regs
	.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
	ldr	w8, [x0]
	ldr	x1, [x0, #8]
Lloh0:
	adrp	x22, _reload_order@GOTPAGE
Lloh1:
	ldr	x22, [x22, _reload_order@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x20, #0
	mov	x21, #0
	mov	w23, #-1
Lloh2:
	adrp	x24, _hard_regno_nregs@GOTPAGE
Lloh3:
	ldr	x24, [x24, _hard_regno_nregs@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w23, [x1, x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	str	w21, [x8, x21, lsl #2]
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #56
	cmp	x21, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x1, x20
	ldr	x0, [x8, #40]
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_REGNO
	ldr	x8, [x19, #8]
	add	x8, x8, x20
	str	w0, [x8]
	ldr	x9, [x24]
	ldr	x25, [x9, w0, sxtw #3]
	ldr	x0, [x8, #40]
	bl	_GET_MODE
	ldr	w8, [x25, x0, lsl #2]
	ldr	x1, [x19, #8]
	add	x9, x1, x20
	str	w8, [x9, #48]
	b	LBB0_3
LBB0_6:
Lloh4:
	adrp	x24, _n_reloads@GOTPAGE
Lloh5:
	ldr	x24, [x24, _n_reloads@GOTPAGEOFF]
	str	w8, [x24]
Lloh6:
	adrp	x23, _rld@GOTPAGE
Lloh7:
	ldr	x23, [x23, _rld@GOTPAGEOFF]
	ldr	x0, [x23]
	lsl	w2, w8, #2
	bl	_memcpy
Lloh8:
	adrp	x25, _used_spill_regs_local@GOTPAGE
Lloh9:
	ldr	x25, [x25, _used_spill_regs_local@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_CLEAR_HARD_REG_SET
Lloh10:
	adrp	x26, _dump_file@GOTPAGE
Lloh11:
	ldr	x26, [x26, _dump_file@GOTPAGEOFF]
	ldr	x20, [x26]
	cbz	x20, LBB0_8
; %bb.7:
	ldr	w0, [x19, #20]
	bl	_INSN_UID
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fprintf
LBB0_8:
	ldr	x0, [x22]
	ldr	w1, [x24]
Lloh14:
	adrp	x8, _reload_reg_class_lower@GOTPAGE
Lloh15:
	ldr	x8, [x8, _reload_reg_class_lower@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	w2, #2
	bl	_qsort
	mov	x0, x19
	bl	_order_regs_for_reload
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.9:
	mov	x20, #0
	mov	w27, #56
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_18
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	ldrsw	x21, [x9, x20, lsl #2]
	ldr	x9, [x23]
	madd	x10, x21, x27, x9
	ldr	x10, [x10, #8]
	cbnz	x10, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	madd	x10, x21, x27, x9
	ldr	x10, [x10, #16]
	cbnz	x10, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	madd	x10, x21, x27, x9
	ldr	x10, [x10, #32]
	cbz	x10, LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	madd	x10, x21, x27, x9
	ldr	w10, [x10, #28]
	cbnz	w10, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mul	x10, x21, x27
	ldr	w9, [x9, x10]
	cmn	w9, #1
	b.ne	LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_find_reg
	cbz	w0, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x24]
	b	LBB0_10
LBB0_18:
	ldr	w0, [x19, #16]
	ldr	w1, [x25]
	bl	_COPY_HARD_REG_SET
Lloh17:
	adrp	x8, _used_spill_regs@GOTPAGE
Lloh18:
	ldr	x8, [x8, _used_spill_regs@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	w1, [x25]
	bl	_IOR_HARD_REG_SET
	ldr	x0, [x19, #8]
	ldr	x1, [x23]
	ldr	w8, [x24]
	lsl	w2, w8, #2
	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
	b	_memcpy
LBB0_19:
	ldr	x0, [x26]
	cbz	x0, LBB0_21
; %bb.20:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_21:
	ldr	w0, [x19, #20]
	ldr	x8, [x23]
	mov	w9, #56
	madd	x8, x21, x9, x8
	ldr	w1, [x8, #24]
	bl	_spill_failure
Lloh22:
	adrp	x8, _failure@GOTPAGE
Lloh23:
	ldr	x8, [x8, _failure@GOTPAGEOFF]
	mov	w9, #1
Lloh24:
	str	w9, [x8]
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_hard_regno_nregs,8,3           ; @hard_regno_nregs
	.comm	_reload_order,8,3               ; @reload_order
	.comm	_n_reloads,4,2                  ; @n_reloads
	.comm	_rld,8,3                        ; @rld
	.comm	_used_spill_regs_local,4,2      ; @used_spill_regs_local
	.comm	_dump_file,8,3                  ; @dump_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Spilling for insn %d.\n"

	.comm	_reload_reg_class_lower,4,2     ; @reload_reg_class_lower
l_.str.1:                               ; @.str.1
	.asciz	"reload failure for reload %d\n"

	.comm	_failure,4,2                    ; @failure
	.comm	_used_spill_regs,4,2            ; @used_spill_regs
	.no_dead_strip	_find_reload_regs
.subsections_via_symbols
