	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs6000_spe_function_arg
_rs6000_spe_function_arg:               ## @rs6000_spe_function_arg
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	(%rdi), %r15d
	movq	_TARGET_E500_DOUBLE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movq	_DFmode@GOTPCREL(%rip), %rbx
	cmpl	%r14d, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_DCmode@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_3
LBB0_5:
	cmpq	$0, 8(%rdi)
	je	LBB0_8
## %bb.6:
	movl	%r14d, %edi
	movl	%edx, %esi
	callq	_rs6000_arg_size
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	xorl	$2, %ecx
	movl	%r15d, %edx
	andl	$1, %edx
	xorl	%ebx, %ebx
	orl	%ecx, %edx
	sete	%bl
	addl	%r15d, %ebx
	addl	%ebx, %eax
	decl	%eax
	movq	_GP_ARG_MAX_REG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_9
## %bb.7:
	movq	_SImode@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_gen_rtx_REG
	movq	_const0_rtx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_gen_rtx_EXPR_LIST
	movl	%eax, %r12d
	incl	%ebx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_gen_rtx_REG
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_GEN_INT
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_gen_rtx_EXPR_LIST
	movl	$2, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_gen_rtvec
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gen_rtx_PARALLEL               ## TAILCALL
LBB0_3:
	movl	%r14d, %edi
	movl	%edx, %esi
	callq	_rs6000_arg_size
	movl	$1, %ecx
	subl	%r15d, %ecx
	andl	$1, %ecx
	xorl	%esi, %esi
	cmpl	%r14d, (%rbx)
                                        ## kill: def $eax killed $eax def $rax
	cmovel	%ecx, %esi
	addl	%r15d, %esi
	addl	%esi, %eax
	decl	%eax
	movq	_GP_ARG_MAX_REG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_9
## %bb.4:
	movl	%r14d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spe_build_register_parallel    ## TAILCALL
LBB0_8:
	movq	_GP_ARG_MAX_REG@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jle	LBB0_10
LBB0_9:
	movq	_NULL_RTX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	%r14d, %edi
	movl	%r15d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gen_rtx_REG                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_E500_DOUBLE,8,3         ## @TARGET_E500_DOUBLE
	.comm	_DFmode,4,2                     ## @DFmode
	.comm	_DCmode,4,2                     ## @DCmode
	.comm	_GP_ARG_MAX_REG,4,2             ## @GP_ARG_MAX_REG
	.comm	_NULL_RTX,4,2                   ## @NULL_RTX
	.comm	_SImode,4,2                     ## @SImode
	.comm	_const0_rtx,4,2                 ## @const0_rtx
	.no_dead_strip	_rs6000_spe_function_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs6000_spe_function_arg
_rs6000_spe_function_arg:               ; @rs6000_spe_function_arg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _TARGET_E500_DOUBLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_E500_DOUBLE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x21, _DFmode@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DFmode@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _DCmode@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DCmode@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x2
	bl	_rs6000_arg_size
	ldr	w8, [x21]
	mov	w9, #1
	sub	w9, w9, w20
	and	w9, w9, #0x1
	cmp	w8, w19
	csel	w8, w9, wzr, eq
	add	w1, w8, w20
	add	w8, w0, w1
	sub	w8, w8, #1
Lloh8:
	adrp	x9, _GP_ARG_MAX_REG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GP_ARG_MAX_REG@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_8
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spe_build_register_parallel
LBB0_4:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x19
	mov	x1, x2
	bl	_rs6000_arg_size
	tst	w20, #0x1
	ccmp	w0, #2, #0, eq
	cinc	w20, w20, eq
	add	w8, w0, w20
	sub	w8, w8, #1
Lloh11:
	adrp	x9, _GP_ARG_MAX_REG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _GP_ARG_MAX_REG@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_8
; %bb.6:
Lloh14:
	adrp	x8, _SImode@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SImode@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_gen_rtx_REG
	mov	x1, x0
Lloh17:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh18:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_gen_rtx_EXPR_LIST
	mov	x22, x0
	add	w1, w20, #1
	mov	x0, x21
	bl	_gen_rtx_REG
	mov	x20, x0
	mov	w0, #4
	bl	_GEN_INT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_gen_rtx_EXPR_LIST
	mov	x2, x0
	mov	w0, #2
	mov	x1, x22
	bl	_gen_rtvec
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gen_rtx_PARALLEL
LBB0_7:
Lloh20:
	adrp	x8, _GP_ARG_MAX_REG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GP_ARG_MAX_REG@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w20, w8
	b.le	LBB0_9
LBB0_8:
Lloh23:
	adrp	x8, _NULL_RTX@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NULL_RTX@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gen_rtx_REG
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_E500_DOUBLE,8,3         ; @TARGET_E500_DOUBLE
	.comm	_DFmode,4,2                     ; @DFmode
	.comm	_DCmode,4,2                     ; @DCmode
	.comm	_GP_ARG_MAX_REG,4,2             ; @GP_ARG_MAX_REG
	.comm	_NULL_RTX,4,2                   ; @NULL_RTX
	.comm	_SImode,4,2                     ; @SImode
	.comm	_const0_rtx,4,2                 ; @const0_rtx
	.no_dead_strip	_rs6000_spe_function_arg
.subsections_via_symbols
