	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_gr_spill
_find_gr_spill:                         ## @find_gr_spill
	.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
	movl	%edi, %r14d
	movq	_current_function_is_leaf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.1:
	movl	$1, %edi
	callq	_GR_REG
	movl	%eax, %r15d
	movl	$31, %edi
	callq	_GR_REG
	cmpl	%eax, %r15d
	jle	LBB0_2
LBB0_10:
	xorl	%r15d, %r15d
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.11:
	movq	_current_frame_info@GOTPCREL(%rip), %rax
	movl	4(%rax), %ebx
	movq	_frame_pointer_needed@GOTPCREL(%rip), %rcx
	movl	$80, %edx
	subl	(%rcx), %edx
	cmpl	%edx, %ebx
	jge	LBB0_13
## %bb.12:
	leal	1(%rbx), %ecx
	movl	%ecx, 4(%rax)
	xorl	%edi, %edi
	callq	_LOC_REG
	movl	%eax, %r15d
	addl	%ebx, %r15d
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movslq	%r15d, %rbx
	decq	%rbx
	movq	_regs_ever_live@GOTPCREL(%rip), %r12
	movq	_call_used_regs@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$31, %edi
	callq	_GR_REG
	cltq
	incl	%r15d
	incq	%rbx
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	cmpl	$0, 4(%rax,%rbx,4)
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	cmpq	$0, 8(%rax,%rbx,8)
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_fixed_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 4(%rax,%rbx,4)
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_global_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 4(%rax,%rbx,4)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_current_frame_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %edx
	movl	%r15d, %ecx
	shll	%cl, %edx
	btl	%r15d, %eax
	jb	LBB0_9
## %bb.8:
	orl	%edx, %eax
	movq	_current_frame_info@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_current_function_is_leaf,8,3   ## @current_function_is_leaf
	.comm	_regs_ever_live,8,3             ## @regs_ever_live
	.comm	_call_used_regs,8,3             ## @call_used_regs
	.comm	_fixed_regs,8,3                 ## @fixed_regs
	.comm	_global_regs,8,3                ## @global_regs
	.comm	_current_frame_info,8,2         ## @current_frame_info
	.comm	_frame_pointer_needed,4,2       ## @frame_pointer_needed
	.no_dead_strip	_find_gr_spill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_gr_spill
_find_gr_spill:                         ; @find_gr_spill
	.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
Lloh0:
	adrp	x8, _current_function_is_leaf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_function_is_leaf@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w21, #1
	mov	w0, #1
	bl	_GR_REG
	mov	x20, x0
	mov	w0, #31
	bl	_GR_REG
	cmp	w20, w0
	b.le	LBB0_7
LBB0_2:
	cbz	w19, LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _current_frame_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _current_frame_info@GOTPAGEOFF]
	ldr	w19, [x8, #4]
Lloh5:
	adrp	x9, _frame_pointer_needed@GOTPAGE
Lloh6:
	ldr	x9, [x9, _frame_pointer_needed@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	mov	w10, #80
	sub	w9, w10, w9
	cmp	w19, w9
	b.ge	LBB0_5
; %bb.4:
	add	w9, w19, #1
	str	w9, [x8, #4]
	mov	w0, #0
	bl	_LOC_REG
	add	w20, w0, w19
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	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
LBB0_7:
	sxtw	x20, w20
Lloh8:
	adrp	x22, _regs_ever_live@GOTPAGE
Lloh9:
	ldr	x22, [x22, _regs_ever_live@GOTPAGEOFF]
Lloh10:
	adrp	x23, _call_used_regs@GOTPAGE
Lloh11:
	ldr	x23, [x23, _call_used_regs@GOTPAGEOFF]
Lloh12:
	adrp	x25, _fixed_regs@GOTPAGE
Lloh13:
	ldr	x25, [x25, _fixed_regs@GOTPAGEOFF]
Lloh14:
	adrp	x26, _global_regs@GOTPAGE
Lloh15:
	ldr	x26, [x26, _global_regs@GOTPAGEOFF]
Lloh16:
	adrp	x24, _current_frame_info@GOTPAGE
Lloh17:
	ldr	x24, [x24, _current_frame_info@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x27, x20, #1
	mov	w0, #31
	bl	_GR_REG
	cmp	x20, w0, sxtw
	mov	x20, x27
	b.ge	LBB0_2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w8, [x8, x20, lsl #2]
	cbnz	w8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, x20, lsl #3]
	cbz	x8, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25]
	ldr	w8, [x8, x20, lsl #2]
	cbnz	w8, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x26]
	ldr	w8, [x8, x20, lsl #2]
	cbnz	w8, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x24]
	lsl	w9, w21, w20
	tst	w8, w9
	b.ne	LBB0_8
; %bb.14:
	orr	w8, w8, w9
	str	w8, [x24]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_current_function_is_leaf,8,3   ; @current_function_is_leaf
	.comm	_regs_ever_live,8,3             ; @regs_ever_live
	.comm	_call_used_regs,8,3             ; @call_used_regs
	.comm	_fixed_regs,8,3                 ; @fixed_regs
	.comm	_global_regs,8,3                ; @global_regs
	.comm	_current_frame_info,8,2         ; @current_frame_info
	.comm	_frame_pointer_needed,4,2       ; @frame_pointer_needed
	.no_dead_strip	_find_gr_spill
.subsections_via_symbols
