	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_easy_altivec_constant          ## -- Begin function easy_altivec_constant
	.p2align	4, 0x90
_easy_altivec_constant:                 ## @easy_altivec_constant
	.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, %ebx
	movl	%edi, %r14d
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_GET_MODE
	cmpl	%ebx, %r15d
	je	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	cmpl	%ebx, %eax
	movl	%ebx, %eax
	jne	LBB0_5
LBB0_2:
	movl	%eax, %edi
	callq	_GET_MODE_NUNITS
	movl	%eax, %r13d
	leal	3(%r13), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$2, %ebx
	movl	$1, %r15d
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_vspltis_constant
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	andl	$-4, %r13d
	shrl	%ebx
	xorl	%r12d, %r12d
	cmpl	$4, %r13d
	sete	%r12b
	movl	$1, %r15d
	cmovel	%r15d, %ebx
	incl	%r12d
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_vspltis_constant
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	%ebx, %esi
	shrl	%esi
	cmpl	$1, %ebx
	cmovel	%ebx, %esi
	sete	%cl
	shll	%cl, %r12d
	movl	%r14d, %edi
	movl	%r12d, %edx
	callq	_vspltis_constant
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VOIDmode,4,2                   ## @VOIDmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_easy_altivec_constant          ; -- Begin function easy_altivec_constant
	.p2align	2
_easy_altivec_constant:                 ; @easy_altivec_constant
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_GET_MODE
	cmp	w21, w20
	b.eq	LBB0_2
; %bb.1:
	cmp	w0, w20
	mov	x0, x20
	b.ne	LBB0_5
LBB0_2:
	bl	_GET_MODE_NUNITS
	mov	x21, x0
	add	w8, w0, #3
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w22, w8, #2
	mov	w20, #1
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	bl	_vspltis_constant
	cbnz	x0, LBB0_6
; %bb.3:
	and	w8, w21, #0xfffffffc
	lsr	w9, w22, #1
	cmp	w8, #4
	csinc	w22, w9, wzr, ne
	cinc	w21, w20, eq
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_vspltis_constant
	cbnz	x0, LBB0_6
; %bb.4:
	cmp	w22, #1
	cset	w8, eq
	lsr	w9, w22, #1
	csinc	w1, w9, wzr, ne
	lsl	w2, w21, w8
	mov	x0, x19
	bl	_vspltis_constant
	cmp	x0, #0
	cset	w20, ne
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VOIDmode,4,2                   ; @VOIDmode
.subsections_via_symbols
