	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sparc_struct_value_rtx
_sparc_struct_value_rtx:                ## @sparc_struct_value_rtx
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TARGET_ARCH64@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.1:
	movl	%esi, %ebx
	movq	_Pmode@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	testl	%esi, %esi
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r12
	movq	_frame_pointer_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_STRUCT_VALUE_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_plus_constant
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_gen_rtx_MEM
	movl	%eax, %r14d
	cmpl	$2, %ebx
	jne	LBB0_8
## %bb.4:
	movq	_sparc_std_struct_return@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.5:
	movq	%r12, %rdi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TYPE_SIZE_UNIT
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%r12, %rdi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TYPE_SIZE_UNIT
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_INTEGER_CST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movl	(%r13), %edi
	movl	$31, %esi
	callq	_gen_rtx_REG
	movl	%eax, %r15d
	movq	_SImode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gen_reg_rtx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_gen_label_rtx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TYPE_SIZE_UNIT
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TREE_INT_CST_LOW
	andl	$4095, %eax                     ## imm = 0xFFF
	movl	%eax, %edi
	callq	_GEN_INT
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r13), %r12d
	movq	%rbx, %rdi
	callq	_TREE_INT_CST_LOW
	movl	%r12d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_assign_stack_local
	movl	%eax, %r13d
	movq	_SImode@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movl	%r15d, %edi
	movl	$8, %esi
	callq	_plus_constant
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_rtx_MEM
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_emit_move_insn
	movl	$4, %edi
	callq	_GEN_INT
	movl	%r15d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_gen_add3_insn
	movl	%eax, %edi
	callq	_emit_insn
	movq	_EQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r12), %r8d
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, (%rsp)
	movl	%ebx, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_emit_cmp_and_jump_insns
	movl	$4, %edi
	callq	_GEN_INT
	movl	%r15d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_gen_sub3_insn
	movl	%eax, %edi
	callq	_emit_insn
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_emit_move_insn
	movl	%r12d, %edi
	callq	_emit_label
	jmp	LBB0_8
LBB0_2:
	movq	_stack_pointer_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_STRUCT_VALUE_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_plus_constant
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_gen_rtx_MEM
	movl	%eax, %r14d
LBB0_8:
	movq	_struct_value_alias_set@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_set_mem_alias_set
LBB0_9:
	movl	%r14d, %eax
	addq	$24, %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	_Pmode,4,2                      ## @Pmode
	.comm	_frame_pointer_rtx,4,2          ## @frame_pointer_rtx
	.comm	_STRUCT_VALUE_OFFSET,4,2        ## @STRUCT_VALUE_OFFSET
	.comm	_stack_pointer_rtx,4,2          ## @stack_pointer_rtx
	.comm	_sparc_std_struct_return,8,3    ## @sparc_std_struct_return
	.comm	_INTEGER_CST,8,3                ## @INTEGER_CST
	.comm	_SImode,4,2                     ## @SImode
	.comm	_EQ,4,2                         ## @EQ
	.comm	_const0_rtx,4,2                 ## @const0_rtx
	.comm	_struct_value_alias_set,4,2     ## @struct_value_alias_set
	.no_dead_strip	_sparc_struct_value_rtx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sparc_struct_value_rtx
_sparc_struct_value_rtx:                ; @sparc_struct_value_rtx
	.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
Lloh0:
	adrp	x8, _TARGET_ARCH64@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_ARCH64@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_10
LBB0_2:
	mov	x20, x1
Lloh3:
	adrp	x25, _Pmode@GOTPAGE
Lloh4:
	ldr	x25, [x25, _Pmode@GOTPAGEOFF]
	ldr	w19, [x25]
	cbz	w1, LBB0_8
; %bb.3:
	mov	x22, x0
Lloh5:
	adrp	x8, _frame_pointer_rtx@GOTPAGE
Lloh6:
	ldr	x8, [x8, _frame_pointer_rtx@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _STRUCT_VALUE_OFFSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STRUCT_VALUE_OFFSET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_plus_constant
	mov	x1, x0
	mov	x0, x19
	bl	_gen_rtx_MEM
	mov	x19, x0
	cmp	w20, #2
	b.ne	LBB0_9
; %bb.4:
Lloh11:
	adrp	x8, _sparc_std_struct_return@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sparc_std_struct_return@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.5:
	mov	x0, x22
	bl	_TREE_TYPE
	bl	_TYPE_SIZE_UNIT
	cbz	x0, LBB0_9
; %bb.6:
	mov	x0, x22
	bl	_TREE_TYPE
	bl	_TYPE_SIZE_UNIT
	bl	_TREE_CODE
Lloh14:
	adrp	x8, _INTEGER_CST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INTEGER_CST@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
	ldr	w0, [x25]
	mov	w1, #31
	bl	_gen_rtx_REG
	mov	x21, x0
Lloh17:
	adrp	x26, _SImode@GOTPAGE
Lloh18:
	ldr	x26, [x26, _SImode@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_gen_reg_rtx
	mov	x23, x0
	bl	_gen_label_rtx
	mov	x20, x0
	mov	x0, x22
	bl	_TREE_TYPE
	bl	_TYPE_SIZE_UNIT
	mov	x22, x0
	bl	_TREE_INT_CST_LOW
	and	w0, w0, #0xfff
	bl	_GEN_INT
	mov	x24, x0
	ldr	w25, [x25]
	mov	x0, x22
	bl	_TREE_INT_CST_LOW
	mov	x1, x0
	mov	x0, x25
	mov	w2, #0
	bl	_assign_stack_local
	mov	x22, x0
	ldr	w25, [x26]
	mov	x0, x21
	mov	w1, #8
	bl	_plus_constant
	mov	x1, x0
	mov	x0, x25
	bl	_gen_rtx_MEM
	mov	x1, x0
	mov	x0, x23
	bl	_emit_move_insn
	mov	w0, #4
	bl	_GEN_INT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x21
	bl	_gen_add3_insn
	bl	_emit_insn
Lloh19:
	adrp	x8, _EQ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EQ@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh23:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	ldr	w4, [x26]
	mov	x0, x23
	mov	x1, x24
	mov	w5, #0
	mov	x6, x20
	bl	_emit_cmp_and_jump_insns
	mov	w0, #4
	bl	_GEN_INT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x21
	bl	_gen_sub3_insn
	bl	_emit_insn
	mov	x0, x22
	mov	w1, #0
	bl	_XEXP
	mov	x1, x0
	mov	x0, x19
	bl	_emit_move_insn
	mov	x0, x20
	bl	_emit_label
	b	LBB0_9
LBB0_8:
Lloh25:
	adrp	x8, _stack_pointer_rtx@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stack_pointer_rtx@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x8, _STRUCT_VALUE_OFFSET@GOTPAGE
Lloh29:
	ldr	x8, [x8, _STRUCT_VALUE_OFFSET@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	bl	_plus_constant
	mov	x1, x0
	mov	x0, x19
	bl	_gen_rtx_MEM
	mov	x19, x0
LBB0_9:
Lloh31:
	adrp	x8, _struct_value_alias_set@GOTPAGE
Lloh32:
	ldr	x8, [x8, _struct_value_alias_set@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_set_mem_alias_set
LBB0_10:
	mov	x0, x19
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_ARCH64,8,3              ; @TARGET_ARCH64
	.comm	_Pmode,4,2                      ; @Pmode
	.comm	_frame_pointer_rtx,4,2          ; @frame_pointer_rtx
	.comm	_STRUCT_VALUE_OFFSET,4,2        ; @STRUCT_VALUE_OFFSET
	.comm	_stack_pointer_rtx,4,2          ; @stack_pointer_rtx
	.comm	_sparc_std_struct_return,8,3    ; @sparc_std_struct_return
	.comm	_INTEGER_CST,8,3                ; @INTEGER_CST
	.comm	_SImode,4,2                     ; @SImode
	.comm	_EQ,4,2                         ; @EQ
	.comm	_const0_rtx,4,2                 ; @const0_rtx
	.comm	_struct_value_alias_set,4,2     ; @struct_value_alias_set
	.no_dead_strip	_sparc_struct_value_rtx
.subsections_via_symbols
