	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function save_or_restore_regs
_save_or_restore_regs:                  ## @save_or_restore_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	cmpl	$32, %esi
	jg	LBB0_11
## %bb.1:
	movq	_TARGET_ARCH64@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.2:
	cmpl	%r12d, %edi
	jge	LBB0_37
## %bb.3:
	movslq	%edi, %rbx
	movq	_regs_ever_live@GOTPCREL(%rip), %rcx
	movq	_call_used_regs@GOTPCREL(%rip), %rdx
	jmp	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %edi
	movl	%r14d, %esi
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	callq	_emit_move_insn
	movq	_regs_ever_live@GOTPCREL(%rip), %rcx
	movq	_call_used_regs@GOTPCREL(%rip), %rdx
	addl	$8, %r13d
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	cmpl	%ebx, %r12d
	je	LBB0_37
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rdx), %rax
	cmpl	$0, (%rax,%rbx,4)
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_DImode@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	callq	_plus_constant
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_gen_rtx_MEM
	movl	%eax, %r14d
	movq	_sparc_sr_alias_set@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_set_mem_alias_set
	movq	_SORR_SAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_DImode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_gen_rtx_REG
	cmpl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	jne	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%r14d, %edi
	movl	%eax, %esi
	jmp	LBB0_5
LBB0_11:
	cmpl	%r12d, %edi
	jge	LBB0_37
## %bb.12:
	movslq	%edi, %rbx
	movslq	%r12d, %r8
	movl	%edi, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	8(,%rbx,8), %r9
	leaq	4(,%rbx,4), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	_regs_ever_live@GOTPCREL(%rip), %r10
	movq	%rbx, %r12
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%eax, %edi
	movl	%ebx, %esi
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	callq	_emit_move_insn
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movq	_regs_ever_live@GOTPCREL(%rip), %r10
	addl	$7, %r13d
	andl	$-8, %r13d
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	addq	$2, %r12
	leaq	(%rbx,%r15), %rax
	addq	$2, %rax
	addq	$2, %r15
	cmpq	%r8, %rax
	jge	LBB0_37
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r15), %rax
	movq	(%r10), %rcx
	addq	%r9, %rcx
	cmpq	$0, -8(%rcx,%r15,8)
	je	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%r15), %rdi
	movq	_call_used_regs@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	addq	-104(%rbp), %rsi                ## 8-byte Folded Reload
	movl	-4(%rsi,%r15,4), %edx
	cmpq	$0, (%rcx,%r15,8)
	je	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rsi,%r15,4), %ecx
	movl	%edx, %esi
	orl	%ecx, %esi
	jne	LBB0_26
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_DFmode@GOTPCREL(%rip), %rcx
	cmpq	$32, %rax
	jge	LBB0_34
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_DImode@GOTPCREL(%rip), %rcx
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpq	$0, (%rcx,%r15,8)
	je	LBB0_15
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_call_used_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	-104(%rbp), %rcx                ## 8-byte Folded Reload
	cmpl	$0, (%rcx,%r15,4)
	jne	LBB0_15
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	1(%r12), %rcx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%edx, %edx
	jne	LBB0_15
	jmp	LBB0_32
LBB0_26:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%edx, %edx
	je	LBB0_32
## %bb.27:                              ##   in Loop: Header=BB0_16 Depth=1
	testl	%ecx, %ecx
	jne	LBB0_15
## %bb.28:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addq	%r15, %rcx
	incq	%rcx
LBB0_29:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_SFmode@GOTPCREL(%rip), %rcx
	cmpq	$32, %rax
	jge	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_SImode@GOTPCREL(%rip), %rcx
LBB0_31:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rcx), %r14d
	addl	$4, %r13d
	jmp	LBB0_35
LBB0_32:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_SFmode@GOTPCREL(%rip), %rcx
	cmpq	$32, %rax
	jge	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_SImode@GOTPCREL(%rip), %rcx
LBB0_34:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rcx), %r14d
LBB0_35:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r13d, %esi
	callq	_plus_constant
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_gen_rtx_MEM
	movl	%eax, %ebx
	movq	_sparc_sr_alias_set@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_set_mem_alias_set
	movq	_SORR_SAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r14d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_gen_rtx_REG
	cmpl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.36:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%ebx, %edi
	movl	%eax, %esi
	jmp	LBB0_14
LBB0_37:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_ARCH64,8,3              ## @TARGET_ARCH64
	.comm	_regs_ever_live,8,3             ## @regs_ever_live
	.comm	_call_used_regs,8,3             ## @call_used_regs
	.comm	_DImode,4,2                     ## @DImode
	.comm	_sparc_sr_alias_set,4,2         ## @sparc_sr_alias_set
	.comm	_SORR_SAVE,4,2                  ## @SORR_SAVE
	.comm	_DFmode,4,2                     ## @DFmode
	.comm	_SImode,4,2                     ## @SImode
	.comm	_SFmode,4,2                     ## @SFmode
	.no_dead_strip	_save_or_restore_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function save_or_restore_regs
_save_or_restore_regs:                  ; @save_or_restore_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	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w1, #32
	b.gt	LBB0_11
; %bb.1:
Lloh0:
	adrp	x8, _TARGET_ARCH64@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_ARCH64@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.2:
	cmp	w0, w22
	b.ge	LBB0_31
; %bb.3:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sxtw	x23, w0
Lloh3:
	adrp	x25, _regs_ever_live@GOTPAGE
Lloh4:
	ldr	x25, [x25, _regs_ever_live@GOTPAGEOFF]
Lloh5:
	adrp	x26, _call_used_regs@GOTPAGE
Lloh6:
	ldr	x26, [x26, _call_used_regs@GOTPAGEOFF]
Lloh7:
	adrp	x27, _DImode@GOTPAGE
Lloh8:
	ldr	x27, [x27, _DImode@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x1
	mov	x1, x24
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_emit_move_insn
	add	w19, w19, #8
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #1
	cmp	w22, w23
	b.eq	LBB0_31
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x8, [x8, x23, lsl #3]
	cbz	x8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x26]
	ldr	w8, [x8, x23, lsl #2]
	cbnz	w8, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w24, [x27]
	mov	x0, x21
	mov	x1, x19
	bl	_plus_constant
	mov	x1, x0
	mov	x0, x24
	bl	_gen_rtx_MEM
	mov	x24, x0
Lloh9:
	adrp	x8, _sparc_sr_alias_set@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sparc_sr_alias_set@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_set_mem_alias_set
Lloh12:
	adrp	x8, _SORR_SAVE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SORR_SAVE@GOTPAGEOFF]
Lloh14:
	ldr	w28, [x8]
	ldr	w0, [x27]
	mov	x1, x23
	bl	_gen_rtx_REG
	mov	x1, x0
	cmp	w28, w20
	b.ne	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	b	LBB0_5
LBB0_11:
	cmp	w0, w22
	b.ge	LBB0_31
; %bb.12:
	sxtw	x25, w0
	sxtw	x26, w22
Lloh15:
	adrp	x27, _regs_ever_live@GOTPAGE
Lloh16:
	ldr	x27, [x27, _regs_ever_live@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x1
	mov	x1, x24
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	bl	_emit_move_insn
	add	w8, w19, #7
	and	w19, w8, #0xfffffff8
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x25, x25, #2
	cmp	x25, x26
	b.ge	LBB0_31
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x27]
	ldr	x8, [x9, x25, lsl #3]
	cbz	x8, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh17:
	adrp	x8, _call_used_regs@GOTPAGE
Lloh18:
	ldr	x8, [x8, _call_used_regs@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x8]
	ldr	w8, [x10, x25, lsl #2]
	add	x11, x25, #1
	ldr	x9, [x9, x11, lsl #3]
	cbz	x9, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w9, [x10, x11, lsl #2]
	orr	w10, w8, w9
	cbnz	w10, LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	x25, #32
Lloh20:
	adrp	x8, _DImode@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DImode@GOTPAGEOFF]
Lloh22:
	adrp	x9, _DFmode@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DFmode@GOTPAGEOFF]
	b	LBB0_28
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x22, x25, #1
	ldr	x8, [x9, x22, lsl #3]
	cbz	x8, LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh24:
	adrp	x8, _call_used_regs@GOTPAGE
Lloh25:
	ldr	x8, [x8, _call_used_regs@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	w8, [x8, x22, lsl #2]
	cbnz	w8, LBB0_15
	b	LBB0_26
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	cbnz	w8, LBB0_15
	b	LBB0_27
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=1
	cbz	w8, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_16 Depth=1
	cbnz	w9, LBB0_15
; %bb.25:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w22, w25, #1
LBB0_26:                                ;   in Loop: Header=BB0_16 Depth=1
	cmp	x25, #32
Lloh27:
	adrp	x8, _SImode@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SImode@GOTPAGEOFF]
Lloh29:
	adrp	x9, _SFmode@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SFmode@GOTPAGEOFF]
	csel	x8, x8, x9, lt
	ldr	w23, [x8]
	add	w19, w19, #4
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_16 Depth=1
	cmp	x25, #32
Lloh31:
	adrp	x8, _SImode@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SImode@GOTPAGEOFF]
Lloh33:
	adrp	x9, _SFmode@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SFmode@GOTPAGEOFF]
LBB0_28:                                ;   in Loop: Header=BB0_16 Depth=1
	csel	x8, x8, x9, lt
	ldr	w23, [x8]
	mov	x22, x25
LBB0_29:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_plus_constant
	mov	x1, x0
	mov	x0, x23
	bl	_gen_rtx_MEM
	mov	x24, x0
Lloh35:
	adrp	x8, _sparc_sr_alias_set@GOTPAGE
Lloh36:
	ldr	x8, [x8, _sparc_sr_alias_set@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	bl	_set_mem_alias_set
Lloh38:
	adrp	x8, _SORR_SAVE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SORR_SAVE@GOTPAGEOFF]
Lloh40:
	ldr	w28, [x8]
	mov	x0, x23
	mov	x1, x22
	bl	_gen_rtx_REG
	mov	x1, x0
	cmp	w28, w20
	b.ne	LBB0_13
; %bb.30:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x24
	b	LBB0_14
LBB0_31:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_ARCH64,8,3              ; @TARGET_ARCH64
	.comm	_regs_ever_live,8,3             ; @regs_ever_live
	.comm	_call_used_regs,8,3             ; @call_used_regs
	.comm	_DImode,4,2                     ; @DImode
	.comm	_sparc_sr_alias_set,4,2         ; @sparc_sr_alias_set
	.comm	_SORR_SAVE,4,2                  ; @SORR_SAVE
	.comm	_DFmode,4,2                     ; @DFmode
	.comm	_SImode,4,2                     ; @SImode
	.comm	_SFmode,4,2                     ; @SFmode
	.no_dead_strip	_save_or_restore_regs
.subsections_via_symbols
