	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sparc_expand_epilogue          ## -- Begin function sparc_expand_epilogue
	.p2align	4, 0x90
_sparc_expand_epilogue:                 ## @sparc_expand_epilogue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_num_gfregs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_SORR_RESTORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_emit_save_or_restore_regs
LBB0_2:
	movq	_actual_fsize@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	testl	%edi, %edi
	je	LBB0_11
## %bb.3:
	movq	_sparc_leaf_function_p@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.4:
	cmpl	$4096, %edi                     ## imm = 0x1000
	jg	LBB0_7
## %bb.5:
	negl	%edi
	jmp	LBB0_6
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	cmpl	$8192, %edi                     ## imm = 0x2000
	ja	LBB0_9
## %bb.8:
	movl	$-4096, %edi                    ## imm = 0xF000
	callq	_GEN_INT
	movl	%eax, %edi
	callq	_gen_stack_pointer_dec
	movl	%eax, %edi
	callq	_emit_insn
	movl	$4096, %edi                     ## imm = 0x1000
	subl	(%r14), %edi
LBB0_6:
	callq	_GEN_INT
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_9:
	movq	_Pmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_gen_rtx_REG
	movl	%eax, %ebx
	xorl	%edi, %edi
	subl	(%r14), %edi
	callq	_GEN_INT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_emit_move_insn
LBB0_10:
	movl	%ebx, %edi
	callq	_gen_stack_pointer_dec
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_emit_insn                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_num_gfregs,8,3                 ## @num_gfregs
	.comm	_SORR_RESTORE,4,2               ## @SORR_RESTORE
	.comm	_actual_fsize,4,2               ## @actual_fsize
	.comm	_sparc_leaf_function_p,8,3      ## @sparc_leaf_function_p
	.comm	_Pmode,4,2                      ## @Pmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sparc_expand_epilogue          ; -- Begin function sparc_expand_epilogue
	.p2align	2
_sparc_expand_epilogue:                 ; @sparc_expand_epilogue
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _num_gfregs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _num_gfregs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SORR_RESTORE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SORR_RESTORE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_emit_save_or_restore_regs
LBB0_2:
Lloh6:
	adrp	x20, _actual_fsize@GOTPAGE
Lloh7:
	ldr	x20, [x20, _actual_fsize@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _sparc_leaf_function_p@GOTPAGE
Lloh9:
	ldr	x9, [x9, _sparc_leaf_function_p@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	cmp	w8, #1, lsl #12                 ; =4096
	b.gt	LBB0_6
; %bb.5:
	neg	w0, w8
	b	LBB0_8
LBB0_6:
	cmp	w8, #2, lsl #12                 ; =8192
	b.hi	LBB0_9
; %bb.7:
	mov	w0, #-4096
	bl	_GEN_INT
	bl	_gen_stack_pointer_dec
	bl	_emit_insn
	ldr	w8, [x20]
	mov	w9, #4096
	sub	w0, w9, w8
LBB0_8:
	bl	_GEN_INT
	mov	x19, x0
	b	LBB0_10
LBB0_9:
Lloh11:
	adrp	x8, _Pmode@GOTPAGE
Lloh12:
	ldr	x8, [x8, _Pmode@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_gen_rtx_REG
	mov	x19, x0
	ldr	w8, [x20]
	neg	w0, w8
	bl	_GEN_INT
	mov	x1, x0
	mov	x0, x19
	bl	_emit_move_insn
LBB0_10:
	mov	x0, x19
	bl	_gen_stack_pointer_dec
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_emit_insn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_num_gfregs,8,3                 ; @num_gfregs
	.comm	_SORR_RESTORE,4,2               ; @SORR_RESTORE
	.comm	_actual_fsize,4,2               ; @actual_fsize
	.comm	_sparc_leaf_function_p,8,3      ; @sparc_leaf_function_p
	.comm	_Pmode,4,2                      ; @Pmode
.subsections_via_symbols
