	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tw_str_add
_tw_str_add:                            ## @tw_str_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	cmpq	8(%rdi), %rsi
	ja	LBB0_2
## %bb.1:
	movq	_pintr_disabled@GOTPCREL(%rip), %r15
	incl	(%r15)
	movq	_TW_INCR@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%rsi, (%rbx)
	movq	40(%rbx), %rdi
	shll	$3, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_xrealloc
	movq	%rax, 40(%rbx)
	movq	%r15, %rdi
	callq	_disabled_cleanup
LBB0_2:
	movq	16(%rbx), %rsi
	movq	24(%rbx), %rax
	leaq	(%rax,%r14), %rcx
	cmpq	%rcx, %rsi
	ja	LBB0_13
## %bb.3:
	movq	32(%rbx), %r15
	movq	_pintr_disabled@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_TW_INCR@GOTPCREL(%rip), %rax
	addq	%r14, %rsi
	addq	(%rax), %rsi
	movq	%rsi, 16(%rbx)
	shll	$2, %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_xrealloc
	movq	%rax, 32(%rbx)
	testq	%r15, %r15
	je	LBB0_12
## %bb.4:
	cmpq	%rax, %r15
	je	LBB0_12
## %bb.5:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.6:
	movq	40(%rbx), %rcx
	movq	(%rcx), %rsi
	subq	%r15, %rsi
	addq	%rsi, %rax
	movq	%rax, (%rcx)
	cmpq	$1, %rdx
	je	LBB0_12
## %bb.7:
	leaq	-1(%rdx), %rcx
	movl	$1, %eax
	cmpq	$2, %rdx
	je	LBB0_10
## %bb.8:
	movq	%rcx, %rdx
	andq	$-2, %rdx
	negq	%rdx
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rbx), %rsi
	movq	(%rsi,%rax,8), %rdi
	subq	%r15, %rdi
	addq	32(%rbx), %rdi
	movq	%rdi, (%rsi,%rax,8)
	movq	40(%rbx), %rsi
	movq	8(%rsi,%rax,8), %rdi
	subq	%r15, %rdi
	addq	32(%rbx), %rdi
	movq	%rdi, 8(%rsi,%rax,8)
	leaq	(%rdx,%rax), %rsi
	addq	$2, %rsi
	addq	$2, %rax
	cmpq	$1, %rsi
	jne	LBB0_9
LBB0_10:
	testb	$1, %cl
	je	LBB0_12
## %bb.11:
	movq	40(%rbx), %rcx
	movq	(%rcx,%rax,8), %rdx
	subq	%r15, %rdx
	addq	32(%rbx), %rdx
	movq	%rdx, (%rcx,%rax,8)
LBB0_12:
	movq	_pintr_disabled@GOTPCREL(%rip), %rdi
	callq	_disabled_cleanup
	movq	24(%rbx), %rax
	addq	%rax, %r14
	movq	%r14, %rcx
LBB0_13:
	shlq	$2, %rax
	addq	32(%rbx), %rax
	movq	8(%rbx), %rdx
	movq	40(%rbx), %rsi
	leaq	1(%rdx), %rdi
	movq	%rdi, 8(%rbx)
	movq	%rax, (%rsi,%rdx,8)
	movq	%rcx, 24(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pintr_disabled,4,2             ## @pintr_disabled
	.comm	_TW_INCR,8,3                    ## @TW_INCR
	.no_dead_strip	_tw_str_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tw_str_add
_tw_str_add:                            ; @tw_str_add
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldp	x8, x9, [x0]
Lloh0:
	adrp	x22, _pintr_disabled@GOTPAGE
Lloh1:
	ldr	x22, [x22, _pintr_disabled@GOTPAGEOFF]
Lloh2:
	adrp	x23, _TW_INCR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _TW_INCR@GOTPAGEOFF]
	cmp	x8, x9
	b.hi	LBB0_2
; %bb.1:
	ldr	w9, [x22]
	add	w9, w9, #1
	str	w9, [x22]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x19]
	ldr	x0, [x19, #40]
	lsl	w1, w8, #3
	bl	_xrealloc
	str	x0, [x19, #40]
	mov	x0, x22
	bl	_disabled_cleanup
LBB0_2:
	ldp	x10, x9, [x19, #16]
	add	x8, x9, x20
	cmp	x10, x8
	b.hi	LBB0_10
; %bb.3:
	ldr	x21, [x19, #32]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	ldr	x8, [x23]
	add	x9, x10, x20
	add	x8, x9, x8
	str	x8, [x19, #16]
	lsl	w1, w8, #2
	mov	x0, x21
	bl	_xrealloc
	str	x0, [x19, #32]
	cbz	x21, LBB0_9
; %bb.4:
	cmp	x21, x0
	b.eq	LBB0_9
; %bb.5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	x9, [x19, #40]
	ldr	x10, [x9]
	sub	x10, x10, x21
	add	x10, x0, x10
	str	x10, [x9]
	cmp	x8, #1
	b.eq	LBB0_9
; %bb.7:
	mov	w9, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x10, x11, [x19, #32]
	lsl	x12, x9, #3
	ldr	x13, [x11, x12]
	sub	x13, x13, x21
	add	x10, x10, x13
	str	x10, [x11, x12]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_9:
Lloh4:
	adrp	x0, _pintr_disabled@GOTPAGE
Lloh5:
	ldr	x0, [x0, _pintr_disabled@GOTPAGEOFF]
	bl	_disabled_cleanup
	ldr	x9, [x19, #24]
	add	x8, x9, x20
LBB0_10:
	ldp	x10, x11, [x19, #32]
	add	x0, x10, x9, lsl #2
	ldr	x9, [x19, #8]
	add	x10, x9, #1
	str	x10, [x19, #8]
	str	x0, [x11, x9, lsl #3]
	str	x8, [x19, #24]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pintr_disabled,4,2             ; @pintr_disabled
	.comm	_TW_INCR,8,3                    ; @TW_INCR
	.no_dead_strip	_tw_str_add
.subsections_via_symbols
