	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_uadd                        ## -- Begin function BN_uadd
	.p2align	4, 0x90
_BN_uadd:                               ## @BN_uadd
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_bn_check_top
	movq	%r15, %rdi
	callq	_bn_check_top
	movl	(%rbx), %eax
	cmpl	(%r15), %eax
	movq	%r15, %r14
	cmovlq	%rbx, %r14
	cmovlq	%r15, %rbx
	movl	(%rbx), %r12d
	movl	(%r14), %r13d
	leal	1(%r12), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bn_wexpand
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movslq	%r13d, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r12
	movq	8(%r14), %rdx
	movq	8(%rax), %rbx
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %ecx
	callq	_bn_add_words
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	%eax, %r13d
	movq	%rax, %r11
                                        ## kill: def $eax killed $eax killed $rax
	cmovgl	%r13d, %eax
	movq	_BN_MASK2@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r13d, %eax
	je	LBB0_29
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
	movl	(%r12,%r15,4), %edx
	leal	1(%rdx), %esi
	andl	(%rcx), %esi
	movl	%esi, (%rbx,%r15,4)
	addq	$4, %r12
	addq	$4, %rbx
	cmpl	%edx, %esi
	jl	LBB0_5
## %bb.7:
	leaq	(%r12,%r15,4), %rdx
	leaq	(%rbx,%r15,4), %rcx
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_3:
	leaq	(%rbx,%r15,4), %rcx
	leaq	(%r12,%r15,4), %rdx
	movq	-48(%rbp), %r11                 ## 8-byte Reload
LBB0_8:
	movq	%rcx, %rsi
	movl	$1, %eax
	subq	%rdx, %rsi
	je	LBB0_28
## %bb.9:
	cmpl	%r11d, %r13d
	jge	LBB0_28
## %bb.10:
	movl	%r13d, %r9d
	notl	%r9d
	addl	%r11d, %r9d
	cmpl	$7, %r9d
	jb	LBB0_21
## %bb.11:
	cmpq	$32, %rsi
	jb	LBB0_21
## %bb.12:
	incq	%r9
	movq	%r9, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rsi
	movq	%rsi, %rbx
	shrq	$3, %rbx
	incq	%rbx
	movl	%ebx, %r10d
	andl	$3, %r10d
	cmpq	$24, %rsi
	jae	LBB0_14
## %bb.13:
	xorl	%esi, %esi
	jmp	LBB0_16
LBB0_29:
	movl	$1, (%rbx,%r15,4)
	incl	(%rdi)
	movl	$1, %eax
	jmp	LBB0_28
LBB0_14:
	andq	$-4, %rbx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rdx,%rsi,4), %xmm0
	movups	16(%rdx,%rsi,4), %xmm1
	movups	%xmm0, (%rcx,%rsi,4)
	movups	%xmm1, 16(%rcx,%rsi,4)
	movups	32(%rdx,%rsi,4), %xmm0
	movups	48(%rdx,%rsi,4), %xmm1
	movups	%xmm0, 32(%rcx,%rsi,4)
	movups	%xmm1, 48(%rcx,%rsi,4)
	movups	64(%rdx,%rsi,4), %xmm0
	movups	80(%rdx,%rsi,4), %xmm1
	movups	%xmm0, 64(%rcx,%rsi,4)
	movups	%xmm1, 80(%rcx,%rsi,4)
	movups	96(%rdx,%rsi,4), %xmm0
	movups	112(%rdx,%rsi,4), %xmm1
	movups	%xmm0, 96(%rcx,%rsi,4)
	movups	%xmm1, 112(%rcx,%rsi,4)
	addq	$32, %rsi
	addq	$-4, %rbx
	jne	LBB0_15
LBB0_16:
	testq	%r10, %r10
	je	LBB0_19
## %bb.17:
	leaq	(%rdx,%rsi,4), %rbx
	addq	$16, %rbx
	leaq	(%rcx,%rsi,4), %rsi
	addq	$16, %rsi
	shlq	$5, %r10
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rbx,%rdi), %xmm0
	movups	(%rbx,%rdi), %xmm1
	movups	%xmm0, -16(%rsi,%rdi)
	movups	%xmm1, (%rsi,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r10
	jne	LBB0_18
LBB0_19:
	cmpq	%r8, %r9
	je	LBB0_28
## %bb.20:
	leaq	(%rcx,%r8,4), %rcx
	leaq	(%rdx,%r8,4), %rdx
	addl	%r8d, %r13d
LBB0_21:
	movl	%r11d, %edi
	subl	%r13d, %edi
	movl	%r13d, %r8d
	notl	%r8d
	addl	%r11d, %r8d
	andl	$7, %edi
	je	LBB0_25
## %bb.22:
	negl	%edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	addq	$4, %rdx
	movl	%esi, (%rcx)
	addq	$4, %rcx
	decl	%ebx
	cmpl	%ebx, %edi
	jne	LBB0_23
## %bb.24:
	subl	%ebx, %r13d
LBB0_25:
	cmpl	$7, %r8d
	jb	LBB0_28
## %bb.26:
	subl	%r13d, %r11d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rsi,4), %edi
	movl	%edi, (%rcx,%rsi,4)
	movl	4(%rdx,%rsi,4), %edi
	movl	%edi, 4(%rcx,%rsi,4)
	movl	8(%rdx,%rsi,4), %edi
	movl	%edi, 8(%rcx,%rsi,4)
	movl	12(%rdx,%rsi,4), %edi
	movl	%edi, 12(%rcx,%rsi,4)
	movl	16(%rdx,%rsi,4), %edi
	movl	%edi, 16(%rcx,%rsi,4)
	movl	20(%rdx,%rsi,4), %edi
	movl	%edi, 20(%rcx,%rsi,4)
	movl	24(%rdx,%rsi,4), %edi
	movl	%edi, 24(%rcx,%rsi,4)
	movl	28(%rdx,%rsi,4), %edi
	movl	%edi, 28(%rcx,%rsi,4)
	addq	$8, %rsi
	cmpl	%esi, %r11d
	jne	LBB0_27
LBB0_28:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_MASK2,4,2                   ## @BN_MASK2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_uadd                        ; -- Begin function BN_uadd
	.p2align	2
_BN_uadd:                               ; @BN_uadd
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_bn_check_top
	mov	x0, x19
	bl	_bn_check_top
	ldr	w8, [x21]
	ldr	w9, [x19]
	cmp	w8, w9
	csel	x25, x21, x19, lt
	csel	x21, x19, x21, lt
	ldr	w23, [x21]
	ldr	w19, [x25]
	add	w1, w23, #1
	mov	x0, x20
	bl	_bn_wexpand
	cbz	x0, LBB0_19
; %bb.1:
	sxtw	x24, w19
	str	w23, [x20]
	ldr	x22, [x21, #8]
	ldr	x2, [x25, #8]
	ldr	x21, [x20, #8]
	mov	x0, x21
	mov	x1, x22
	mov	x3, x19
	bl	_bn_add_words
	lsl	x8, x24, #2
	cbz	w0, LBB0_6
; %bb.2:
	cmp	w19, w23
	csel	w9, w19, w23, gt
Lloh0:
	adrp	x10, _BN_MASK2@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BN_MASK2@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, w19
	b.eq	LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w19, w19, #1
	ldr	w11, [x22, x8]
	add	w12, w11, #1
	ldr	w13, [x10]
	and	w12, w12, w13
	str	w12, [x21, x8]
	add	x22, x22, #4
	add	x21, x21, #4
	cmp	w12, w11
	b.lt	LBB0_3
; %bb.5:
	add	x10, x22, x8
	add	x11, x21, x8
	b	LBB0_7
LBB0_6:
	add	x11, x21, x8
	add	x10, x22, x8
LBB0_7:
	mov	w0, #1
	subs	x8, x11, x10
	b.eq	LBB0_19
; %bb.8:
	cmp	w19, w23
	b.ge	LBB0_19
; %bb.9:
	mvn	w9, w19
	add	w9, w23, w9
	cmp	w9, #15
	b.lo	LBB0_15
; %bb.10:
	cmp	x8, #64
	b.lo	LBB0_15
; %bb.11:
	add	x12, x9, #1
	and	x13, x12, #0x1fffffff0
	lsl	x9, x13, #2
	add	x8, x11, x9
	add	x9, x10, x9
	add	w19, w19, w13
	add	x11, x11, #32
	add	x10, x10, #32
	mov	x14, x13
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x14, x14, #16
	b.ne	LBB0_12
; %bb.13:
	cmp	x12, x13
	b.ne	LBB0_16
	b	LBB0_18
LBB0_14:
	mov	w0, #1
	str	w0, [x21, x24, lsl #2]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_19
LBB0_15:
	mov	x8, x11
	mov	x9, x10
LBB0_16:
	sub	w10, w23, w19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #4
	str	w11, [x8], #4
	subs	w10, w10, #1
	b.ne	LBB0_17
LBB0_18:
	mov	w0, #1
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_MASK2,4,2                   ; @BN_MASK2
.subsections_via_symbols
