	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_styl
_decode_styl:                           ## @decode_styl
	.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
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_AV_RB16
	movq	(%r14), %rcx
	movq	%rax, %rdx
	shlq	$34, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	sarq	$32, %rdx
	addq	8(%r14), %rcx
	addq	%rcx, %rdx
	addq	$2, %rdx
	movl	$-1, %ecx
	cmpq	(%r15), %rdx
	jg	LBB0_12
## %bb.1:
	movl	%eax, 16(%r14)
	movq	_STYL_BOX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%r14)
	testl	%eax, %eax
	jle	LBB0_11
## %bb.2:
	addq	$8, %rbx
	leaq	32(%r14), %r15
	leaq	20(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	24(%r14), %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$40, %edi
	callq	_av_malloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_AV_RB16
	movq	(%r15), %rcx
	movq	%rax, 24(%rcx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_AV_RB16
	movq	(%r15), %rcx
	movq	%rax, 32(%rcx)
	movq	24(%rcx), %rcx
	cmpq	%rcx, %rax
	jb	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdx
	movq	-8(%rdx,%rax,8), %rax
	cmpq	(%rax), %rcx
	jb	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	8(%rbx), %rdi
	callq	_AV_RB16
	movq	(%r15), %rcx
	movq	%rax, 16(%rcx)
	leaq	16(%rbx), %rdi
	callq	_AV_RB8
	movq	(%r15), %rcx
	movq	%rax, 8(%rcx)
	addq	$20, %rbx
	movq	%rbx, %rdi
	callq	_AV_RB8
	movq	(%r15), %rdx
	movq	%rax, (%rdx)
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_av_dynarray_add
	cmpq	$0, (%r13)
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	addq	$20, %rbx
	cmpl	16(%r14), %r12d
	jl	LBB0_3
LBB0_11:
	xorl	%ecx, %ecx
LBB0_12:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	callq	_av_freep
LBB0_8:
	movq	%r14, %rdi
	callq	_mov_text_cleanup
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STYL_BOX,4,2                   ## @STYL_BOX
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_decode_styl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_styl
_decode_styl:                           ; @decode_styl
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_AV_RB16
	ldp	x8, x9, [x19]
	add	w10, w0, w0, lsl #1
	lsl	x10, x10, #34
	add	x8, x8, x9
	add	x8, x8, x10, asr #32
	add	x8, x8, #2
	ldr	x9, [x21]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_11
LBB0_2:
Lloh0:
	adrp	x8, _STYL_BOX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STYL_BOX@GOTPAGEOFF]
	str	w0, [x19, #16]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.3:
	mov	w24, #0
	add	x23, x20, #8
	add	x20, x19, #32
	add	x21, x19, #20
	add	x22, x19, #24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #40
	bl	_av_malloc
	str	x0, [x20]
	cbz	x0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_AV_RB16
	ldr	x8, [x20]
	str	x0, [x8, #24]
	add	x23, x23, #8
	mov	x0, x23
	bl	_AV_RB16
	ldr	x8, [x20]
	str	x0, [x8, #32]
	ldr	x8, [x8, #24]
	cmp	x0, x8
	b.lo	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x21]
	cbz	w9, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x22]
	sub	w9, w9, #1
	ldr	x9, [x10, w9, sxtw #3]
	ldr	x9, [x9]
	cmp	x8, x9
	b.lo	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x23, #8
	bl	_AV_RB16
	ldr	x8, [x20]
	str	x0, [x8, #16]
	add	x0, x23, #16
	bl	_AV_RB8
	ldr	x8, [x20]
	str	x0, [x8, #8]
	add	x23, x23, #20
	mov	x0, x23
	bl	_AV_RB8
	ldr	x2, [x20]
	str	x0, [x2]
	mov	x0, x22
	mov	x1, x21
	bl	_av_dynarray_add
	ldr	x8, [x22]
	cbz	x8, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #1
	ldr	w8, [x19, #16]
	add	x23, x23, #20
	cmp	w24, w8
	b.lt	LBB0_4
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
LBB0_12:
	mov	x0, x20
	bl	_av_freep
LBB0_13:
	mov	x0, x19
	bl	_mov_text_cleanup
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_STYL_BOX,4,2                   ; @STYL_BOX
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_decode_styl
.subsections_via_symbols
