	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_get_preview_json            ## -- Begin function hb_get_preview_json
	.p2align	4, 0x90
_hb_get_preview_json:                   ## @hb_get_preview_json
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, -176(%rbp)                ## 8-byte Spill
	movl	$0, -68(%rbp)
	leaq	-168(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_hb_value_json
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movq	%rax, -64(%rbp)
	leaq	-116(%rbp), %rdi
	callq	_unpack_i
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	leaq	-112(%rbp), %rdi
	callq	_unpack_i
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-68(%rbp), %rdi
	callq	_unpack_b
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	-136(%rbp), %rdi
	callq	_unpack_i
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	-132(%rbp), %rdi
	callq	_unpack_i
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	-128(%rbp), %rdi
	callq	_unpack_i
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-124(%rbp), %rdi
	callq	_unpack_i
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_unpack_i
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	leaq	-164(%rbp), %rdi
	callq	_unpack_i
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	leaq	-160(%rbp), %rdi
	callq	_unpack_b
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	leaq	-156(%rbp), %rdi
	callq	_unpack_i
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	leaq	-152(%rbp), %rdi
	callq	_unpack_i
	movl	%eax, %ebx
	leaq	-148(%rbp), %rdi
	callq	_unpack_i
	movl	%eax, %r15d
	movq	-144(%rbp), %rdi
	callq	_unpack_i
	movl	%eax, %r12d
	movq	-144(%rbp), %rdi
	addq	$4, %rdi
	callq	_unpack_i
	movl	%eax, %r13d
	movq	-144(%rbp), %rdi
	addq	$8, %rdi
	callq	_unpack_i
	movl	%eax, %r14d
	movq	-144(%rbp), %rdi
	addq	$12, %rdi
	callq	_unpack_i
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.17(%rip), %r11
	leaq	L_.str.7(%rip), %r10
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	leaq	-48(%rbp), %rsi
	movq	-224(%rbp), %rdi                ## 8-byte Reload
	movl	-108(%rbp), %r9d                ## 4-byte Reload
	movl	$0, %edx
	pushq	%rax
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%r11
	pushq	%r15
	movq	%r10, %r15
	leaq	L_.str.16(%rip), %rax
	pushq	%rax
	pushq	%rbx
	leaq	L_.str.15(%rip), %rax
	pushq	%rax
	pushq	-184(%rbp)                      ## 8-byte Folded Reload
	leaq	L_.str.14(%rip), %rax
	pushq	%rax
	pushq	-192(%rbp)                      ## 8-byte Folded Reload
	leaq	L_.str.13(%rip), %rax
	pushq	%rax
	pushq	-200(%rbp)                      ## 8-byte Folded Reload
	leaq	L_.str.12(%rip), %rax
	pushq	%rax
	pushq	-208(%rbp)                      ## 8-byte Folded Reload
	leaq	L_.str.11(%rip), %rax
	pushq	%rax
	pushq	-216(%rbp)                      ## 8-byte Folded Reload
	leaq	L_.str.10(%rip), %rax
	pushq	%rax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	leaq	L_.str.9(%rip), %rax
	pushq	%rax
	leaq	L_.str.8(%rip), %rax
	pushq	%rax
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	leaq	L_.str.6(%rip), %rax
	pushq	%rax
	leaq	L_.str.5(%rip), %rax
	pushq	%rax
	leaq	L_.str.4(%rip), %rax
	pushq	%rax
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	leaq	L_.str.3(%rip), %rax
	pushq	%rax
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	leaq	L_.str.2(%rip), %rax
	pushq	%rax
	callq	_json_unpack_ex
	addq	$256, %rsp                      ## imm = 0x100
	movl	%eax, %ebx
	leaq	-64(%rbp), %rdi
	callq	_hb_value_free
	testl	%ebx, %ebx
	js	LBB0_9
## %bb.1:
	movl	-116(%rbp), %esi
	movl	-112(%rbp), %edx
	movl	-68(%rbp), %r8d
	leaq	-168(%rbp), %rcx
	movq	-176(%rbp), %rdi                ## 8-byte Reload
	callq	_hb_get_preview2
	movq	%rax, -232(%rbp)
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_hb_value_int
	movl	%eax, %r12d
	movl	4(%rbx), %edi
	callq	_hb_value_int
	movl	%eax, %r14d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	callq	_hb_value_int
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	L_.str.19(%rip), %rdx
	leaq	L_.str.20(%rip), %rcx
	leaq	L_.str.6(%rip), %r9
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	%r12d, %r8d
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r15
	pushq	%r14
	callq	_json_pack_ex
	addq	$32, %rsp
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	xorl	%eax, %eax
	callq	_hb_value_array_init
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$24, %r15
	cmpq	$96, %r15
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movl	16(%rax,%r15), %edi
	callq	_AV_BASE64_SIZE
	movq	16(%rbx), %r13
	movl	16(%r13,%r15), %r12d
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %rbx
	movl	20(%r13,%r15), %edx
	movq	%rax, %rdi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	callq	_av_base64_encode
	movq	%rbx, %rdi
	movq	%rbx, %r12
	callq	_strlen
	movl	%eax, %r13d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rax
	movl	(%rax,%r15), %edi
	callq	_hb_value_int
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	16(%rbx), %rax
	movl	4(%rax,%r15), %edi
	callq	_hb_value_int
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rax
	movl	8(%rax,%r15), %edi
	callq	_hb_value_int
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rax
	movl	12(%rax,%r15), %edi
	callq	_hb_value_int
	movl	%eax, %r14d
	movl	%r13d, %edi
	callq	_hb_value_int
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_hb_value_string
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	leaq	L_.str.22(%rip), %rdx
	leaq	L_.str.6(%rip), %rcx
	movl	-104(%rbp), %r8d                ## 4-byte Reload
	leaq	L_.str.7(%rip), %r9
	xorl	%eax, %eax
	pushq	%rbx
	leaq	L_.str.26(%rip), %rbx
	pushq	%rbx
	pushq	%r13
	leaq	L_.str.25(%rip), %rbx
	pushq	%rbx
	pushq	%r14
	leaq	L_.str.24(%rip), %rbx
	pushq	%rbx
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	leaq	L_.str.23(%rip), %rbx
	pushq	%rbx
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_json_pack_ex
	addq	$80, %rsp
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_hb_value_array_append
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_9:
	movl	-48(%rbp), %esi
	leaq	L_.str.18(%rip), %rdi
	jmp	LBB0_14
LBB0_11:
	movq	-64(%rbp), %rdi
	leaq	L_.str.28(%rip), %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_hb_dict_set
	leaq	-232(%rbp), %rdi
	callq	_hb_image_close
	movq	-64(%rbp), %rdi
	callq	_hb_value_get_json
	movq	%rax, %rbx
	leaq	-64(%rbp), %rdi
	callq	_hb_value_free
	jmp	LBB0_16
LBB0_12:
	movl	-48(%rbp), %esi
	leaq	L_.str.21(%rip), %rdi
	jmp	LBB0_14
LBB0_13:
	movl	-48(%rbp), %esi
	leaq	L_.str.27(%rip), %rdi
LBB0_14:
	callq	_hb_error
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	%rbx, %rax
	addq	$200, %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	"{s:i, s:i, s?b,s:{s:{s:i, s:i, s:{s:i, s:i}},s:i, s?i, s?b, s:i, s:i, s:i,s?[iiii]  }}"

L_.str.1:                               ## @.str.1
	.asciz	"Title"

L_.str.2:                               ## @.str.2
	.asciz	"Preview"

L_.str.3:                               ## @.str.3
	.asciz	"Deinterlace"

L_.str.4:                               ## @.str.4
	.asciz	"DestSettings"

L_.str.5:                               ## @.str.5
	.asciz	"Geometry"

L_.str.6:                               ## @.str.6
	.asciz	"Width"

L_.str.7:                               ## @.str.7
	.asciz	"Height"

L_.str.8:                               ## @.str.8
	.asciz	"PAR"

L_.str.9:                               ## @.str.9
	.asciz	"Num"

L_.str.10:                              ## @.str.10
	.asciz	"Den"

L_.str.11:                              ## @.str.11
	.asciz	"AnamorphicMode"

L_.str.12:                              ## @.str.12
	.asciz	"Keep"

L_.str.13:                              ## @.str.13
	.asciz	"ItuPAR"

L_.str.14:                              ## @.str.14
	.asciz	"Modulus"

L_.str.15:                              ## @.str.15
	.asciz	"MaxWidth"

L_.str.16:                              ## @.str.16
	.asciz	"MaxHeight"

L_.str.17:                              ## @.str.17
	.asciz	"Crop"

L_.str.18:                              ## @.str.18
	.asciz	"preview params: json unpack failure: %s"

L_.str.19:                              ## @.str.19
	.asciz	"{s:o, s:o, s:o}"

L_.str.20:                              ## @.str.20
	.asciz	"Format"

L_.str.21:                              ## @.str.21
	.asciz	"hb_get_preview_json: pack failure: %s"

L_.str.22:                              ## @.str.22
	.asciz	"{s:o, s:o, s:o, s:o, s:o, s:o}"

L_.str.23:                              ## @.str.23
	.asciz	"Stride"

L_.str.24:                              ## @.str.24
	.asciz	"HeightStride"

L_.str.25:                              ## @.str.25
	.asciz	"Size"

L_.str.26:                              ## @.str.26
	.asciz	"Data"

L_.str.27:                              ## @.str.27
	.asciz	"plane_dict: json pack failure: %s"

L_.str.28:                              ## @.str.28
	.asciz	"Planes"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_get_preview_json            ; -- Begin function hb_get_preview_json
	.p2align	2
_hb_get_preview_json:                   ; @hb_get_preview_json
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #448
	.cfi_def_cfa_offset 448
	stp	x28, x27, [sp, #352]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #368]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #384]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #400]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #416]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #432]            ; 16-byte Folded Spill
	add	x29, sp, #432
	.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	x19, x1
	stur	x0, [x29, #-208]                ; 8-byte Folded Spill
	stur	wzr, [x29, #-108]
	sub	x20, x29, #168
	sub	x0, x29, #168
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	mov	x0, x19
	bl	_hb_value_json
	stur	x0, [x29, #-176]                ; 8-byte Folded Spill
	stur	x0, [x29, #-120]
	sub	x0, x29, #100
	bl	_unpack_i
	stur	w0, [x29, #-180]                ; 4-byte Folded Spill
	sub	x0, x29, #104
	bl	_unpack_i
	stur	w0, [x29, #-184]                ; 4-byte Folded Spill
	sub	x0, x29, #108
	bl	_unpack_b
	stur	w0, [x29, #-188]                ; 4-byte Folded Spill
	add	x0, x20, #32
	bl	_unpack_i
	stur	w0, [x29, #-192]                ; 4-byte Folded Spill
	add	x0, x20, #36
	bl	_unpack_i
	stur	w0, [x29, #-196]                ; 4-byte Folded Spill
	add	x0, x20, #40
	bl	_unpack_i
	stur	w0, [x29, #-200]                ; 4-byte Folded Spill
	add	x0, x20, #44
	bl	_unpack_i
	mov	x27, x0
	sub	x0, x29, #168
	bl	_unpack_i
	mov	x28, x0
	orr	x0, x20, #0x4
	bl	_unpack_i
	mov	x19, x0
	add	x0, x20, #8
	bl	_unpack_b
	mov	x21, x0
	add	x0, x20, #12
	bl	_unpack_i
	mov	x22, x0
	add	x0, x20, #16
	bl	_unpack_i
	mov	x23, x0
	add	x0, x20, #20
	bl	_unpack_i
	mov	x24, x0
	ldur	x0, [x29, #-144]
	bl	_unpack_i
	mov	x25, x0
	ldur	x8, [x29, #-144]
	add	x0, x8, #4
	bl	_unpack_i
	mov	x26, x0
	ldur	x8, [x29, #-144]
	add	x0, x8, #8
	bl	_unpack_i
	mov	x20, x0
	ldur	x8, [x29, #-144]
	add	x0, x8, #12
	bl	_unpack_i
	stp	w20, w0, [sp, #216]
	stp	w25, w26, [sp, #208]
Lloh0:
	adrp	x8, l_.str.17@PAGE
Lloh1:
	add	x8, x8, l_.str.17@PAGEOFF
	str	x8, [sp, #200]
	str	w24, [sp, #192]
Lloh2:
	adrp	x8, l_.str.16@PAGE
Lloh3:
	add	x8, x8, l_.str.16@PAGEOFF
	str	x8, [sp, #184]
	str	w23, [sp, #176]
Lloh4:
	adrp	x8, l_.str.15@PAGE
Lloh5:
	add	x8, x8, l_.str.15@PAGEOFF
	str	x8, [sp, #168]
	str	w22, [sp, #160]
Lloh6:
	adrp	x8, l_.str.14@PAGE
Lloh7:
	add	x8, x8, l_.str.14@PAGEOFF
	str	x8, [sp, #152]
	str	w21, [sp, #144]
Lloh8:
	adrp	x8, l_.str.13@PAGE
Lloh9:
	add	x8, x8, l_.str.13@PAGEOFF
	str	x8, [sp, #136]
	str	w19, [sp, #128]
Lloh10:
	adrp	x8, l_.str.12@PAGE
Lloh11:
	add	x8, x8, l_.str.12@PAGEOFF
Lloh12:
	adrp	x9, l_.str.11@PAGE
Lloh13:
	add	x9, x9, l_.str.11@PAGEOFF
	str	x8, [sp, #120]
	str	w28, [sp, #112]
	str	x9, [sp, #104]
	str	w27, [sp, #96]
Lloh14:
	adrp	x8, l_.str.10@PAGE
Lloh15:
	add	x8, x8, l_.str.10@PAGEOFF
Lloh16:
	adrp	x9, l_.str.9@PAGE
Lloh17:
	add	x9, x9, l_.str.9@PAGEOFF
Lloh18:
	adrp	x10, l_.str.8@PAGE
Lloh19:
	add	x10, x10, l_.str.8@PAGEOFF
Lloh20:
	adrp	x11, l_.str.7@PAGE
Lloh21:
	add	x11, x11, l_.str.7@PAGEOFF
	str	x8, [sp, #88]
	ldur	w8, [x29, #-200]                ; 4-byte Folded Reload
	str	w8, [sp, #80]
	stp	x10, x9, [sp, #64]
Lloh22:
	adrp	x8, l_.str.6@PAGE
Lloh23:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh24:
	adrp	x9, l_.str.5@PAGE
Lloh25:
	add	x9, x9, l_.str.5@PAGEOFF
Lloh26:
	adrp	x10, l_.str.4@PAGE
Lloh27:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh28:
	adrp	x12, l_.str.3@PAGE
Lloh29:
	add	x12, x12, l_.str.3@PAGEOFF
	ldur	w13, [x29, #-196]               ; 4-byte Folded Reload
	str	w13, [sp, #56]
	str	x11, [sp, #48]
	ldur	w11, [x29, #-192]               ; 4-byte Folded Reload
	str	w11, [sp, #40]
	stp	x9, x8, [sp, #24]
Lloh30:
	adrp	x3, l_.str@PAGE
Lloh31:
	add	x3, x3, l_.str@PAGEOFF
Lloh32:
	adrp	x4, l_.str.1@PAGE
Lloh33:
	add	x4, x4, l_.str.1@PAGEOFF
Lloh34:
	adrp	x6, l_.str.2@PAGE
Lloh35:
	add	x6, x6, l_.str.2@PAGEOFF
	sub	x1, x29, #112
	str	x10, [sp, #16]
	ldur	w8, [x29, #-188]                ; 4-byte Folded Reload
	str	w8, [sp, #8]
	str	x12, [sp]
	ldur	x0, [x29, #-176]                ; 8-byte Folded Reload
	mov	w2, #0
	ldp	w7, w5, [x29, #-184]            ; 8-byte Folded Reload
	bl	_json_unpack_ex
	mov	x19, x0
	sub	x0, x29, #120
	bl	_hb_value_free
	tbnz	w19, #31, LBB0_8
; %bb.1:
	ldp	w2, w1, [x29, #-104]
	ldur	w4, [x29, #-108]
	sub	x3, x29, #168
	ldur	x0, [x29, #-208]                ; 8-byte Folded Reload
	bl	_hb_get_preview2
	mov	x19, x0
	stur	x0, [x29, #-96]
	cbz	x0, LBB0_13
; %bb.2:
	ldr	w0, [x19]
	bl	_hb_value_int
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_hb_value_int
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_hb_value_int
	str	w0, [sp]
Lloh36:
	adrp	x2, l_.str.19@PAGE
Lloh37:
	add	x2, x2, l_.str.19@PAGEOFF
Lloh38:
	adrp	x3, l_.str.20@PAGE
Lloh39:
	add	x3, x3, l_.str.20@PAGEOFF
Lloh40:
	adrp	x5, l_.str.6@PAGE
Lloh41:
	add	x5, x5, l_.str.6@PAGEOFF
	sub	x0, x29, #112
Lloh42:
	adrp	x7, l_.str.7@PAGE
Lloh43:
	add	x7, x7, l_.str.7@PAGEOFF
	mov	w1, #0
	mov	x4, x20
	mov	x6, x21
	bl	_json_pack_ex
	stur	x0, [x29, #-120]
	cbz	x0, LBB0_10
; %bb.3:
	bl	_hb_value_array_init
	mov	x20, x0
	mov	x23, #0
Lloh44:
	adrp	x24, l_.str.23@PAGE
Lloh45:
	add	x24, x24, l_.str.23@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #24
	cmp	x23, #96
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x8, x8, x23
	ldr	w0, [x8, #16]
	bl	_AV_BASE64_SIZE
	ldr	x8, [x19, #16]
	add	x21, x8, x23
	ldr	w26, [x21, #16]
	cmp	w26, #1
	ccmp	w0, #1, #8, ge
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x0
	mov	w1, #1
	bl	_calloc
	mov	x27, x0
	ldr	w2, [x21, #20]
	mov	x1, x25
	mov	x3, x26
	bl	_av_base64_encode
	mov	x0, x27
	bl	_strlen
	mov	x25, x0
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x23]
	bl	_hb_value_int
	mov	x26, x0
	ldr	x8, [x19, #16]
	add	x8, x8, x23
	ldr	w0, [x8, #4]
	bl	_hb_value_int
	mov	x28, x0
	ldr	x8, [x19, #16]
	add	x8, x8, x23
	ldr	w0, [x8, #8]
	bl	_hb_value_int
	mov	x21, x0
	ldr	x8, [x19, #16]
	add	x8, x8, x23
	ldr	w0, [x8, #12]
	bl	_hb_value_int
	mov	x22, x0
	mov	x0, x25
	bl	_hb_value_int
	mov	x25, x0
	mov	x0, x27
	bl	_hb_value_string
                                        ; kill: def $w0 killed $w0 def $x0
Lloh46:
	adrp	x8, l_.str.26@PAGE
Lloh47:
	add	x8, x8, l_.str.26@PAGEOFF
	stp	x8, x0, [sp, #40]
	sub	x0, x29, #112
Lloh48:
	adrp	x8, l_.str.25@PAGE
Lloh49:
	add	x8, x8, l_.str.25@PAGEOFF
	stp	x8, x25, [sp, #24]
Lloh50:
	adrp	x8, l_.str.24@PAGE
Lloh51:
	add	x8, x8, l_.str.24@PAGEOFF
	stp	x8, x22, [sp, #8]
	str	w21, [sp]
	mov	w1, #0
Lloh52:
	adrp	x2, l_.str.22@PAGE
Lloh53:
	add	x2, x2, l_.str.22@PAGEOFF
Lloh54:
	adrp	x3, l_.str.6@PAGE
Lloh55:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x4, x26
Lloh56:
	adrp	x5, l_.str.7@PAGE
Lloh57:
	add	x5, x5, l_.str.7@PAGEOFF
	mov	x6, x28
	mov	x7, x24
	bl	_json_pack_ex
	cbz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x0
	mov	x0, x20
	bl	_hb_value_array_append
	b	LBB0_4
LBB0_8:
	ldur	w1, [x29, #-112]
Lloh58:
	adrp	x0, l_.str.18@PAGE
Lloh59:
	add	x0, x0, l_.str.18@PAGEOFF
	b	LBB0_12
LBB0_9:
	ldur	x0, [x29, #-120]
Lloh60:
	adrp	x1, l_.str.28@PAGE
Lloh61:
	add	x1, x1, l_.str.28@PAGEOFF
	mov	x2, x20
	bl	_hb_dict_set
	sub	x0, x29, #96
	bl	_hb_image_close
	ldur	x0, [x29, #-120]
	bl	_hb_value_get_json
	mov	x19, x0
	sub	x0, x29, #120
	bl	_hb_value_free
	b	LBB0_13
LBB0_10:
	ldur	w1, [x29, #-112]
Lloh62:
	adrp	x0, l_.str.21@PAGE
Lloh63:
	add	x0, x0, l_.str.21@PAGEOFF
	b	LBB0_12
LBB0_11:
	ldur	w1, [x29, #-112]
Lloh64:
	adrp	x0, l_.str.27@PAGE
Lloh65:
	add	x0, x0, l_.str.27@PAGEOFF
LBB0_12:
	bl	_hb_error
	mov	x19, #0
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #432]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #416]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #400]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #384]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #368]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #352]            ; 16-byte Folded Reload
	add	sp, sp, #448
	ret
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{s:i, s:i, s?b,s:{s:{s:i, s:i, s:{s:i, s:i}},s:i, s?i, s?b, s:i, s:i, s:i,s?[iiii]  }}"

l_.str.1:                               ; @.str.1
	.asciz	"Title"

l_.str.2:                               ; @.str.2
	.asciz	"Preview"

l_.str.3:                               ; @.str.3
	.asciz	"Deinterlace"

l_.str.4:                               ; @.str.4
	.asciz	"DestSettings"

l_.str.5:                               ; @.str.5
	.asciz	"Geometry"

l_.str.6:                               ; @.str.6
	.asciz	"Width"

l_.str.7:                               ; @.str.7
	.asciz	"Height"

l_.str.8:                               ; @.str.8
	.asciz	"PAR"

l_.str.9:                               ; @.str.9
	.asciz	"Num"

l_.str.10:                              ; @.str.10
	.asciz	"Den"

l_.str.11:                              ; @.str.11
	.asciz	"AnamorphicMode"

l_.str.12:                              ; @.str.12
	.asciz	"Keep"

l_.str.13:                              ; @.str.13
	.asciz	"ItuPAR"

l_.str.14:                              ; @.str.14
	.asciz	"Modulus"

l_.str.15:                              ; @.str.15
	.asciz	"MaxWidth"

l_.str.16:                              ; @.str.16
	.asciz	"MaxHeight"

l_.str.17:                              ; @.str.17
	.asciz	"Crop"

l_.str.18:                              ; @.str.18
	.asciz	"preview params: json unpack failure: %s"

l_.str.19:                              ; @.str.19
	.asciz	"{s:o, s:o, s:o}"

l_.str.20:                              ; @.str.20
	.asciz	"Format"

l_.str.21:                              ; @.str.21
	.asciz	"hb_get_preview_json: pack failure: %s"

l_.str.22:                              ; @.str.22
	.asciz	"{s:o, s:o, s:o, s:o, s:o, s:o}"

l_.str.23:                              ; @.str.23
	.asciz	"Stride"

l_.str.24:                              ; @.str.24
	.asciz	"HeightStride"

l_.str.25:                              ; @.str.25
	.asciz	"Size"

l_.str.26:                              ; @.str.26
	.asciz	"Data"

l_.str.27:                              ; @.str.27
	.asciz	"plane_dict: json pack failure: %s"

l_.str.28:                              ; @.str.28
	.asciz	"Planes"

.subsections_via_symbols
