	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addWrd
_addWrd:                                ## @addWrd
	.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	%r9, %r15
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	testq	%r8, %r8
	jne	LBB0_6
## %bb.1:
	movl	$0, _addWrd.ntres(%rip)
	movl	$0, _addWrd.nres(%rip)
	movl	(%r14), %eax
	cmpl	%r13d, %eax
	jg	LBB0_6
## %bb.2:
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leal	(%rax,%rax), %ecx
	movl	%ecx, (%r14)
	movq	8(%r14), %rdi
	shll	$4, %eax
	leal	(%rax,%rax,4), %esi
	callq	_repalloc
	jmp	LBB0_5
LBB0_3:
	movl	$16, (%r14)
	movl	$640, %edi                      ## imm = 0x280
	callq	_palloc
LBB0_5:
	movq	%rax, 8(%r14)
LBB0_6:
	movq	8(%r14), %r14
	movslq	%r13d, %rax
	decq	%r15
	leaq	(%rax,%rax,4), %r13
	movq	%r15, 32(%r14,%r13,8)
	movl	_addWrd.nres(%rip), %ecx
	incl	%ecx
	movl	_addWrd.ntres(%rip), %eax
	cmpl	%eax, %ecx
	jl	LBB0_11
## %bb.7:
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	leal	(%rax,%rax), %ecx
	movl	%ecx, _addWrd.ntres(%rip)
	movq	8(%r14,%r13,8), %rdi
	shll	$4, %eax
	leal	(%rax,%rax,4), %esi
	callq	_repalloc
	jmp	LBB0_10
LBB0_8:
	movl	$2, _addWrd.ntres(%rip)
	movl	$80, %edi
	callq	_palloc
LBB0_10:
	movq	%rax, 8(%r14,%r13,8)
LBB0_11:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	subq	%rbx, %r12
	leal	1(%r12), %edi
	callq	_palloc
	movq	8(%r14,%r13,8), %rcx
	movslq	_addWrd.nres(%rip), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	8(%r14,%r13,8), %rdx
	movslq	_addWrd.nres(%rip), %rax
	movq	%rax, %rcx
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	movq	(%rdx,%rcx), %rdx
	movb	$0, (%rdx,%r12)
	movq	8(%r14,%r13,8), %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, 24(%rdx,%rcx)
	cmpl	$0, 16(%rbp)
	je	LBB0_12
## %bb.13:
	movq	_DT_USEASIS@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	jmp	LBB0_14
LBB0_12:
	xorl	%esi, %esi
LBB0_14:
	movq	%rsi, 16(%rdx,%rcx)
	incl	%eax
	movl	%eax, _addWrd.nres(%rip)
	movq	$0, 40(%rdx,%rcx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_addWrd.nres,4,2 ## @addWrd.nres
.zerofill __DATA,__bss,_addWrd.ntres,4,2 ## @addWrd.ntres
	.comm	_DT_USEASIS,8,3                 ## @DT_USEASIS
	.no_dead_strip	_addWrd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addWrd
_addWrd:                                ; @addWrd
	.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, x6
	mov	x23, x5
	mov	x20, x4
	mov	x24, x3
	mov	x22, x2
	mov	x21, x1
	mov	x25, x0
	adrp	x27, _addWrd.ntres@PAGE
	adrp	x26, _addWrd.nres@PAGE
	cbnz	x4, LBB0_6
; %bb.1:
	str	wzr, [x27, _addWrd.ntres@PAGEOFF]
	str	wzr, [x26, _addWrd.nres@PAGEOFF]
	ldr	w8, [x25]
	cmp	w8, w24
	b.gt	LBB0_6
; %bb.2:
	cbz	w8, LBB0_4
; %bb.3:
	lsl	w9, w8, #1
	str	w9, [x25]
	ldr	x0, [x25, #8]
	add	w8, w8, w8, lsl #2
	lsl	w1, w8, #4
	bl	_repalloc
	b	LBB0_5
LBB0_4:
	mov	w8, #16
	str	w8, [x25]
	mov	w0, #640
	bl	_palloc
LBB0_5:
	str	x0, [x25, #8]
LBB0_6:
	ldr	x25, [x25, #8]
	sxtw	x28, w24
	sub	x8, x23, #1
	mov	w9, #40
	smaddl	x9, w24, w9, x25
	str	x8, [x9, #32]
	ldr	w8, [x26, _addWrd.nres@PAGEOFF]
	add	w9, w8, #1
	ldr	w8, [x27, _addWrd.ntres@PAGEOFF]
	cmp	w9, w8
	b.lt	LBB0_10
; %bb.7:
	cbz	w8, LBB0_9
; %bb.8:
	lsl	w9, w8, #1
	str	w9, [x27, _addWrd.ntres@PAGEOFF]
	mov	w9, #40
	madd	x23, x28, x9, x25
	ldr	x0, [x23, #8]
	add	w8, w8, w8, lsl #2
	lsl	w1, w8, #4
	bl	_repalloc
	str	x0, [x23, #8]
	b	LBB0_10
LBB0_9:
	mov	w8, #2
	str	w8, [x27, _addWrd.ntres@PAGEOFF]
	mov	w0, #80
	bl	_palloc
	mov	w8, #40
	madd	x8, x28, x8, x25
	str	x0, [x8, #8]
LBB0_10:
	sub	x22, x22, x21
	add	w0, w22, #1
	bl	_palloc
	mov	w8, #40
	madd	x23, x28, x8, x25
	ldr	x9, [x23, #8]
	ldrsw	x10, [x26, _addWrd.nres@PAGEOFF]
	mul	x8, x10, x8
	str	x0, [x9, x8]
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [x23, #8]
	ldrsw	x9, [x26, _addWrd.nres@PAGEOFF]
	add	x10, x9, x9, lsl #2
	lsl	x10, x10, #3
	ldr	x8, [x8, x10]
	strb	wzr, [x8, x22]
	ldr	x8, [x23, #8]
	add	x8, x8, x10
	str	x20, [x8, #24]
Lloh0:
	adrp	x10, _DT_USEASIS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DT_USEASIS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	w19, #0
	csel	x10, xzr, x10, eq
	str	x10, [x8, #16]
	add	w9, w9, #1
	str	w9, [x26, _addWrd.nres@PAGEOFF]
	str	xzr, [x8, #40]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_addWrd.nres,4,2 ; @addWrd.nres
.zerofill __DATA,__bss,_addWrd.ntres,4,2 ; @addWrd.ntres
	.comm	_DT_USEASIS,8,3                 ; @DT_USEASIS
	.no_dead_strip	_addWrd
.subsections_via_symbols
