	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_muxmp4_process_subtitle_style ## -- Begin function hb_muxmp4_process_subtitle_style
	.p2align	4, 0x90
_hb_muxmp4_process_subtitle_style:      ## @hb_muxmp4_process_subtitle_style
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	$0, -80(%rbp)
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	$0, (%rdx)
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	$0, (%rcx)
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movl	$0, (%r8)
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rdi
	callq	_ssa_style_reset
	movq	%rbx, %rdi
	movl	$9, %esi
	callq	_get_fields
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_hb_str_vlen
	cmpl	$9, %eax
	jl	LBB0_27
## %bb.1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rsi
	movq	64(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rdi
	callq	_ssa_style_set
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_hb_tx3g_style_reset
	leaq	-96(%rbp), %rdi
	movl	$1, %esi
	callq	_check_realloc_output
	testl	%eax, %eax
	je	LBB0_27
## %bb.2:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movslq	%r13d, %rdi
	movq	-128(%rbp), %rax                ## 8-byte Reload
	cmpb	$0, (%rax,%rdi)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_28
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%rax, %rdi
	movq	16(%rbx), %rdx
	leaq	-60(%rbp), %rsi
	callq	_ssa_to_text
	testq	%rax, %rax
	je	LBB0_28
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	movb	(%rax), %dl
	testb	%dl, %dl
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	%esi, %ecx
LBB0_24:                                ##   in Loop: Header=BB0_8 Depth=2
	addl	%ecx, %ebx
	movl	%ecx, %ecx
	addq	%rcx, %rax
	movzbl	(%r14,%rax), %edx
	incl	%r15d
	testb	%dl, %dl
	je	LBB0_25
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$1, %ecx
	movl	%eax, %eax
	testb	$-128, %dl
	je	LBB0_24
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movzbl	%dl, %esi
	movl	%esi, %edx
	andl	$-32, %edx
	cmpl	$192, %edx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	$2, %esi
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=2
	xorl	%edi, %edi
	cmpb	$0, 1(%rax,%r14)
	jne	LBB0_17
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	%esi, %edi
	andl	$-16, %edi
	cmpl	$224, %edi
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	$3, %esi
	movb	$1, %dil
	cmpb	$0, 1(%rax,%r14)
	je	LBB0_24
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=2
	cmpl	$192, %edx
	je	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$0, 2(%rax,%r14)
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_8 Depth=2
	testb	%dil, %dil
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$0, 3(%rax,%r14)
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	$3, %ecx
	jmp	LBB0_24
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=2
	andl	$-8, %esi
	cmpl	$240, %esi
	jne	LBB0_24
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	$4, %esi
	jmp	LBB0_15
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	$2, %ecx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	leal	(%rbx,%r12), %esi
	incl	%esi
	leaq	-96(%rbp), %rdi
	callq	_check_realloc_output
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	addl	%r12d, %ebx
	movl	%r12d, %edi
	addq	-96(%rbp), %rdi
	movq	%r14, %rsi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_free
	addl	-60(%rbp), %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_tx3g_update_style
	movl	%ebx, %r12d
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_27
LBB0_28:
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_tx3g_update_style
	testl	%eax, %eax
	je	LBB0_27
## %bb.29:
	movq	-96(%rbp), %rax
	movl	%r12d, %ecx
	movb	$0, (%rax,%rcx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_31
## %bb.30:
	leal	(%rax,%rax,2), %eax
	leal	10(,%rax,4), %eax
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movl	%eax, (%r14)
	movq	8(%rbx), %rdi
	addq	$16, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	8(%rbx), %rax
	movq	$0, (%rax)
	movzbl	1(%r14), %ecx
	movl	%ecx, 8(%rax)
	movzbl	(%r14), %ecx
	movl	%ecx, 12(%rax)
	movzbl	5(%rbx), %ecx
	movl	%ecx, 32(%rax)
	movzbl	4(%rbx), %ecx
	movl	%ecx, 36(%rax)
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_31:
	movq	-96(%rbp), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_str_vfree
	jmp	LBB0_32
LBB0_27:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_str_vfree
	movq	-96(%rbp), %rdi
	callq	_free
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	callq	_free
LBB0_32:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"styl"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_muxmp4_process_subtitle_style ; -- Begin function hb_muxmp4_process_subtitle_style
	.p2align	2
_hb_muxmp4_process_subtitle_style:      ; @hb_muxmp4_process_subtitle_style
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x4
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #32]
	str	xzr, [x2]
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	str	xzr, [x3]
	str	wzr, [x4]
	ldr	x0, [x0, #16]
	bl	_ssa_style_reset
	mov	x0, x23
	mov	w1, #9
	bl	_get_fields
	mov	x23, x0
	bl	_hb_str_vlen
	cmp	w0, #9
	b.lt	LBB0_30
; %bb.1:
	ldr	x1, [x23, #16]
	ldr	x26, [x23, #64]
	ldr	x0, [x19, #16]
	bl	_ssa_style_set
	ldr	x8, [x19, #16]
	str	w0, [x8]
	mov	x0, x19
	bl	_hb_tx3g_style_reset
	add	x0, sp, #16
	mov	w1, #1
	bl	_check_realloc_output
	cbz	w0, LBB0_30
; %bb.2:
	mov	w21, #0
	mov	w27, #0
	mov	w24, #0
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	add	x0, x26, w27, sxtw
	ldrb	w8, [x0]
	cbz	w8, LBB0_26
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x19, #16]
	add	x1, sp, #44
	bl	_ssa_to_text
	cbz	x0, LBB0_26
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	ldrb	w10, [x0]
	cbz	w10, LBB0_23
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #0
	mov	w8, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	w10, #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w8, w10, w8
	mov	w10, w10
	add	x9, x10, w9, uxtw
	ldrb	w10, [x25, x9]
	add	w24, w24, #1
	cbz	w10, LBB0_24
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tbz	w10, #7, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	and	w11, w10, #0xe0
	cmp	w11, #192
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w12, #0
	mov	w10, #2
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=2
	and	w12, w10, #0xf0
	cmp	w12, #224
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w10, #3
	mov	w12, #1
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	and	w10, w10, #0xf8
	cmp	w10, #240
	b.ne	LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w12, #0
	mov	w10, #4
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w13, w9
	add	x14, x13, x25
	ldrb	w14, [x14, #1]
	cbz	w14, LBB0_7
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	w11, #192
	b.eq	LBB0_8
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x11, x13, x25
	ldrb	w11, [x11, #2]
	cbz	w11, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=2
	tbnz	w12, #0, LBB0_8
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x11, x13, x25
	ldrb	w11, [x11, #3]
	cbnz	w11, LBB0_8
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w10, #3
	b	LBB0_8
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w10, #2
	b	LBB0_8
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #0
LBB0_24:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w28, w8, w21
	add	w1, w28, #1
	add	x0, sp, #16
	bl	_check_realloc_output
	cbz	w0, LBB0_30
; %bb.25:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	add	x0, x8, w21, uxtw
	mov	x1, x25
	bl	_strcpy
	mov	x0, x25
	bl	_free
	ldr	w8, [sp, #44]
	add	w27, w8, w27
	mov	x0, x19
	mov	x1, x24
	bl	_tx3g_update_style
	mov	x21, x28
	cbnz	w0, LBB0_3
	b	LBB0_30
LBB0_26:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x24
	bl	_tx3g_update_style
	cbz	w0, LBB0_30
; %bb.27:
	ldr	x8, [sp, #16]
	strb	wzr, [x8, w21, uxtw]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.28:
	mov	w9, #12
	mul	w8, w8, w9
	add	w8, w8, #10
	str	w8, [x22]
	ldr	x8, [x19, #8]
	add	x0, x8, #16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	ldrb	w9, [x22, #1]
	str	w9, [x8, #8]
	ldrb	w9, [x22]
	str	w9, [x8, #12]
	ldrb	w9, [x19, #5]
	str	w9, [x8, #32]
	ldrb	w9, [x19, #4]
	str	w9, [x8, #36]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	x8, [x9]
LBB0_29:
	ldr	x8, [sp, #16]
	str	x8, [x20]
	mov	x0, x23
	bl	_hb_str_vfree
	b	LBB0_31
LBB0_30:
	mov	x0, x23
	bl	_hb_str_vfree
	ldr	x0, [sp, #16]
	bl	_free
	ldr	x0, [x19, #8]
	bl	_free
LBB0_31:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"styl"

.subsections_via_symbols
