	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recode_wnaf
_recode_wnaf:                           ## @recode_wnaf
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	_C448_SCALAR_BITS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	leal	1(%rdx), %ecx
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	leal	2(%rax), %r9d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rdx
	movzwl	(%rdx), %ebx
	movl	$1, %r10d
	movl	$1, %r8d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r8d
	leal	-1(%r8), %r11d
	movslq	%r9d, %rsi
	movl	$4294967295, %ecx               ## imm = 0xFFFFFFFF
	movq	%rcx, (%rdi,%rsi,8)
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leal	1(%rax), %r15d
	movl	(%r14), %eax
	leal	-1(%rax), %ecx
	shrl	$4, %ecx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leaq	4(%rdi), %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movl	%r11d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %ebx
	sarl	$16, %ebx
	incl	%r10d
	leal	-1(%rax), %ecx
	shrl	$4, %ecx
	leal	3(%rcx), %esi
	cmpl	%esi, %r10d
	jae	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	cmpl	%ecx, %r10d
	jbe	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edx
	testw	%dx, %dx
	jne	LBB0_5
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%r10d, %esi
	shrl	%esi
	movl	(%rcx,%rsi,4), %edx
	movl	%r10d, %ecx
	shll	$4, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	shll	$16, %edx
	addl	%ebx, %edx
	testw	%dx, %dx
	je	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	shll	$4, %r10d
	addl	$-16, %r10d
	movl	%r10d, -56(%rbp)                ## 4-byte Spill
	movslq	%r15d, %r15
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,8), %r12
	negl	%r15d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %edi
	callq	_NUMTRAILINGZEROS
	movl	%eax, %ebx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%ebx, %ecx
	sarl	%cl, %r13d
	movl	%r13d, %r14d
	andl	-52(%rbp), %r14d                ## 4-byte Folded Reload
	leal	-1(%r15), %edi
	shrl	$31, %edi
	callq	_assert
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	andl	%r8d, %r13d
	cmovnel	%r8d, %r13d
	subl	%r13d, %r14d
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	subl	%eax, %edx
	addl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%ebx, -4(%r12)
	movl	%r14d, (%r12)
	addq	$-8, %r12
	incl	%r15d
	testw	%dx, %dx
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	negl	%r15d
	movq	_C448_SCALAR_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-48(%rbp), %r10d                ## 4-byte Reload
	jmp	LBB0_1
LBB0_8:
	movl	%r15d, %eax
	notl	%eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	addl	%eax, %r14d
	xorl	%edi, %edi
	cmpl	$65536, %edx                    ## imm = 0x10000
	setb	%dil
	callq	_assert
	addl	$3, %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_29
## %bb.9:
	movl	%r14d, %r10d
	cmpl	$4, %r14d
	jae	LBB0_11
LBB0_10:
	xorl	%ecx, %ecx
LBB0_23:
	movq	%rcx, %r8
	notq	%r8
	addq	%r10, %r8
	movq	%r10, %rsi
	andq	$3, %rsi
	je	LBB0_26
## %bb.24:
	leal	1(%r15), %edx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rdx,%rcx), %eax
	movq	(%rdi,%rax,8), %rax
	movq	%rax, (%rdi,%rcx,8)
	incq	%rcx
	incq	%rbx
	cmpq	%rsi, %rbx
	jne	LBB0_25
LBB0_26:
	cmpq	$3, %r8
	jb	LBB0_29
## %bb.27:
	movl	%r15d, %edx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rdx,%rcx), %eax
	incl	%eax
	movq	(%rdi,%rax,8), %rax
	movq	%rax, (%rdi,%rcx,8)
	leal	2(%rdx,%rcx), %eax
	movq	(%rdi,%rax,8), %rax
	movq	%rax, 8(%rdi,%rcx,8)
	leal	3(%rdx,%rcx), %eax
	movq	(%rdi,%rax,8), %rax
	movq	%rax, 16(%rdi,%rcx,8)
	leal	(%rdx,%rcx), %eax
	addl	$4, %eax
	movq	(%rdi,%rax,8), %rax
	movq	%rax, 24(%rdi,%rcx,8)
	addq	$4, %rcx
	cmpq	%r10, %rcx
	jne	LBB0_28
LBB0_29:
	decl	%r14d
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	-1(%r10), %rdx
	movl	$-2, %esi
	subl	%r15d, %esi
	xorl	%ecx, %ecx
	cmpl	%edx, %esi
	jb	LBB0_23
## %bb.12:
	shrq	$32, %rdx
	jne	LBB0_23
## %bb.13:
	leal	1(%r15), %ecx
	shlq	$3, %rcx
	negq	%rcx
	cmpq	$32, %rcx
	jb	LBB0_10
## %bb.15:
	movl	%r10d, %ecx
	andl	$-4, %ecx
	leaq	-4(%rcx), %rdx
	movq	%rdx, %r9
	shrq	$2, %r9
	incq	%r9
	movl	%r9d, %r8d
	andl	$3, %r8d
	cmpq	$12, %rdx
	jae	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_17:
	andq	$-4, %r9
	leal	9(%r15), %ebx
	xorl	%eax, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	leal	-8(%rbx), %esi
	movups	(%rdi,%rsi,8), %xmm0
	movups	16(%rdi,%rsi,8), %xmm1
	movups	%xmm0, (%rdi,%rax,8)
	movups	%xmm1, 16(%rdi,%rax,8)
	leal	-4(%rbx), %esi
	movups	(%rdi,%rsi,8), %xmm0
	movups	16(%rdi,%rsi,8), %xmm1
	movups	%xmm0, 32(%rdi,%rax,8)
	movups	%xmm1, 48(%rdi,%rax,8)
	movl	%ebx, %esi
	movups	(%rdi,%rsi,8), %xmm0
	movups	16(%rdi,%rsi,8), %xmm1
	movups	%xmm0, 64(%rdi,%rax,8)
	movups	%xmm1, 80(%rdi,%rax,8)
	leal	4(%rbx), %esi
	movups	(%rdi,%rsi,8), %xmm0
	movups	16(%rdi,%rsi,8), %xmm1
	movups	%xmm0, 96(%rdi,%rax,8)
	movups	%xmm1, 112(%rdi,%rax,8)
	addq	$16, %rax
	addq	$4, %rdx
	addl	$16, %ebx
	cmpq	%r9, %rdx
	jne	LBB0_18
LBB0_19:
	testq	%r8, %r8
	je	LBB0_22
## %bb.20:
	leaq	(%rdi,%rax,8), %rdx
	addq	$16, %rdx
	leal	(%rax,%r15), %esi
	incl	%esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	%esi, %ebx
	movups	(%rdi,%rbx,8), %xmm0
	movups	16(%rdi,%rbx,8), %xmm1
	movups	%xmm0, -16(%rdx)
	movups	%xmm1, (%rdx)
	incq	%rax
	addq	$32, %rdx
	addl	$4, %esi
	cmpq	%r8, %rax
	jne	LBB0_21
LBB0_22:
	cmpq	%r10, %rcx
	je	LBB0_29
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_C448_SCALAR_BITS,4,2           ## @C448_SCALAR_BITS
	.no_dead_strip	_recode_wnaf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recode_wnaf
_recode_wnaf:                           ; @recode_wnaf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x11, _C448_SCALAR_BITS@GOTPAGE
Lloh1:
	ldr	x11, [x11, _C448_SCALAR_BITS@GOTPAGEOFF]
	ldr	w8, [x11]
	add	w10, w2, #1
	udiv	w12, w8, w10
	add	w8, w12, #2
	stp	x0, x1, [sp, #8]                ; 16-byte Folded Spill
	ldr	x9, [x1]
	ldrh	w9, [x9]
	mov	w25, #1
	lsl	w26, w25, w10
	movi	d0, #0x000000ffffffff
	str	d0, [x0, w8, sxtw #3]
	sub	w27, w26, #1
	str	w12, [sp, #4]                   ; 4-byte Folded Spill
	add	w22, w12, #1
	ldr	w8, [x11]
	sub	w10, w8, #1
	lsr	w10, w10, #4
	add	x11, x0, #4
	str	x11, [sp, #24]                  ; 8-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	asr	w9, w21, #16
	add	w25, w25, #1
	sub	w10, w8, #1
	lsr	w10, w10, #4
	add	w11, w10, #3
	cmp	w25, w11
	b.hs	LBB0_8
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w25, w10
	b.ls	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x9
	tst	w21, #0xffff
	b.ne	LBB0_5
	b	LBB0_1
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x10, [x10]
	lsr	w11, w25, #1
	ldr	w10, [x10, w11, uxtw #2]
	ubfiz	w11, w25, #4, #1
	asr	w10, w10, w11
	add	w21, w9, w10, lsl #16
	tst	w21, #0xffff
	b.eq	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	lsl	w8, w25, #4
	sub	w24, w8, #16
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x23, x8, w22, sxtw #3
	neg	w20, w22
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_NUMTRAILINGZEROS
	mov	x22, x0
	asr	w28, w21, w0
	and	w19, w28, w27
	sub	w8, w20, #1
	lsr	w0, w8, #31
	bl	_assert
	tst	w28, w26
	csel	w8, wzr, w26, eq
	sub	w8, w19, w8
	lsl	w9, w8, w22
	sub	w21, w21, w9
	add	w9, w24, w22
	stp	w9, w8, [x23, #-4]
	sub	x23, x23, #8
	add	w20, w20, #1
	and	w8, w21, #0xffff
	cbnz	w8, LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	neg	w22, w20
Lloh2:
	adrp	x8, _C448_SCALAR_BITS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _C448_SCALAR_BITS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	b	LBB0_1
LBB0_8:
	mvn	w8, w22
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	add	w19, w9, w8
	cmp	w21, #16, lsl #12               ; =65536
	cset	w0, lo
	bl	_assert
	adds	w8, w19, #3
	ldr	x14, [sp, #8]                   ; 8-byte Folded Reload
	b.eq	LBB0_19
; %bb.9:
	cmp	w8, #8
	b.hs	LBB0_11
; %bb.10:
	mov	x9, #0
	b	LBB0_17
LBB0_11:
	mov	x9, #0
	sub	x10, x8, #1
	mov	w11, #-2
	sub	w11, w11, w22
	cmp	w11, w10
	b.lo	LBB0_17
; %bb.12:
	lsr	x10, x10, #32
	cbnz	x10, LBB0_17
; %bb.13:
	mov	x9, #0
	add	w10, w22, #1
	sub	x11, x9, w10, uxtw #3
	cmp	x11, #64
	b.lo	LBB0_17
; %bb.14:
	mov	x11, #0
	and	x9, x8, #0xfffffff8
	add	x12, x14, #32
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	w13, w10, w11
	add	x13, x14, w13, uxtw #3
	ldp	q0, q1, [x13]
	ldp	q2, q3, [x13, #32]
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	add	x11, x11, #8
	cmp	x11, x9
	b.ne	LBB0_15
; %bb.16:
	cmp	x9, x8
	b.eq	LBB0_19
LBB0_17:
	add	w10, w22, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	w11, w10, w9
	ldr	x11, [x14, w11, uxtw #3]
	str	x11, [x14, x9, lsl #3]
	add	x9, x9, #1
	cmp	x9, x8
	b.ne	LBB0_18
LBB0_19:
	sub	w0, w8, #1
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_C448_SCALAR_BITS,4,2           ; @C448_SCALAR_BITS
	.no_dead_strip	_recode_wnaf
.subsections_via_symbols
