	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function symmetric_extension
_symmetric_extension:                   ## @symmetric_extension
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	_NPAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, %eax
	cmpl	$2, %edx
	jne	LBB0_2
## %bb.1:
	movslq	%r8d, %rdx
	leal	-1(%rdx), %eax
	movss	(%rdi,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rdi,%rdx,4)
LBB0_2:
	leal	(%r8,%rsi), %r11d
	decl	%r11d
	movl	%r11d, %r9d
	cmpl	$2, %ecx
	jne	LBB0_4
## %bb.3:
	movslq	%r11d, %rcx
	movss	(%rdi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	leal	(%r8,%rsi), %r9d
	movslq	%r9d, %rcx
	movss	%xmm0, (%rdi,%rcx,4)
LBB0_4:
	testl	%eax, %eax
	jle	LBB0_11
## %bb.5:
	movl	%eax, %r10d
	movl	$1, %edx
	movq	%r10, %rcx
	cmpl	$1, %eax
	je	LBB0_9
## %bb.6:
	leal	1(%r8), %edx
	leal	2(%r8), %eax
	leaq	(%rdi,%r10,4), %rbx
	addq	$-4, %rbx
	movl	%r10d, %r14d
	andl	$-2, %r14d
	negq	%r14
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rdx
	movss	(%rdi,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbx,%rcx,4)
	cltq
	movss	(%rdi,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rbx,%rcx,4)
	addq	$-2, %rcx
	addl	$2, %edx
	addl	$2, %eax
	cmpq	%rcx, %r14
	jne	LBB0_7
## %bb.8:
	movl	$1, %edx
	subl	%ecx, %edx
	addq	%r10, %rcx
LBB0_9:
	testb	$1, %r10b
	je	LBB0_11
## %bb.10:
	addl	%r8d, %edx
	movslq	%edx, %rax
	movss	(%rdi,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rdi,%rcx,4)
LBB0_11:
	leal	(%rsi,%r8,2), %eax
	movl	%r9d, %edx
	notl	%edx
	addl	%eax, %edx
	testl	%edx, %edx
	jle	LBB0_18
## %bb.12:
	movslq	%r9d, %r10
	movl	%edx, %r9d
	movl	$-1, %eax
	cmpl	$1, %edx
	je	LBB0_16
## %bb.13:
	movl	%r9d, %eax
	andl	$-2, %eax
	leaq	(%rdi,%r10,4), %rbx
	addq	$8, %rbx
	leal	(%r8,%rsi), %edx
	addl	$-2, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rdx
	movss	(%rdi,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rbx,%rsi,4)
	movl	%esi, %ecx
	xorl	$-2, %ecx
	addl	%r11d, %ecx
	movslq	%ecx, %rcx
	movss	(%rdi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbx,%rsi,4)
	addq	$2, %rsi
	addl	$-2, %edx
	cmpq	%rsi, %rax
	jne	LBB0_14
## %bb.15:
	movl	%esi, %eax
	notl	%eax
	addq	%rsi, %r10
LBB0_16:
	testb	$1, %r9b
	je	LBB0_18
## %bb.17:
	addl	%eax, %r11d
	movslq	%r11d, %rax
	movss	(%rdi,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 4(%rdi,%r10,4)
LBB0_18:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPAD,4,2                       ## @NPAD
	.no_dead_strip	_symmetric_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function symmetric_extension
_symmetric_extension:                   ; @symmetric_extension
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NPAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NPAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w9, w8, #1
	mov	x10, x8
	cmp	w2, #2
	b.ne	LBB0_2
; %bb.1:
	sxtw	x10, w8
	ldr	s0, [x0, x10, lsl #2]
	str	s0, [x0, w9, sxtw #2]
	mov	x10, x9
LBB0_2:
	add	w9, w9, w1
	cmp	w3, #2
	b.ne	LBB0_4
; %bb.3:
	ldr	s0, [x0, w9, sxtw #2]
	add	w9, w8, w1
	str	s0, [x0, w9, sxtw #2]
LBB0_4:
	cmp	w10, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w10, w10
	lsl	x10, x10, #2
	add	w11, w8, #1
	sub	x12, x0, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x0, w11, sxtw #2]
	str	s0, [x12, x10]
	add	w11, w11, #1
	subs	x10, x10, #4
	b.ne	LBB0_6
LBB0_7:
	add	w10, w1, w8, lsl #1
	mvn	w11, w9
	add	w10, w11, w10
	cmp	w10, #1
	b.lt	LBB0_10
; %bb.8:
	add	x9, x0, w9, sxtw #2
	add	x9, x9, #4
	add	w8, w8, w1
	sub	w8, w8, #2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x0, w8, sxtw #2]
	str	s0, [x9], #4
	sub	w8, w8, #1
	subs	x10, x10, #1
	b.ne	LBB0_9
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NPAD,4,2                       ; @NPAD
	.no_dead_strip	_symmetric_extension
.subsections_via_symbols
