	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sparc_arg_partial_bytes
_sparc_arg_partial_bytes:               ## @sparc_arg_partial_bytes
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movl	%esi, %r15d
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r9
	xorl	%r8d, %r8d
	callq	_function_arg_slotno
	cmpl	$-1, %eax
	je	LBB0_20
## %bb.1:
	movl	%eax, %r14d
	movq	_TARGET_ARCH32@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	_BLKmode@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	callq	_int_size_in_bytes
	jmp	LBB0_5
LBB0_7:
	testq	%r13, %r13
	je	LBB0_12
## %bb.8:
	movq	%r13, %rdi
	callq	_AGGREGATE_TYPE_P
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%r13, %rdi
	callq	_int_size_in_bytes
	jmp	LBB0_10
LBB0_4:
	movl	%r15d, %edi
	callq	_GET_MODE_SIZE
LBB0_5:
	movl	%eax, %edi
	callq	_ROUND_ADVANCE
	addl	%r14d, %eax
	movq	_SPARC_INT_ARG_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	%ebx, %eax
	jle	LBB0_19
## %bb.6:
	subl	%r14d, %ebx
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	jmp	LBB0_20
LBB0_12:
	movl	%r15d, %edi
	callq	_GET_MODE_CLASS
	movq	_MODE_COMPLEX_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
LBB0_16:
	movl	%r15d, %edi
	callq	_GET_MODE_SIZE
LBB0_10:
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	%ebx, %eax
	jle	LBB0_19
## %bb.11:
	movq	_SPARC_INT_ARG_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	%eax, %r14d
	jne	LBB0_19
	jmp	LBB0_20
LBB0_13:
	movl	%r15d, %edi
	callq	_GET_MODE_CLASS
	movq	_MODE_COMPLEX_FLOAT@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_17
## %bb.14:
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.15:
	movq	_TARGET_FPU@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
LBB0_17:
	movl	%r15d, %edi
	callq	_GET_MODE_CLASS
	cmpq	(%rbx), %rax
	jne	LBB0_19
## %bb.18:
	movl	%r15d, %edi
	callq	_GET_MODE_SIZE
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cltd
	idivl	%ebx
	addl	%r14d, %eax
	movq	_SPARC_FP_ARG_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_20
LBB0_19:
	xorl	%ebx, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_ARCH32,8,3              ## @TARGET_ARCH32
	.comm	_BLKmode,4,2                    ## @BLKmode
	.comm	_SPARC_INT_ARG_MAX,4,2          ## @SPARC_INT_ARG_MAX
	.comm	_UNITS_PER_WORD,4,2             ## @UNITS_PER_WORD
	.comm	_MODE_COMPLEX_INT,8,3           ## @MODE_COMPLEX_INT
	.comm	_MODE_COMPLEX_FLOAT,8,3         ## @MODE_COMPLEX_FLOAT
	.comm	_TARGET_FPU,8,3                 ## @TARGET_FPU
	.comm	_SPARC_FP_ARG_MAX,4,2           ## @SPARC_FP_ARG_MAX
	.no_dead_strip	_sparc_arg_partial_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sparc_arg_partial_bytes
_sparc_arg_partial_bytes:               ; @sparc_arg_partial_bytes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	add	x5, sp, #12
	add	x6, sp, #8
	mov	w4, #0
	bl	_function_arg_slotno
	cmn	w0, #1
	b.eq	LBB0_19
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _TARGET_ARCH32@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_ARCH32@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _BLKmode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLKmode@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x22
	bl	_int_size_in_bytes
	b	LBB0_8
LBB0_4:
	cbz	x22, LBB0_10
; %bb.5:
	mov	x0, x22
	bl	_AGGREGATE_TYPE_P
	cbz	x0, LBB0_10
; %bb.6:
	mov	x0, x22
	bl	_int_size_in_bytes
	b	LBB0_12
LBB0_7:
	mov	x0, x20
	bl	_GET_MODE_SIZE
LBB0_8:
	bl	_ROUND_ADVANCE
Lloh6:
	adrp	x8, _SPARC_INT_ARG_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SPARC_INT_ARG_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w9, w0, w19
	cmp	w9, w8
	b.le	LBB0_19
; %bb.9:
	sub	w8, w8, w19
Lloh9:
	adrp	x9, _UNITS_PER_WORD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UNITS_PER_WORD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	mul	w0, w9, w8
	b	LBB0_20
LBB0_10:
	mov	x0, x20
	bl	_GET_MODE_CLASS
Lloh12:
	adrp	x8, _MODE_COMPLEX_INT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MODE_COMPLEX_INT@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
LBB0_11:
	mov	x0, x20
	bl	_GET_MODE_SIZE
LBB0_12:
	mov	x8, x0
Lloh15:
	adrp	x9, _UNITS_PER_WORD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _UNITS_PER_WORD@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x9]
	cmp	w8, w0
	b.le	LBB0_19
; %bb.13:
Lloh18:
	adrp	x8, _SPARC_INT_ARG_MAX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SPARC_INT_ARG_MAX@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	sub	w8, w8, #1
	cmp	w19, w8
	b.ne	LBB0_19
	b	LBB0_20
LBB0_14:
	mov	x0, x20
	bl	_GET_MODE_CLASS
Lloh21:
	adrp	x22, _MODE_COMPLEX_FLOAT@GOTPAGE
Lloh22:
	ldr	x22, [x22, _MODE_COMPLEX_FLOAT@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.15:
	cbz	w21, LBB0_11
; %bb.16:
Lloh23:
	adrp	x8, _TARGET_FPU@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TARGET_FPU@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
LBB0_17:
	mov	x0, x20
	bl	_GET_MODE_CLASS
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x20
	bl	_GET_MODE_SIZE
	mov	x8, x0
Lloh26:
	adrp	x9, _UNITS_PER_WORD@GOTPAGE
Lloh27:
	ldr	x9, [x9, _UNITS_PER_WORD@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x9]
	sdiv	w8, w8, w0
Lloh29:
	adrp	x9, _SPARC_FP_ARG_MAX@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SPARC_FP_ARG_MAX@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	add	w8, w8, w19
	cmp	w8, w9
	b.gt	LBB0_20
LBB0_19:
	mov	w0, #0
LBB0_20:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_ARCH32,8,3              ; @TARGET_ARCH32
	.comm	_BLKmode,4,2                    ; @BLKmode
	.comm	_SPARC_INT_ARG_MAX,4,2          ; @SPARC_INT_ARG_MAX
	.comm	_UNITS_PER_WORD,4,2             ; @UNITS_PER_WORD
	.comm	_MODE_COMPLEX_INT,8,3           ; @MODE_COMPLEX_INT
	.comm	_MODE_COMPLEX_FLOAT,8,3         ; @MODE_COMPLEX_FLOAT
	.comm	_TARGET_FPU,8,3                 ; @TARGET_FPU
	.comm	_SPARC_FP_ARG_MAX,4,2           ; @SPARC_FP_ARG_MAX
	.no_dead_strip	_sparc_arg_partial_bytes
.subsections_via_symbols
