	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_reload_reg
_set_reload_reg:                        ## @set_reload_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	%esi, %ebx
	movq	_spill_reg_rtx@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%edi, %r13
	movq	(%rax,%r13,8), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_GET_MODE
	cltq
	movq	_rld@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%ebx, %rbx
	leaq	(%rbx,%rbx,4), %rdx
	movq	(%rcx,%rdx,8), %rdi
	cmpq	%rax, %rdi
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movq	_rld@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rbx
	leaq	(%rbx,%rbx,4), %rcx
	movq	(%rax,%rcx,8), %rdi
LBB0_3:
	movq	_spill_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
	callq	_gen_rtx_REG
	movq	%rax, %r12
	movq	(%r14), %rax
	movq	%r12, (%rax,%r13,8)
LBB0_4:
	movq	%r12, %rdi
	callq	_true_regnum
	movl	%eax, %r15d
	movq	_rld@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rbx,4), %rbx
	movl	(%rax,%rbx,8), %esi
	movl	%r15d, %edi
	callq	_HARD_REGNO_MODE_OK
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_15
## %bb.5:
	movq	(%r14), %rdx
	movq	8(%rdx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.6:
	callq	_GET_MODE
	movq	_rld@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	$0, 8(%rdx,%rbx,8)
	je	LBB0_11
## %bb.7:
	movq	_VOIDmode@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
## %bb.8:
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_HARD_REGNO_MODE_OK
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_rld@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_11:
	movq	16(%rdx,%rbx,8), %rdi
	testq	%rdi, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_14
## %bb.12:
	callq	_GET_MODE
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_HARD_REGNO_MODE_OK
	testq	%rax, %rax
	movl	$0, %ecx
	je	LBB0_15
## %bb.13:
	movq	_rld@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_14:
	movq	_last_spill_reg@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movq	_spill_regs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax,%r13,4), %edi
	leaq	(,%rbx,8), %rax
	movq	%rbx, %r15
	leaq	(%rax,%rax,4), %rbx
	movl	36(%rdx,%rbx), %esi
	movl	(%rdx,%rbx), %ecx
	movl	32(%rdx,%rbx), %edx
	callq	_mark_reload_reg_in_use
	movq	_rld@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r12, 24(%rax,%rbx)
	movq	(%r14), %rax
	movl	(%rax,%r13,4), %eax
	movq	_reload_spill_index@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%r15,4)
	movl	$1, %ecx
LBB0_15:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%ecx, %ecx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_spill_reg_rtx,8,3              ## @spill_reg_rtx
	.comm	_rld,8,3                        ## @rld
	.comm	_spill_regs,8,3                 ## @spill_regs
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_last_spill_reg,4,2             ## @last_spill_reg
	.comm	_reload_spill_index,8,3         ## @reload_spill_index
	.no_dead_strip	_set_reload_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_reload_reg
_set_reload_reg:                        ; @set_reload_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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _spill_reg_rtx@GOTPAGE
Lloh1:
	ldr	x26, [x26, _spill_reg_rtx@GOTPAGEOFF]
	ldr	x8, [x26]
	sxtw	x24, w19
	ldr	x20, [x8, w0, sxtw #3]
Lloh2:
	adrp	x23, _rld@GOTPAGE
Lloh3:
	ldr	x23, [x23, _rld@GOTPAGEOFF]
Lloh4:
	adrp	x22, _spill_regs@GOTPAGE
Lloh5:
	ldr	x22, [x22, _spill_regs@GOTPAGEOFF]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_GET_MODE
	mov	x8, x0
	ldr	x9, [x23]
	sxtw	x25, w21
	mov	w10, #40
	smull	x10, w21, w10
	ldr	x0, [x9, x10]
	cmp	x0, w8, sxtw
	b.ne	LBB0_3
	b	LBB0_4
LBB0_2:
	ldr	x8, [x23]
	mov	x9, x21
	sxtw	x25, w9
	mov	w9, #40
	smull	x9, w21, w9
	ldr	x0, [x8, x9]
LBB0_3:
	ldr	x8, [x22]
	ldr	w1, [x8, x24, lsl #2]
	bl	_gen_rtx_REG
	mov	x20, x0
	ldr	x8, [x26]
	str	x0, [x8, x24, lsl #3]
LBB0_4:
	mov	x0, x20
	bl	_true_regnum
	mov	x21, x0
	ldr	x8, [x23]
	mov	w9, #40
	mul	x9, x25, x9
	ldr	w1, [x8, x9]
	bl	_HARD_REGNO_MODE_OK
	cbz	x0, LBB0_13
; %bb.5:
	ldr	x8, [x23]
	mov	w9, #40
	madd	x9, x25, x9, x8
	ldr	x0, [x9, #8]
	cbz	x0, LBB0_9
; %bb.6:
	bl	_GET_MODE
	ldr	x8, [x23]
Lloh6:
	adrp	x9, _VOIDmode@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VOIDmode@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mov	w10, #40
	madd	x10, x25, x10, x8
	ldr	x10, [x10, #8]
	cmp	x10, #0
	ccmp	w0, w9, #4, ne
	b.eq	LBB0_9
; %bb.7:
	mov	x1, x0
	mov	x0, x21
	bl	_HARD_REGNO_MODE_OK
	cbz	x0, LBB0_13
; %bb.8:
	ldr	x8, [x23]
LBB0_9:
	mov	w9, #40
	madd	x9, x25, x9, x8
	ldr	x0, [x9, #16]
	cbz	x0, LBB0_12
; %bb.10:
	bl	_GET_MODE
	mov	x1, x0
	mov	x0, x21
	bl	_HARD_REGNO_MODE_OK
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x8, [x23]
LBB0_12:
Lloh9:
	adrp	x9, _last_spill_reg@GOTPAGE
Lloh10:
	ldr	x9, [x9, _last_spill_reg@GOTPAGEOFF]
Lloh11:
	str	w19, [x9]
	ldr	x9, [x22]
	lsl	x19, x24, #2
	ldr	w0, [x9, x19]
	lsl	x21, x25, #2
	add	x9, x21, x25
	lsl	x24, x9, #3
	add	x8, x8, x24
	ldp	w2, w1, [x8, #32]
	ldr	w3, [x8]
	bl	_mark_reload_reg_in_use
	ldr	x8, [x23]
	add	x8, x8, x24
	str	x20, [x8, #24]
	ldr	x8, [x22]
	ldr	w8, [x8, x19]
Lloh12:
	adrp	x9, _reload_spill_index@GOTPAGE
Lloh13:
	ldr	x9, [x9, _reload_spill_index@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	str	w8, [x9, x21]
	mov	w0, #1
LBB0_13:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_spill_reg_rtx,8,3              ; @spill_reg_rtx
	.comm	_rld,8,3                        ; @rld
	.comm	_spill_regs,8,3                 ; @spill_regs
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_last_spill_reg,4,2             ; @last_spill_reg
	.comm	_reload_spill_index,8,3         ; @reload_spill_index
	.no_dead_strip	_set_reload_reg
.subsections_via_symbols
