	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sub_abs
_sub_abs:                               ## @sub_abs
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rcx
	movq	%rdi, %rdx
	movl	(%rdi), %r15d
	movl	(%rsi), %r12d
	movq	8(%rdi), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	16(%rdi), %r13d
	movl	20(%rdi), %edi
	movq	%rdx, %rbx
	movl	20(%rsi), %esi
	movq	%rcx, %r14
	callq	_Max
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rbx), %edi
	notl	%edi
	addl	(%rbx), %edi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r14), %esi
	notl	%esi
	addl	(%r14), %esi
	callq	_Max
	movl	%eax, %ebx
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	leal	(%rbx,%r13), %r14d
	xorl	%r13d, %r13d
	testl	%r14d, %r14d
	cmovlel	%r13d, %r14d
	leal	2(%r14), %edi
	callq	_digitbuf_alloc
	movl	$0, (%rax)
	leaq	(%rax,%r14,4), %r9
	addq	$4, %r9
	movq	%r14, %r10
	leaq	1(%r14), %rcx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	addq	$4, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edx
	addl	%ebx, %edx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	16(%rax), %ebx
	movq	_NBASE@GOTPCREL(%rip), %r8
	xorl	%esi, %esi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%esi, %edi
	sarl	$31, %esi
	movl	(%r8), %eax
	andl	%esi, %eax
	addl	%edi, %eax
	movl	%eax, (%r9,%r13,4)
	leaq	(%rcx,%r13), %rax
	decq	%rax
	decq	%r13
	testq	%rax, %rax
	jle	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rdx,%r13), %rdi
	leal	1(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r15d, %eax
	jg	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%edi, %eax
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	addl	(%rdi,%rax,4), %esi
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%rbx,%r13), %rdi
	incq	%rdi
	testl	%edi, %edi
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r12d, %edi
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%rbx,%r13), %rax
	movl	%eax, %eax
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	subl	(%rdi,%rax,4), %esi
	jmp	LBB0_7
LBB0_8:
	movq	%r10, %r14
	incl	%r14d
	notl	%edi
	shrl	$31, %edi
	callq	_Assert
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rdi
	callq	_digitbuf_free
	movl	%r14d, (%rbx)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 16(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%rbx)
	movq	%rbx, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strip_var                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NBASE,4,2                      ## @NBASE
	.no_dead_strip	_sub_abs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sub_abs
_sub_abs:                               ; @sub_abs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w26, [x0]
	ldr	w27, [x1]
	ldr	x28, [x0, #8]
	ldr	x20, [x1, #8]
	ldp	w21, w0, [x0, #16]
	ldr	w1, [x1, #20]
	bl	_Max
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	ldr	w8, [x23]
	ldr	w9, [x23, #16]
	mvn	w9, w9
	add	w0, w8, w9
	ldr	w8, [x22]
	ldr	w9, [x22, #16]
	mvn	w9, w9
	add	w1, w8, w9
	bl	_Max
	mov	x24, x0
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
	add	w8, w0, w21
	cmp	w8, #0
	csel	w25, w8, wzr, gt
	add	w0, w25, #2
	bl	_digitbuf_alloc
	mov	x8, #0
	mov	w11, #0
	mov	x21, x0
	str	wzr, [x21], #4
	ldr	w12, [x23, #16]
	ldr	w13, [x22, #16]
	mov	x22, x0
	add	x9, x25, #1
	add	x10, x0, x9, lsl #2
	add	w12, w24, w12
	add	w13, w24, w13
Lloh0:
	adrp	x14, _NBASE@GOTPAGE
Lloh1:
	ldr	x14, [x14, _NBASE@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x15, x11
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x14]
	asr	w11, w15, #31
	and	w16, w11, w16
	add	w16, w15, w16
	str	w16, [x10, x8, lsl #2]
	sub	x8, x8, #1
	add	x16, x9, x8
	cmp	x16, #0
	b.le	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x15, x12, x8
	add	w16, w15, #1
	cmp	w16, #1
	ccmp	w16, w26, #0, ge
	b.gt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w15, [x28, w15, uxtw #2]
	add	w11, w15, w11
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x15, x13, x8
	add	x16, x15, #1
	cmp	w16, #1
	b.lt	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w16, w27
	b.gt	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w15, [x20, w15, uxtw #2]
	sub	w15, w11, w15
	b	LBB0_2
LBB0_8:
	add	w20, w25, #1
	mvn	w8, w15
	lsr	w0, w8, #31
	bl	_Assert
	ldr	x0, [x19, #24]
	bl	_digitbuf_free
	str	w20, [x19]
	str	x22, [x19, #24]
	str	x21, [x19, #8]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	stp	w9, w8, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_strip_var
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NBASE,4,2                      ; @NBASE
	.no_dead_strip	_sub_abs
.subsections_via_symbols
