	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hb_add_internal
_hb_add_internal:                       ## @hb_add_internal
	.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	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	$136, %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %r15
	movq	%rax, -80(%rbp)
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	$136, %edx
	callq	_memcpy
	movq	$0, 128(%r15)
	movq	$0, (%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
	movups	%xmm0, 32(%r15)
	movups	%xmm0, 48(%r15)
	movups	%xmm0, 64(%r15)
	movups	%xmm0, 80(%r15)
	movq	$0, 96(%r15)
	leaq	-44(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	cmpq	$0, 120(%r13)
	je	LBB0_16
## %bb.1:
	movq	80(%r13), %rdi
	callq	_hb_list_count
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	80(%r13), %rdi
	movl	%ebx, %esi
	callq	_hb_list_item
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movq	80(%r13), %rdi
	callq	_hb_list_count
	cmpl	%eax, %ebx
	jl	LBB0_4
	jmp	LBB0_6
LBB0_16:
	movq	96(%r13), %rdi
	callq	_hb_subtitle_list_copy
	movq	%rax, 96(%r15)
	jmp	LBB0_17
LBB0_5:
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdi
	movl	$4, %edx
	callq	_strncpy
LBB0_6:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_hb_list_init
	movq	%rax, 96(%r15)
	movq	112(%r13), %rax
	movq	(%rax), %rdi
	callq	_hb_list_count
	testl	%eax, %eax
	jle	LBB0_12
## %bb.7:
	leaq	-44(%rbp), %r14
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	%ebx
	movq	112(%r13), %rax
	movq	(%rax), %rdi
	callq	_hb_list_count
	cmpl	%eax, %ebx
	jge	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	112(%r13), %rax
	movq	(%rax), %rdi
	movl	%ebx, %esi
	callq	_hb_list_item
	movq	%rax, %r12
	movl	4(%rax), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r12), %edi
	callq	_hb_subtitle_can_force
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %r13
	movq	96(%r15), %r14
	movq	%r12, %rdi
	callq	_hb_subtitle_copy
	movq	%r14, %rdi
	movq	%r13, %r14
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_hb_list_add
	jmp	LBB0_11
LBB0_12:
	movq	96(%r15), %rdi
	callq	_hb_list_count
	testl	%eax, %eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_15
## %bb.13:
	cmpl	$1, %eax
	jne	LBB0_17
## %bb.14:
	cmpl	$0, 104(%r15)
	je	LBB0_15
LBB0_17:
	movq	88(%r13), %rdi
	callq	_hb_chapter_list_copy
	movq	%rax, 88(%r15)
	movq	80(%r13), %rdi
	callq	_hb_audio_list_copy
	movq	%rax, 80(%r15)
	movq	72(%r13), %rdi
	callq	_hb_attachment_list_copy
	movq	%rax, 72(%r15)
	movq	64(%r13), %rdi
	callq	_hb_metadata_copy
	movq	%rax, 64(%r15)
	movq	56(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	callq	_strdup
	movq	%rax, 56(%r15)
LBB0_19:
	movq	48(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_strdup
	movq	%rax, 48(%r15)
LBB0_21:
	movq	40(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
	callq	_strdup
	movq	%rax, 40(%r15)
LBB0_23:
	movq	32(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.24:
	callq	_strdup
	movq	%rax, 32(%r15)
LBB0_25:
	movq	24(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.26:
	callq	_strdup
	movq	%rax, 24(%r15)
LBB0_27:
	movq	16(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:
	movq	%r15, %rbx
	addq	$16, %rbx
	callq	_strdup
	movq	%rax, (%rbx)
LBB0_29:
	movq	%r12, 8(%r15)
	movq	(%r13), %rdi
	callq	_hb_filter_list_copy
	movq	%rax, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_hb_list_add
	jmp	LBB0_30
LBB0_15:
	leaq	L_.str(%rip), %rdi
	callq	_hb_log
	leaq	-80(%rbp), %rdi
	callq	_hb_job_close
LBB0_30:
	addq	$40, %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	"Skipping subtitle scan.  No suitable subtitle tracks."

	.no_dead_strip	_hb_add_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hb_add_internal
_hb_add_internal:                       ; @hb_add_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	w0, #136
	mov	w1, #1
	bl	_calloc
	mov	x20, x0
	str	x0, [sp, #8]
	mov	x1, x21
	mov	w2, #136
	bl	_memcpy
	str	xzr, [x20, #128]
	movi.2d	v0, #0000000000000000
	mov	x26, x20
	str	q0, [x26, #16]!
	str	xzr, [x20]
	stp	q0, q0, [x20, #32]
	stp	q0, q0, [x20, #64]
	str	xzr, [x20, #96]
	add	x0, sp, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x21, #120]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x0, [x21, #80]
	bl	_hb_list_count
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.2:
	mov	w23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21, #80]
	mov	x1, x23
	bl	_hb_list_item
	cbnz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	ldr	x0, [x21, #80]
	bl	_hb_list_count
	cmp	w23, w0
	b.lt	LBB0_3
	b	LBB0_7
LBB0_5:
	ldr	x0, [x21, #96]
	bl	_hb_subtitle_list_copy
	str	x0, [x20, #96]
	b	LBB0_16
LBB0_6:
	ldr	w1, [x0]
	add	x0, sp, #4
	mov	w2, #4
	bl	_strncpy
LBB0_7:
	bl	_hb_list_init
	str	x0, [x20, #96]
	ldr	x8, [x21, #112]
	ldr	x0, [x8]
	bl	_hb_list_count
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.8:
	mov	w23, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w23, w23, #1
	ldr	x8, [x21, #112]
	ldr	x0, [x8]
	bl	_hb_list_count
	cmp	w23, w0
	b.ge	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #112]
	ldr	x0, [x8]
	mov	x1, x23
	bl	_hb_list_item
	mov	x24, x0
	ldr	w0, [x0, #4]
	add	x1, sp, #4
	bl	_strcmp
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x24]
	bl	_hb_subtitle_can_force
	cbz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x25, [x20, #96]
	mov	x0, x24
	bl	_hb_subtitle_copy
	mov	x1, x0
	mov	x0, x25
	bl	_hb_list_add
	b	LBB0_9
LBB0_13:
	ldr	x0, [x20, #96]
	bl	_hb_list_count
	cbz	w0, LBB0_29
; %bb.14:
	cmp	w0, #1
	b.ne	LBB0_16
; %bb.15:
	ldr	w8, [x20, #104]
	cbz	w8, LBB0_29
LBB0_16:
	ldr	x0, [x21, #88]
	bl	_hb_chapter_list_copy
	str	x0, [x20, #88]
	ldr	x0, [x21, #80]
	bl	_hb_audio_list_copy
	str	x0, [x20, #80]
	ldr	x0, [x21, #72]
	bl	_hb_attachment_list_copy
	str	x0, [x20, #72]
	ldr	x0, [x21, #64]
	bl	_hb_metadata_copy
	str	x0, [x20, #64]
	ldr	x0, [x21, #56]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_strdup
	str	x0, [x20, #56]
LBB0_18:
	ldr	x0, [x21, #48]
	cbz	x0, LBB0_20
; %bb.19:
	bl	_strdup
	str	x0, [x20, #48]
LBB0_20:
	ldr	x0, [x21, #40]
	cbz	x0, LBB0_22
; %bb.21:
	bl	_strdup
	str	x0, [x20, #40]
LBB0_22:
	ldr	x0, [x21, #32]
	cbz	x0, LBB0_24
; %bb.23:
	bl	_strdup
	str	x0, [x20, #32]
LBB0_24:
	ldr	x0, [x21, #24]
	cbz	x0, LBB0_26
; %bb.25:
	bl	_strdup
	str	x0, [x20, #24]
LBB0_26:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_28
; %bb.27:
	bl	_strdup
	str	x0, [x26]
LBB0_28:
	str	x22, [x20, #8]
	ldr	x0, [x21]
	bl	_hb_filter_list_copy
	str	x0, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_hb_list_add
	b	LBB0_30
LBB0_29:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_log
	add	x0, sp, #8
	bl	_hb_job_close
LBB0_30:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Skipping subtitle scan.  No suitable subtitle tracks."

	.no_dead_strip	_hb_add_internal
.subsections_via_symbols
