	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sparc_compute_frame_size       ## -- Begin function sparc_compute_frame_size
	.p2align	4, 0x90
_sparc_compute_frame_size:              ## @sparc_compute_frame_size
	.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, %r14d
	movq	%rdi, %r15
	movq	_current_function_outgoing_args_size@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movq	_current_function_decl@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_REG_PARM_STACK_SPACE
                                        ## kill: def $eax killed $eax def $rax
	movq	_TARGET_ARCH64@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movq	_regs_ever_live@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_call_used_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	(%rdx), %rcx
	je	LBB0_14
## %bb.1:
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.2:
	xorl	%ecx, %ecx
	cmpl	$0, (%rsi)
	sete	%cl
	addl	%ecx, %ecx
	cmpq	$0, 8(%rdx)
	je	LBB0_4
LBB0_3:
	leal	2(%rcx), %edi
	cmpl	$0, 4(%rsi)
	cmovnel	%ecx, %edi
	movl	%edi, %ecx
LBB0_4:
	cmpq	$0, 16(%rdx)
	je	LBB0_6
## %bb.5:
	leal	2(%rcx), %edi
	cmpl	$0, 8(%rsi)
	cmovnel	%ecx, %edi
	movl	%edi, %ecx
LBB0_6:
	cmpq	$0, 24(%rdx)
	je	LBB0_8
## %bb.7:
	leal	2(%rcx), %edi
	cmpl	$0, 12(%rsi)
	cmovnel	%ecx, %edi
	movl	%edi, %ecx
LBB0_8:
	cmpq	$0, 32(%rdx)
	je	LBB0_10
## %bb.9:
	leal	2(%rcx), %edi
	cmpl	$0, 16(%rsi)
	cmovnel	%ecx, %edi
	movl	%edi, %ecx
LBB0_10:
	cmpq	$0, 40(%rdx)
	je	LBB0_12
## %bb.11:
	leal	2(%rcx), %edi
	cmpl	$0, 20(%rsi)
	cmovnel	%ecx, %edi
	movl	%edi, %ecx
LBB0_12:
	cmpq	$0, 48(%rdx)
	je	LBB0_20
## %bb.13:
	movq	%rbx, %r8
	leal	2(%rcx), %edi
	cmpl	$0, 24(%rsi)
	cmovnel	%ecx, %edi
	movl	%edi, %ecx
	cmpq	$0, 56(%rdx)
	jne	LBB0_21
	jmp	LBB0_39
LBB0_14:
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.15:
	cmpl	$0, (%rsi)
	je	LBB0_22
LBB0_16:
	xorl	%ecx, %ecx
	cmpq	$0, 8(%rdx)
	je	LBB0_18
## %bb.17:
	cmpl	$0, 4(%rsi)
	je	LBB0_22
LBB0_18:
	cmpq	$0, 16(%rdx)
	jne	LBB0_23
	jmp	LBB0_24
LBB0_19:
	xorl	%ecx, %ecx
	cmpq	$0, 8(%rdx)
	jne	LBB0_3
	jmp	LBB0_4
LBB0_20:
	movq	%rbx, %r8
	cmpq	$0, 56(%rdx)
	je	LBB0_39
LBB0_21:
	leal	2(%rcx), %edi
	cmpl	$0, 28(%rsi)
	cmovnel	%ecx, %edi
	movl	%edi, %ecx
	jmp	LBB0_39
LBB0_22:
	movl	$2, %ecx
	cmpq	$0, 16(%rdx)
	je	LBB0_24
LBB0_23:
	cmpl	$0, 8(%rsi)
	je	LBB0_27
LBB0_24:
	cmpq	$0, 24(%rdx)
	je	LBB0_26
## %bb.25:
	cmpl	$0, 12(%rsi)
	je	LBB0_27
LBB0_26:
	cmpq	$0, 32(%rdx)
	jne	LBB0_28
	jmp	LBB0_29
LBB0_27:
	addl	$2, %ecx
	cmpq	$0, 32(%rdx)
	je	LBB0_29
LBB0_28:
	cmpl	$0, 16(%rsi)
	je	LBB0_32
LBB0_29:
	cmpq	$0, 40(%rdx)
	je	LBB0_31
## %bb.30:
	cmpl	$0, 20(%rsi)
	je	LBB0_32
LBB0_31:
	cmpq	$0, 48(%rdx)
	jne	LBB0_33
	jmp	LBB0_34
LBB0_32:
	addl	$2, %ecx
	cmpq	$0, 48(%rdx)
	je	LBB0_34
LBB0_33:
	cmpl	$0, 24(%rsi)
	je	LBB0_37
LBB0_34:
	cmpq	$0, 56(%rdx)
	je	LBB0_38
## %bb.35:
	cmpl	$0, 28(%rsi)
	je	LBB0_37
LBB0_38:
	movq	%rbx, %r8
	jmp	LBB0_39
LBB0_37:
	movq	%rbx, %r8
	addl	$2, %ecx
LBB0_39:
	movq	_TARGET_V9@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	shlq	$5, %rdi
	orq	$64, %rdi
	movl	$32, %ebx
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_42 Depth=1
	addl	$2, %ecx
LBB0_41:                                ##   in Loop: Header=BB0_42 Depth=1
	addq	$2, %rbx
	cmpq	%rdi, %rbx
	jae	LBB0_46
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdx,%rbx,8)
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=1
	cmpl	$0, (%rsi,%rbx,4)
	je	LBB0_40
LBB0_44:                                ##   in Loop: Header=BB0_42 Depth=1
	cmpq	$0, 8(%rdx,%rbx,8)
	je	LBB0_41
## %bb.45:                              ##   in Loop: Header=BB0_42 Depth=1
	cmpl	$0, 4(%rsi,%rbx,4)
	jne	LBB0_41
	jmp	LBB0_40
LBB0_46:
	movq	_num_gfregs@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	testq	%r15, %r15
	jne	LBB0_51
## %bb.47:
	testl	%r14d, %r14d
	je	LBB0_51
## %bb.48:
	testl	%ecx, %ecx
	jne	LBB0_51
## %bb.49:
	cmpl	$0, (%r13)
	jne	LBB0_51
## %bb.50:
	movq	_apparent_fsize@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	xorl	%edi, %edi
	jmp	LBB0_52
LBB0_51:
	movq	_STARTING_FRAME_OFFSET@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%r15d, %esi
	subl	%edx, %esi
	addl	$7, %esi
	andl	$-8, %esi
	leal	(%rsi,%rcx,4), %ecx
	movq	_apparent_fsize@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	leal	(%r12,%rax), %edi
	addl	$7, %edi
	andl	$-8, %edi
	addl	%ecx, %edi
LBB0_52:
	movq	_actual_fsize@GOTPCREL(%rip), %rbx
	movl	%edi, (%rbx)
	testq	%r15, %r15
	jg	LBB0_54
## %bb.53:
	testl	%r14d, %r14d
	jne	LBB0_55
LBB0_54:
	movl	(%r8), %edi
	callq	_FIRST_PARM_OFFSET
	movq	%rax, %rdi
	addl	(%rbx), %edi
	movl	%edi, (%rbx)
LBB0_55:
                                        ## kill: def $edi killed $edi killed $rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SPARC_STACK_ALIGN              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_function_outgoing_args_size,4,2 ## @current_function_outgoing_args_size
	.comm	_current_function_decl,4,2      ## @current_function_decl
	.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	_TARGET_V9,8,3                  ## @TARGET_V9
	.comm	_num_gfregs,4,2                 ## @num_gfregs
	.comm	_apparent_fsize,4,2             ## @apparent_fsize
	.comm	_actual_fsize,4,2               ## @actual_fsize
	.comm	_STARTING_FRAME_OFFSET,8,3      ## @STARTING_FRAME_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sparc_compute_frame_size       ; -- Begin function sparc_compute_frame_size
	.p2align	2
_sparc_compute_frame_size:              ; @sparc_compute_frame_size
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _current_function_outgoing_args_size@GOTPAGE
Lloh1:
	ldr	x23, [x23, _current_function_outgoing_args_size@GOTPAGEOFF]
	ldr	w22, [x23]
Lloh2:
	adrp	x21, _current_function_decl@GOTPAGE
Lloh3:
	ldr	x21, [x21, _current_function_decl@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_REG_PARM_STACK_SPACE
Lloh4:
	adrp	x8, _TARGET_ARCH64@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TARGET_ARCH64@GOTPAGEOFF]
Lloh6:
	adrp	x9, _regs_ever_live@GOTPAGE
Lloh7:
	ldr	x9, [x9, _regs_ever_live@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x8]
Lloh9:
	ldr	x8, [x9]
Lloh10:
	adrp	x9, _call_used_regs@GOTPAGE
Lloh11:
	ldr	x9, [x9, _call_used_regs@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldr	x10, [x8]
	cbz	x11, LBB0_17
; %bb.1:
	cbz	x10, LBB0_3
; %bb.2:
	ldr	w10, [x9]
	cmp	w10, #0
	cset	w10, eq
	lsl	w10, w10, #1
LBB0_3:
	ldr	x11, [x8, #8]
	cbz	x11, LBB0_5
; %bb.4:
	ldr	w11, [x9, #4]
	add	w12, w10, #2
	cmp	w11, #0
	csel	w10, w12, w10, eq
LBB0_5:
	ldr	x11, [x8, #16]
	cbz	x11, LBB0_7
; %bb.6:
	ldr	w11, [x9, #8]
	add	w12, w10, #2
	cmp	w11, #0
	csel	w10, w12, w10, eq
LBB0_7:
	ldr	x11, [x8, #24]
	cbz	x11, LBB0_9
; %bb.8:
	ldr	w11, [x9, #12]
	add	w12, w10, #2
	cmp	w11, #0
	csel	w10, w12, w10, eq
LBB0_9:
	ldr	x11, [x8, #32]
	cbz	x11, LBB0_11
; %bb.10:
	ldr	w11, [x9, #16]
	add	w12, w10, #2
	cmp	w11, #0
	csel	w10, w12, w10, eq
LBB0_11:
	ldr	x11, [x8, #40]
	cbz	x11, LBB0_13
; %bb.12:
	ldr	w11, [x9, #20]
	add	w12, w10, #2
	cmp	w11, #0
	csel	w10, w12, w10, eq
LBB0_13:
	ldr	x11, [x8, #48]
	cbz	x11, LBB0_15
; %bb.14:
	ldr	w11, [x9, #24]
	add	w12, w10, #2
	cmp	w11, #0
	csel	w10, w12, w10, eq
LBB0_15:
	ldr	x11, [x8, #56]
	cbz	x11, LBB0_38
; %bb.16:
	ldr	w11, [x9, #28]
	add	w12, w10, #2
	cmp	w11, #0
	csel	w10, w12, w10, eq
	b	LBB0_38
LBB0_17:
	cbz	x10, LBB0_19
; %bb.18:
	ldr	w10, [x9]
	cbz	w10, LBB0_23
LBB0_19:
	ldr	x10, [x8, #8]
	cbz	x10, LBB0_22
; %bb.20:
	ldr	w10, [x9, #4]
	cbz	w10, LBB0_23
; %bb.21:
	mov	w10, #0
LBB0_22:
	ldr	x11, [x8, #16]
	cbnz	x11, LBB0_24
	b	LBB0_25
LBB0_23:
	mov	w10, #2
	ldr	x11, [x8, #16]
	cbz	x11, LBB0_25
LBB0_24:
	ldr	w11, [x9, #8]
	cbz	w11, LBB0_27
LBB0_25:
	ldr	x11, [x8, #24]
	cbz	x11, LBB0_28
; %bb.26:
	ldr	w11, [x9, #12]
	cbnz	w11, LBB0_28
LBB0_27:
	add	w10, w10, #2
LBB0_28:
	ldr	x11, [x8, #32]
	cbz	x11, LBB0_30
; %bb.29:
	ldr	w11, [x9, #16]
	cbz	w11, LBB0_32
LBB0_30:
	ldr	x11, [x8, #40]
	cbz	x11, LBB0_33
; %bb.31:
	ldr	w11, [x9, #20]
	cbnz	w11, LBB0_33
LBB0_32:
	add	w10, w10, #2
LBB0_33:
	ldr	x11, [x8, #48]
	cbz	x11, LBB0_35
; %bb.34:
	ldr	w11, [x9, #24]
	cbz	w11, LBB0_37
LBB0_35:
	ldr	x11, [x8, #56]
	cbz	x11, LBB0_38
; %bb.36:
	ldr	w11, [x9, #28]
	cbnz	w11, LBB0_38
LBB0_37:
	add	w10, w10, #2
LBB0_38:
	mov	x11, #0
Lloh13:
	adrp	x12, _TARGET_V9@GOTPAGE
Lloh14:
	ldr	x12, [x12, _TARGET_V9@GOTPAGEOFF]
Lloh15:
	ldr	x12, [x12]
	mov	w13, #96
	mov	w14, #64
	cmp	x12, #0
	csel	x12, x14, x13, eq
	b	LBB0_41
LBB0_39:                                ;   in Loop: Header=BB0_41 Depth=1
	add	w10, w10, #2
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=1
	add	x13, x11, #34
	add	x11, x11, #2
	cmp	x13, x12
	b.hs	LBB0_45
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	add	x13, x8, x11, lsl #3
	ldr	x14, [x13, #256]
	cbz	x14, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	add	x14, x9, x11, lsl #2
	ldr	w14, [x14, #128]
	cbz	w14, LBB0_39
LBB0_43:                                ;   in Loop: Header=BB0_41 Depth=1
	ldr	x13, [x13, #264]
	cbz	x13, LBB0_40
; %bb.44:                               ;   in Loop: Header=BB0_41 Depth=1
	add	x13, x9, x11, lsl #2
	ldr	w13, [x13, #132]
	cbnz	w13, LBB0_40
	b	LBB0_39
LBB0_45:
Lloh16:
	adrp	x8, _num_gfregs@GOTPAGE
Lloh17:
	ldr	x8, [x8, _num_gfregs@GOTPAGEOFF]
Lloh18:
	str	w10, [x8]
	cbnz	x20, LBB0_50
; %bb.46:
	cbz	w19, LBB0_50
; %bb.47:
	cbnz	w10, LBB0_50
; %bb.48:
	ldr	w8, [x23]
	cbnz	w8, LBB0_50
; %bb.49:
	mov	w0, #0
Lloh19:
	adrp	x8, _apparent_fsize@GOTPAGE
Lloh20:
	ldr	x8, [x8, _apparent_fsize@GOTPAGEOFF]
Lloh21:
	str	wzr, [x8]
	b	LBB0_51
LBB0_50:
Lloh22:
	adrp	x8, _STARTING_FRAME_OFFSET@GOTPAGE
Lloh23:
	ldr	x8, [x8, _STARTING_FRAME_OFFSET@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	sub	w8, w20, w8
	add	w8, w8, #7
	and	w8, w8, #0xfffffff8
Lloh25:
	adrp	x9, _apparent_fsize@GOTPAGE
Lloh26:
	ldr	x9, [x9, _apparent_fsize@GOTPAGEOFF]
	add	w8, w8, w10, lsl #2
Lloh27:
	str	w8, [x9]
	add	w9, w22, w0
	add	w9, w9, #7
	and	w9, w9, #0xfffffff8
	add	w0, w8, w9
LBB0_51:
Lloh28:
	adrp	x22, _actual_fsize@GOTPAGE
Lloh29:
	ldr	x22, [x22, _actual_fsize@GOTPAGEOFF]
	str	w0, [x22]
	cmp	x20, #0
	b.gt	LBB0_53
; %bb.52:
	cbnz	w19, LBB0_54
LBB0_53:
	ldr	w0, [x21]
	bl	_FIRST_PARM_OFFSET
	ldr	w8, [x22]
	add	w0, w8, w0
	str	w0, [x22]
LBB0_54:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_SPARC_STACK_ALIGN
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_current_function_outgoing_args_size,4,2 ; @current_function_outgoing_args_size
	.comm	_current_function_decl,4,2      ; @current_function_decl
	.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	_TARGET_V9,8,3                  ; @TARGET_V9
	.comm	_num_gfregs,4,2                 ; @num_gfregs
	.comm	_apparent_fsize,4,2             ; @apparent_fsize
	.comm	_actual_fsize,4,2               ; @actual_fsize
	.comm	_STARTING_FRAME_OFFSET,8,3      ; @STARTING_FRAME_OFFSET
.subsections_via_symbols
