	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_text_style_cb
_mov_text_style_cb:                     ## @mov_text_style_cb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testl	%edx, %edx
	je	LBB0_1
## %bb.18:
	cmpq	$0, 16(%rbx)
	je	LBB0_31
## %bb.19:
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_AV_RB16
	movq	16(%rbx), %rdx
	movq	%rax, 16(%rdx)
	leaq	24(%rbx), %r12
	leaq	4(%rbx), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_av_dynarray_add
	movl	$24, %edi
	callq	_av_malloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.20:
	movq	(%r12), %rcx
	movslq	(%r13), %rdx
	movq	-8(%rcx,%rdx,8), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	movsbl	%r14b, %edx
	cmpl	$98, %edx
	je	LBB0_21
## %bb.22:
	cmpl	$117, %edx
	je	LBB0_25
## %bb.23:
	cmpl	$105, %edx
	jne	LBB0_27
## %bb.24:
	movq	_STYLE_FLAG_ITALIC@GOTPCREL(%rip), %rdx
	jmp	LBB0_26
LBB0_1:
	movq	_STYL_BOX@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.5:
	leaq	16(%rbx), %r12
	movq	16(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_10
## %bb.6:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_AV_RB16
	movq	16(%rbx), %rdx
	movq	%rax, 16(%rdx)
	leaq	24(%rbx), %r12
	leaq	4(%rbx), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_av_dynarray_add
	movl	$24, %edi
	callq	_av_malloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	(%r12), %rcx
	movslq	(%r13), %rdx
	movq	-8(%rcx,%rdx,8), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_31:
	movl	36(%rbx), %edi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_log                         ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	callq	_mov_text_cleanup
	leaq	32(%rbx), %rdi
	callq	_av_bprint_clear
	movq	_STYL_BOX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_2:
	movl	$24, %edi
	callq	_av_malloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	leaq	16(%rbx), %r12
LBB0_10:
	movq	$0, 8(%rax)
	leaq	8(%rbx), %r15
LBB0_11:
	movq	%r15, %rdi
	callq	_AV_RB16
	movq	(%r12), %rcx
	movq	%rax, (%rcx)
	movsbl	%r14b, %eax
	cmpl	$117, %eax
	je	LBB0_17
## %bb.12:
	cmpl	$105, %eax
	je	LBB0_16
## %bb.13:
	cmpl	$98, %eax
	jne	LBB0_29
## %bb.14:
	movq	_STYLE_FLAG_BOLD@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_17:
	movq	_STYLE_FLAG_UNDERLINE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_16:
	movq	_STYLE_FLAG_ITALIC@GOTPCREL(%rip), %rax
LBB0_15:
	movq	(%rax), %rax
	orq	%rax, 8(%rcx)
	jmp	LBB0_29
LBB0_21:
	movq	_STYLE_FLAG_BOLD@GOTPCREL(%rip), %rdx
	jmp	LBB0_26
LBB0_25:
	movq	_STYLE_FLAG_UNDERLINE@GOTPCREL(%rip), %rdx
LBB0_26:
	movq	(%rdx), %rdx
	notq	%rdx
	andq	%rdx, %rcx
	movq	%rcx, 8(%rax)
LBB0_27:
	testq	%rcx, %rcx
	je	LBB0_29
## %bb.28:
	movq	%r15, %rdi
	callq	_AV_RB16
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
LBB0_29:
	movq	_STYL_BOX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_30
LBB0_3:
	leaq	32(%rbx), %rdi
	callq	_av_bprint_clear
	movl	(%r15), %eax
LBB0_4:
	notl	%eax
	andl	%eax, (%rbx)
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STYL_BOX,4,2                   ## @STYL_BOX
	.comm	_STYLE_FLAG_BOLD,8,3            ## @STYLE_FLAG_BOLD
	.comm	_STYLE_FLAG_ITALIC,8,3          ## @STYLE_FLAG_ITALIC
	.comm	_STYLE_FLAG_UNDERLINE,8,3       ## @STYLE_FLAG_UNDERLINE
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignoring unmatched close tag\n"

	.no_dead_strip	_mov_text_style_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_text_style_cb
_mov_text_style_cb:                     ; @mov_text_style_cb
	.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
	mov	x20, x1
	mov	x19, x0
	cbz	w2, LBB0_7
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_11
; %bb.2:
	add	x21, x19, #8
	mov	x0, x21
	bl	_AV_RB16
	ldr	x2, [x19, #16]
	str	x0, [x2, #16]
	add	x22, x19, #24
	add	x23, x19, #4
	mov	x0, x22
	mov	x1, x23
	bl	_av_dynarray_add
	mov	w0, #24
	bl	_av_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_12
; %bb.3:
	ldr	x8, [x22]
	ldrsw	x9, [x23]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	ldr	x8, [x8]
	str	x8, [x0, #8]
	cmp	w20, #98
	b.eq	LBB0_24
; %bb.4:
	cmp	w20, #117
	b.eq	LBB0_25
; %bb.5:
	cmp	w20, #105
	b.ne	LBB0_27
; %bb.6:
Lloh0:
	adrp	x9, _STYLE_FLAG_ITALIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STYLE_FLAG_ITALIC@GOTPAGEOFF]
	b	LBB0_26
LBB0_7:
	ldr	w8, [x19]
Lloh2:
	adrp	x25, _STYL_BOX@GOTPAGE
Lloh3:
	ldr	x25, [x25, _STYL_BOX@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.8:
	mov	x24, x19
	ldr	x8, [x24, #16]!
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_15
; %bb.9:
	add	x21, x19, #8
	mov	x0, x21
	bl	_AV_RB16
	ldr	x2, [x19, #16]
	str	x0, [x2, #16]
	add	x22, x19, #24
	add	x23, x19, #4
	mov	x0, x22
	mov	x1, x23
	bl	_av_dynarray_add
	mov	w0, #24
	bl	_av_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_30
; %bb.10:
	ldr	x8, [x22]
	ldrsw	x9, [x23]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	ldr	x8, [x8]
	str	x8, [x0, #8]
	b	LBB0_17
LBB0_11:
	ldr	w0, [x19, #36]
Lloh4:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	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
	b	_av_log
LBB0_12:
	mov	x0, x19
	bl	_mov_text_cleanup
	add	x0, x19, #32
	bl	_av_bprint_clear
Lloh9:
	adrp	x8, _STYL_BOX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STYL_BOX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	b	LBB0_32
LBB0_13:
	mov	w0, #24
	bl	_av_malloc
	mov	x24, x19
	str	x0, [x24, #16]!
	cbz	x0, LBB0_31
; %bb.14:
	str	xzr, [x0, #8]
	b	LBB0_16
LBB0_15:
	str	xzr, [x8, #8]
LBB0_16:
	add	x21, x19, #8
LBB0_17:
	mov	x0, x21
	bl	_AV_RB16
	ldr	x8, [x24]
	str	x0, [x8]
	cmp	w20, #117
	b.eq	LBB0_21
; %bb.18:
	cmp	w20, #105
	b.eq	LBB0_22
; %bb.19:
	cmp	w20, #98
	b.ne	LBB0_29
; %bb.20:
Lloh12:
	adrp	x9, _STYLE_FLAG_BOLD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _STYLE_FLAG_BOLD@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
Lloh14:
	adrp	x9, _STYLE_FLAG_UNDERLINE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _STYLE_FLAG_UNDERLINE@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh16:
	adrp	x9, _STYLE_FLAG_ITALIC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _STYLE_FLAG_ITALIC@GOTPAGEOFF]
LBB0_23:
	ldr	x9, [x9]
	ldr	x10, [x8, #8]
	orr	x9, x10, x9
	str	x9, [x8, #8]
	b	LBB0_29
LBB0_24:
Lloh18:
	adrp	x9, _STYLE_FLAG_BOLD@GOTPAGE
Lloh19:
	ldr	x9, [x9, _STYLE_FLAG_BOLD@GOTPAGEOFF]
	b	LBB0_26
LBB0_25:
Lloh20:
	adrp	x9, _STYLE_FLAG_UNDERLINE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _STYLE_FLAG_UNDERLINE@GOTPAGEOFF]
LBB0_26:
	ldr	x9, [x9]
	bic	x8, x8, x9
	str	x8, [x0, #8]
LBB0_27:
	cbz	x8, LBB0_29
; %bb.28:
	mov	x0, x21
	bl	_AV_RB16
	ldr	x8, [x19, #16]
	str	x0, [x8]
LBB0_29:
Lloh22:
	adrp	x8, _STYL_BOX@GOTPAGE
Lloh23:
	ldr	x8, [x8, _STYL_BOX@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_33
LBB0_30:
	mov	x0, x19
	bl	_mov_text_cleanup
LBB0_31:
	add	x0, x19, #32
	bl	_av_bprint_clear
	ldr	w8, [x25]
LBB0_32:
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_33:
	str	w8, [x19]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_STYL_BOX,4,2                   ; @STYL_BOX
	.comm	_STYLE_FLAG_BOLD,8,3            ; @STYLE_FLAG_BOLD
	.comm	_STYLE_FLAG_ITALIC,8,3          ; @STYLE_FLAG_ITALIC
	.comm	_STYLE_FLAG_UNDERLINE,8,3       ; @STYLE_FLAG_UNDERLINE
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignoring unmatched close tag\n"

	.no_dead_strip	_mov_text_style_cb
.subsections_via_symbols
