	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_add                         ## -- Begin function BN_add
	.p2align	4, 0x90
_BN_add:                                ## @BN_add
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_bn_check_top
	movq	%r15, %rdi
	callq	_bn_check_top
	movl	(%rbx), %eax
	cmpl	(%r15), %eax
	jne	LBB0_2
## %bb.1:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, (%r14)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_BN_uadd
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	jmp	LBB0_9
LBB0_2:
	testl	%eax, %eax
	movq	%r15, %r12
	cmoveq	%rbx, %r12
	cmoveq	%r15, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_BN_ucmp
	movq	%r14, %rdi
	testq	%rax, %rax
	js	LBB0_5
## %bb.3:
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_BN_usub
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movl	$0, (%r14)
	movl	$1, %eax
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_BN_usub
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	$1, (%r14)
	movl	$1, %eax
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_add                         ; -- Begin function BN_add
	.p2align	2
_BN_add:                                ; @BN_add
	.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, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_bn_check_top
	mov	x0, x20
	bl	_bn_check_top
	ldr	w8, [x21]
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	cmp	w8, #0
	cset	w8, ne
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_BN_uadd
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_7
LBB0_2:
	cmp	w8, #0
	csel	x22, x21, x20, eq
	csel	x20, x20, x21, eq
	mov	x0, x22
	mov	x1, x20
	bl	_BN_ucmp
	tbnz	x0, #63, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_BN_usub
	cbz	w0, LBB0_7
; %bb.4:
	str	wzr, [x19]
	mov	w0, #1
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_BN_usub
	cbz	w0, LBB0_7
; %bb.6:
	mov	w0, #1
	str	w0, [x19]
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
