	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spill_hard_reg
_spill_hard_reg:                        ## @spill_hard_reg
	.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
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_bad_spill_regs_global@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_SET_HARD_REG_BIT
	movq	_regs_ever_live@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %ecx
	movl	$1, (%rax,%rcx,4)
LBB0_2:
	movq	_FIRST_PSEUDO_REGISTER@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	_max_regno@GOTPCREL(%rip), %r12
	cmpl	(%r12), %ebx
	jge	LBB0_9
## %bb.3:
	movq	_reg_renumber@GOTPCREL(%rip), %r13
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %r15
	testq	%r15, %r15
	js	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r14d, %r15d
	ja	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_hard_regno_nregs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %ecx
	movq	%r12, %r14
	movq	%r13, %r12
	movq	(%rax,%rcx,8), %r13
	movl	%ebx, %edi
	callq	_PSEUDO_REGNO_MODE
	movl	(%r13,%rax,4), %eax
	movq	%r12, %r13
	movq	%r14, %r12
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	addl	%r15d, %eax
	cmpl	%r14d, %eax
	jbe	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_spilled_pseudos@GOTPCREL(%rip), %rdi
	movl	%ebx, %esi
	callq	_SET_REGNO_REG_SET
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bad_spill_regs_global,4,2      ## @bad_spill_regs_global
	.comm	_regs_ever_live,8,3             ## @regs_ever_live
	.comm	_FIRST_PSEUDO_REGISTER,4,2      ## @FIRST_PSEUDO_REGISTER
	.comm	_max_regno,4,2                  ## @max_regno
	.comm	_reg_renumber,8,3               ## @reg_renumber
	.comm	_hard_regno_nregs,8,3           ## @hard_regno_nregs
	.comm	_spilled_pseudos,4,2            ## @spilled_pseudos
	.no_dead_strip	_spill_hard_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spill_hard_reg
_spill_hard_reg:                        ; @spill_hard_reg
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _bad_spill_regs_global@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bad_spill_regs_global@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_SET_HARD_REG_BIT
Lloh3:
	adrp	x8, _regs_ever_live@GOTPAGE
Lloh4:
	ldr	x8, [x8, _regs_ever_live@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8, w19, uxtw #2]
LBB0_2:
Lloh6:
	adrp	x8, _FIRST_PSEUDO_REGISTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FIRST_PSEUDO_REGISTER@GOTPAGEOFF]
Lloh8:
	ldrsw	x20, [x8]
Lloh9:
	adrp	x22, _max_regno@GOTPAGE
Lloh10:
	ldr	x22, [x22, _max_regno@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w20, w8
	b.ge	LBB0_9
; %bb.3:
Lloh11:
	adrp	x23, _reg_renumber@GOTPAGE
Lloh12:
	ldr	x23, [x23, _reg_renumber@GOTPAGEOFF]
Lloh13:
	adrp	x24, _hard_regno_nregs@GOTPAGE
Lloh14:
	ldr	x24, [x24, _hard_regno_nregs@GOTPAGEOFF]
Lloh15:
	adrp	x21, _spilled_pseudos@GOTPAGE
Lloh16:
	ldr	x21, [x21, _spilled_pseudos@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x22]
	cmp	x20, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x25, [x8, x20, lsl #3]
	tbnz	x25, #63, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, w19
	b.hi	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	ldr	x26, [x8, w25, uxtw #3]
	mov	x0, x20
	bl	_PSEUDO_REGNO_MODE
	ldr	w8, [x26, x0, lsl #2]
	add	w8, w8, w25
	cmp	w8, w19
	b.ls	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_SET_REGNO_REG_SET
	b	LBB0_4
LBB0_9:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_bad_spill_regs_global,4,2      ; @bad_spill_regs_global
	.comm	_regs_ever_live,8,3             ; @regs_ever_live
	.comm	_FIRST_PSEUDO_REGISTER,4,2      ; @FIRST_PSEUDO_REGISTER
	.comm	_max_regno,4,2                  ; @max_regno
	.comm	_reg_renumber,8,3               ; @reg_renumber
	.comm	_hard_regno_nregs,8,3           ; @hard_regno_nregs
	.comm	_spilled_pseudos,4,2            ; @spilled_pseudos
	.no_dead_strip	_spill_hard_reg
.subsections_via_symbols
