	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function badd
_badd:                                  ## @badd
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movl	%ecx, %r15d
	decl	%r15d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	js	LBB0_3
## %bb.4:
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	leal	-1(%r12), %r15d
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdx
	cmpl	%r15d, %r13d
	jg	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%r13), %eax
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	sarl	%r12d
	movslq	%r12d, %rsi
	imulq	%rbx, %rsi
	movq	%rdx, %r14
	addq	%rdx, %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	1(%r12), %r13d
	jmp	LBB0_10
LBB0_1:
	movq	%rdx, %rbx
	jmp	LBB0_14
LBB0_3:
	xorl	%r12d, %r12d
LBB0_11:
	movslq	%r12d, %r15
	movq	%r15, %rsi
	movq	%rbx, %r12
	imulq	%rbx, %rsi
	addq	%rdx, %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdx, %r14
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setg	%cl
	addl	%ecx, %r15d
	movslq	%r15d, %rax
	movq	%rax, %rbx
	imulq	%r12, %rbx
	addq	%r14, %rbx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, %rax
	jae	LBB0_13
## %bb.12:
	leaq	(%rbx,%r12), %rdi
	subq	%rax, %rdx
	imulq	%r12, %rdx
	movq	%rbx, %rsi
	callq	_memmove
LBB0_13:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_14:
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_memcpy
	movl	$1, %eax
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_badd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function badd
_badd:                                  ; @badd
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x4
	mov	x21, x2
	mov	x20, x1
	cbz	x3, LBB0_8
; %bb.1:
	mov	x23, x5
	mov	x22, x3
	mov	x24, x0
	subs	w25, w22, #1
	b.mi	LBB0_5
; %bb.2:
	mov	w26, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w25, w26
	cmp	w8, #0
	cinc	w27, w8, lt
	sbfx	x8, x27, #1, #31
	madd	x1, x8, x19, x21
	mov	x0, x24
	blr	x23
	cbz	w0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	asr	w27, w27, #1
	sub	w8, w27, #1
	cmp	w0, #0
	csel	w25, w25, w8, gt
	csinc	w26, w26, w27, le
	cmp	w26, w25
	b.le	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	w27, #0
LBB0_6:
	sxtw	x8, w27
	madd	x1, x8, x19, x21
	mov	x0, x24
	blr	x23
	cmp	w0, #0
	cinc	w8, w27, gt
	sxtw	x8, w8
	madd	x21, x8, x19, x21
	cmp	x8, x22
	b.hs	LBB0_8
; %bb.7:
	add	x0, x21, x19
	sub	x8, x22, x8
	mul	x2, x8, x19
	mov	x1, x21
	bl	_memmove
LBB0_8:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_badd
.subsections_via_symbols
