	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txt_ai_resolve
_txt_ai_resolve:                        ## @txt_ai_resolve
	.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	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	$0, (%rdx)
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.1:
	movq	%rsi, %r15
	cmpq	$0, 32(%rsi)
	je	LBB0_2
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_24
## %bb.3:
	cmpq	%rcx, %rax
	jbe	LBB0_4
## %bb.5:
	movq	_O_TABSTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_O_VAL
	movq	(%r15), %r14
	testq	%r14, %r14
	je	LBB0_24
## %bb.6:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	24(%r15), %rbx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movl	$1, %eax
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	%rax, %r12
	incq	%rbx
	testq	%r14, %r14
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_isblank
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	decq	%r14
	cmpb	$9, (%rbx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	testq	%r13, %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, %ecx
	cmovneq	%rcx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_COL_OFF
	jmp	LBB0_11
LBB0_4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15)
	movq	$0, 16(%r15)
	jmp	LBB0_24
LBB0_12:
	testq	%r13, %r13
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_24
## %bb.13:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_15
## %bb.14:
	cmpq	%rsi, %r13
	jb	LBB0_24
LBB0_15:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_COL_OFF
	movl	$0, %r14d
	cmpq	%r12, %rax
	ja	LBB0_18
## %bb.16:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_COL_OFF
	addq	%rax, %r13
	incq	%r14
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_COL_OFF
	addq	%r13, %rax
	cmpq	%r12, %rax
	jbe	LBB0_17
LBB0_18:
	movq	%r12, %rdx
	subq	%r13, %rdx
	movq	%rbx, %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	subq	24(%r15), %rax
	leaq	(%rdx,%r14), %rcx
	cmpq	%rcx, %rax
	je	LBB0_24
## %bb.19:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %edx
	subl	%ecx, %edx
	movslq	%edx, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	subq	%rcx, %rdi
	movq	(%r15), %rdx
	subq	%rax, %rdx
	movq	%rbx, %rsi
	callq	_MEMMOVE
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	%rax, (%r15)
	subq	%rax, 16(%r15)
	movq	24(%r15), %rbx
	testq	%r14, %r14
	je	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	movl	$9, %esi
	movq	%r14, %rdx
	callq	_memset
	addq	%r14, %rbx
LBB0_21:
	cmpq	%r13, %r12
	je	LBB0_23
## %bb.22:
	movq	%rbx, %rdi
	movl	$32, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_memset
LBB0_23:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_O_TABSTOP,4,2                  ## @O_TABSTOP
	.no_dead_strip	_txt_ai_resolve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txt_ai_resolve
_txt_ai_resolve:                        ; @txt_ai_resolve
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	wzr, [x2]
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x20, x1
	ldr	x9, [x1, #32]
	cbz	x9, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_2
; %bb.4:
	cmp	x8, x9
	b.ls	LBB0_12
; %bb.5:
	mov	x19, x2
Lloh0:
	adrp	x8, _O_TABSTOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_TABSTOP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_O_VAL
	ldr	x26, [x20]
	cbz	x26, LBB0_2
; %bb.6:
	mov	x23, x0
	mov	x25, #0
	mov	x24, #0
	mov	x21, #0
	ldr	x22, [x20, #24]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x24, x24, #1
	mov	w0, #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x0, x21
	add	x22, x22, #1
	cbz	x26, LBB0_13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x22]
	bl	_isblank
	cbz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	x26, x26, #1
	ldrb	w8, [x22]
	cmp	w8, #9
	b.ne	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x24, #0
	csinc	x25, x25, xzr, eq
	mov	x0, x21
	mov	x1, x23
	bl	_COL_OFF
	b	LBB0_8
LBB0_12:
	stp	xzr, xzr, [x20]
	str	xzr, [x20, #16]
	b	LBB0_2
LBB0_13:
	cbz	x24, LBB0_2
; %bb.14:
	cbnz	x25, LBB0_16
; %bb.15:
	cmp	x24, x23
	b.lo	LBB0_2
LBB0_16:
	mov	x0, #0
	mov	x1, x23
	bl	_COL_OFF
	mov	x24, #0
	mov	x25, #0
	cmp	x0, x21
	b.hi	LBB0_19
; %bb.17:
	mov	x25, #0
	mov	x24, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_COL_OFF
	add	x24, x0, x24
	add	x25, x25, #1
	mov	x0, x24
	mov	x1, x23
	bl	_COL_OFF
	add	x8, x0, x24
	cmp	x8, x21
	b.ls	LBB0_18
LBB0_19:
	ldr	x8, [x20, #24]
	sub	x23, x21, x24
	add	x9, x23, x25
	sub	x8, x22, x8
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.20:
	sub	w9, w8, w9
	sxtw	x26, w9
	sub	x0, x22, x26
	ldr	x9, [x20]
	sub	x2, x9, x8
	mov	x1, x22
	bl	_MEMMOVE
	ldr	x8, [x20]
	sub	x8, x8, x26
	str	x8, [x20]
	ldp	x8, x22, [x20, #16]
	sub	x8, x8, x26
	str	x8, [x20, #16]
	cbz	x25, LBB0_22
; %bb.21:
	mov	x0, x22
	mov	w1, #9
	mov	x2, x25
	bl	_memset
	add	x22, x22, x25
LBB0_22:
	cmp	x21, x24
	b.eq	LBB0_24
; %bb.23:
	mov	x0, x22
	mov	w1, #32
	mov	x2, x23
	bl	_memset
LBB0_24:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_O_TABSTOP,4,2                  ; @O_TABSTOP
	.no_dead_strip	_txt_ai_resolve
.subsections_via_symbols
