	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_text_tx3g
_mov_text_tx3g:                         ## @mov_text_tx3g
	.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	8(%rdi), %rbx
	movq	$0, 72(%rsi)
	movl	$0, (%rsi)
	movq	_BOX_SIZE_INITIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	$-1, %eax
	cmpl	%r13d, (%rdi)
	jl	LBB0_30
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	24(%rbx), %rdi
	movl	16(%rbx), %ecx
	movl	20(%rbx), %eax
	cmpl	$-1, %ecx
	je	LBB0_6
## %bb.2:
	cmpl	$1, %ecx
	je	LBB0_8
## %bb.3:
	testl	%ecx, %ecx
	jne	LBB0_11
## %bb.4:
	incl	%eax
	cmpl	$3, %eax
	jae	LBB0_11
## %bb.5:
	cltq
	leaq	l_switch.table.mov_text_tx3g(%rip), %rcx
	jmp	LBB0_10
LBB0_6:
	incl	%eax
	cmpl	$3, %eax
	jae	LBB0_11
## %bb.7:
	cltq
	leaq	l_switch.table.mov_text_tx3g.2(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	incl	%eax
	cmpl	$3, %eax
	jae	LBB0_11
## %bb.9:
	cltq
	leaq	l_switch.table.mov_text_tx3g.1(%rip), %rcx
LBB0_10:
	leaq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
LBB0_11:
	callq	_AV_RB24
	movq	%rax, 48(%r15)
	leaq	88(%rbx), %rdi
	callq	_AV_RB16
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	96(%rbx), %eax
	movq	_STYLE_FLAG_BOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, 16(%r15)
	movq	_STYLE_FLAG_ITALIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, 20(%r15)
	movq	_STYLE_FLAG_UNDERLINE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 24(%r15)
	leaq	104(%rbx), %rdi
	movl	100(%rbx), %eax
	movl	%eax, 40(%r15)
	callq	_AV_RB24
	movq	%rax, 32(%r15)
	leaq	152(%rbx), %rdi
	callq	_AV_RB16
	movl	%eax, (%r15)
	testl	%eax, %eax
	jle	LBB0_29
## %bb.12:
	leaq	72(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	addq	$160, %rbx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	addl	$3, %r13d
	cmpl	%r13d, (%r14)
	jl	LBB0_27
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$16, %edi
	callq	_av_mallocz
	movq	%rax, 64(%r12)
	testq	%rax, %rax
	je	LBB0_26
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	callq	_AV_RB16
	movq	64(%r12), %rcx
	movq	%rax, 8(%rcx)
	movq	%r14, %rax
	movslq	8(%rbx), %r14
	addl	%r14d, %r13d
	cmpl	%r13d, (%rax)
	jl	LBB0_28
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	leal	1(%r14), %edi
	callq	_av_malloc
	movq	64(%r12), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_26
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	addq	$12, %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	64(%r12), %rax
	movq	(%rax), %rax
	movb	$0, (%rax,%r14)
	movq	64(%r12), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_av_dynarray_add
	cmpq	$0, 8(%r12)
	je	LBB0_26
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	$0, 64(%r12)
	leaq	(%rbx,%r14,4), %rbx
	incl	%r15d
	movl	(%r12), %esi
	cmpl	%esi, %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jl	LBB0_13
## %bb.19:
	testl	%esi, %esi
	jle	LBB0_29
## %bb.20:
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	8(%r8), %rcx
	xorl	%eax, %eax
	cmpl	$1, %esi
	jne	LBB0_31
## %bb.21:
	xorl	%edx, %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_22:
	testb	$1, %sil
	je	LBB0_30
## %bb.23:
	movq	(%rcx,%rdx,8), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_30
## %bb.24:
	movl	4(%rcx), %ecx
	movl	%ecx, 28(%r8)
	jmp	LBB0_30
LBB0_29:
	xorl	%eax, %eax
	jmp	LBB0_30
LBB0_26:
	movq	%r12, %rdi
	callq	_mov_text_cleanup_ftab
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_27:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_mov_text_cleanup_ftab
	movl	$0, (%rbx)
	movl	$-1, %eax
	jmp	LBB0_30
LBB0_28:
	movq	%r12, %rdi
	callq	_mov_text_cleanup_ftab
	movl	$0, (%r12)
	movl	$-1, %eax
LBB0_30:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movl	%esi, %r9d
	andl	$-2, %r9d
	xorl	%edx, %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_33 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %r9
	je	LBB0_22
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rdi
	cmpl	%ebx, (%rdi)
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	4(%rdi), %edi
	movl	%edi, 28(%r8)
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	8(%rcx,%rdx,8), %rdi
	cmpl	%ebx, (%rdi)
	jne	LBB0_32
## %bb.36:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	4(%rdi), %edi
	movl	%edi, 28(%r8)
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_BOX_SIZE_INITIAL,4,2           ## @BOX_SIZE_INITIAL
	.comm	_TOP_LEFT,4,2                   ## @TOP_LEFT
	.comm	_MIDDLE_LEFT,4,2                ## @MIDDLE_LEFT
	.comm	_BOTTOM_LEFT,4,2                ## @BOTTOM_LEFT
	.comm	_TOP_CENTER,4,2                 ## @TOP_CENTER
	.comm	_MIDDLE_CENTER,4,2              ## @MIDDLE_CENTER
	.comm	_BOTTOM_CENTER,4,2              ## @BOTTOM_CENTER
	.comm	_TOP_RIGHT,4,2                  ## @TOP_RIGHT
	.comm	_MIDDLE_RIGHT,4,2               ## @MIDDLE_RIGHT
	.comm	_BOTTOM_RIGHT,4,2               ## @BOTTOM_RIGHT
	.comm	_STYLE_FLAG_BOLD,4,2            ## @STYLE_FLAG_BOLD
	.comm	_STYLE_FLAG_ITALIC,4,2          ## @STYLE_FLAG_ITALIC
	.comm	_STYLE_FLAG_UNDERLINE,4,2       ## @STYLE_FLAG_UNDERLINE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_mov_text_tx3g
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.mov_text_tx3g
l_switch.table.mov_text_tx3g:
	.quad	_BOTTOM_LEFT
	.quad	_TOP_LEFT
	.quad	_MIDDLE_LEFT

	.p2align	3                               ## @switch.table.mov_text_tx3g.1
l_switch.table.mov_text_tx3g.1:
	.quad	_BOTTOM_CENTER
	.quad	_TOP_CENTER
	.quad	_MIDDLE_CENTER

	.p2align	3                               ## @switch.table.mov_text_tx3g.2
l_switch.table.mov_text_tx3g.2:
	.quad	_BOTTOM_RIGHT
	.quad	_TOP_RIGHT
	.quad	_MIDDLE_RIGHT

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_text_tx3g
_mov_text_tx3g:                         ; @mov_text_tx3g
	.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
	ldr	x23, [x0, #8]
	mov	x21, x1
	str	xzr, [x21, #72]!
	str	wzr, [x1]
Lloh0:
	adrp	x8, _BOX_SIZE_INITIAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BOX_SIZE_INITIAL@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
	ldr	w8, [x0]
	cmp	w8, w26
	b.ge	LBB0_2
LBB0_1:
	mov	w0, #-1
	b	LBB0_25
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	add	x0, x23, #24
	ldp	w9, w8, [x23, #16]
	cmn	w9, #1
	b.eq	LBB0_6
; %bb.3:
	cmp	w9, #1
	b.eq	LBB0_8
; %bb.4:
	cmp	w9, #0
	add	w8, w8, #1
	ccmp	w8, #3, #2, eq
	b.hs	LBB0_11
; %bb.5:
Lloh3:
	adrp	x9, l_switch.table.mov_text_tx3g@PAGE
Lloh4:
	add	x9, x9, l_switch.table.mov_text_tx3g@PAGEOFF
	b	LBB0_10
LBB0_6:
	add	w8, w8, #1
	cmp	w8, #2
	b.hi	LBB0_11
; %bb.7:
Lloh5:
	adrp	x9, l_switch.table.mov_text_tx3g.2@PAGE
Lloh6:
	add	x9, x9, l_switch.table.mov_text_tx3g.2@PAGEOFF
	b	LBB0_10
LBB0_8:
	add	w8, w8, #1
	cmp	w8, #3
	b.hs	LBB0_11
; %bb.9:
Lloh7:
	adrp	x9, l_switch.table.mov_text_tx3g.1@PAGE
Lloh8:
	add	x9, x9, l_switch.table.mov_text_tx3g.1@PAGEOFF
LBB0_10:
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w8, [x8]
	str	w8, [x19, #56]
LBB0_11:
	bl	_AV_RB24
	str	x0, [x19, #48]
	add	x0, x23, #88
	bl	_AV_RB16
	mov	x22, x0
	ldr	w8, [x23, #96]
Lloh9:
	adrp	x9, _STYLE_FLAG_BOLD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _STYLE_FLAG_BOLD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh12:
	adrp	x10, _STYLE_FLAG_ITALIC@GOTPAGE
Lloh13:
	ldr	x10, [x10, _STYLE_FLAG_ITALIC@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	and	w10, w10, w8
	stp	w9, w10, [x19, #16]
Lloh15:
	adrp	x9, _STYLE_FLAG_UNDERLINE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _STYLE_FLAG_UNDERLINE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #24]
	add	x0, x23, #104
	ldr	w8, [x23, #100]
	str	w8, [x19, #40]
	bl	_AV_RB24
	str	x0, [x19, #32]
	add	x0, x23, #152
	bl	_AV_RB16
	str	w0, [x19]
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.12:
	mov	w27, #0
	add	x24, x23, #160
	add	x23, x19, #8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	w26, w26, #3
	ldr	w8, [x20]
	cmp	w8, w26
	b.lt	LBB0_27
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #16
	bl	_av_mallocz
	str	x0, [x19, #64]
	cbz	x0, LBB0_26
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	bl	_AV_RB16
	ldr	x8, [x19, #64]
	str	x0, [x8, #8]
	ldrsw	x25, [x24, #8]
	ldr	w8, [x20]
	add	w26, w25, w26
	cmp	w8, w26
	b.lt	LBB0_27
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	add	w0, w25, #1
	bl	_av_malloc
	ldr	x8, [x19, #64]
	str	x0, [x8]
	cbz	x0, LBB0_26
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x24, #12
	mov	x1, x24
	mov	x2, x25
	bl	_memcpy
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
	strb	wzr, [x8, x25]
	ldr	x2, [x19, #64]
	mov	x0, x23
	mov	x1, x21
	bl	_av_dynarray_add
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	str	xzr, [x19, #64]
	add	x24, x24, x25, lsl #2
	add	w27, w27, #1
	ldr	w8, [x19]
	cmp	w27, w8
	b.lt	LBB0_13
; %bb.19:
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.20:
	ldr	x9, [x19, #8]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_24
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	ldr	w11, [x10]
	cmp	w11, w22
	b.ne	LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w10, [x10, #4]
	str	w10, [x19, #28]
	b	LBB0_21
LBB0_24:
	mov	w0, #0
LBB0_25:
	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
LBB0_26:
	mov	x0, x19
	bl	_mov_text_cleanup_ftab
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	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
	b	_AVERROR
LBB0_27:
	mov	x0, x19
	bl	_mov_text_cleanup_ftab
	str	wzr, [x19]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BOX_SIZE_INITIAL,4,2           ; @BOX_SIZE_INITIAL
	.comm	_TOP_LEFT,4,2                   ; @TOP_LEFT
	.comm	_MIDDLE_LEFT,4,2                ; @MIDDLE_LEFT
	.comm	_BOTTOM_LEFT,4,2                ; @BOTTOM_LEFT
	.comm	_TOP_CENTER,4,2                 ; @TOP_CENTER
	.comm	_MIDDLE_CENTER,4,2              ; @MIDDLE_CENTER
	.comm	_BOTTOM_CENTER,4,2              ; @BOTTOM_CENTER
	.comm	_TOP_RIGHT,4,2                  ; @TOP_RIGHT
	.comm	_MIDDLE_RIGHT,4,2               ; @MIDDLE_RIGHT
	.comm	_BOTTOM_RIGHT,4,2               ; @BOTTOM_RIGHT
	.comm	_STYLE_FLAG_BOLD,4,2            ; @STYLE_FLAG_BOLD
	.comm	_STYLE_FLAG_ITALIC,4,2          ; @STYLE_FLAG_ITALIC
	.comm	_STYLE_FLAG_UNDERLINE,4,2       ; @STYLE_FLAG_UNDERLINE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_mov_text_tx3g
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mov_text_tx3g
l_switch.table.mov_text_tx3g:
	.quad	_BOTTOM_LEFT
	.quad	_TOP_LEFT
	.quad	_MIDDLE_LEFT

	.p2align	3                               ; @switch.table.mov_text_tx3g.1
l_switch.table.mov_text_tx3g.1:
	.quad	_BOTTOM_CENTER
	.quad	_TOP_CENTER
	.quad	_MIDDLE_CENTER

	.p2align	3                               ; @switch.table.mov_text_tx3g.2
l_switch.table.mov_text_tx3g.2:
	.quad	_BOTTOM_RIGHT
	.quad	_TOP_RIGHT
	.quad	_MIDDLE_RIGHT

.subsections_via_symbols
