	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_sub_source
_get_sub_source:                        ## @get_sub_source
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_ghb_dict_get_string
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:
	movq	_IMPORTSRT@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_int
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ghb_lookup_title
	movq	_VOBSUB@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %r15
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_int
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_hb_list_item
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	_VOBSUB@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_3:
	movq	_IMPORTSSA@GOTPCREL(%rip), %rbx
LBB0_9:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Import"

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

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

	.comm	_IMPORTSSA,4,2                  ## @IMPORTSSA
	.comm	_IMPORTSRT,4,2                  ## @IMPORTSRT
L_.str.3:                               ## @.str.3
	.asciz	"title"

	.comm	_VOBSUB,4,2                     ## @VOBSUB
L_.str.4:                               ## @.str.4
	.asciz	"Track"

	.no_dead_strip	_get_sub_source
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_sub_source
_get_sub_source:                        ; @get_sub_source
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ghb_dict_get_string
	cbz	x0, LBB0_3
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_7
LBB0_3:
Lloh6:
	adrp	x21, _IMPORTSRT@GOTPAGE
Lloh7:
	ldr	x21, [x21, _IMPORTSRT@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_int
	mov	x1, #0
	bl	_ghb_lookup_title
	cbz	x0, LBB0_8
; %bb.5:
	mov	x20, x0
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get
Lloh12:
	adrp	x21, _VOBSUB@GOTPAGE
Lloh13:
	ldr	x21, [x21, _VOBSUB@GOTPAGEOFF]
	cbz	x0, LBB0_9
; %bb.6:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_ghb_dict_get_int
	mov	x1, x0
	ldr	w0, [x20]
	bl	_hb_list_item
	cmp	x0, #0
	csel	x21, x21, x0, eq
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x21, _IMPORTSSA@GOTPAGE
Lloh17:
	ldr	x21, [x21, _IMPORTSSA@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh18:
	adrp	x21, _VOBSUB@GOTPAGE
Lloh19:
	ldr	x21, [x21, _VOBSUB@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Import"

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

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

	.comm	_IMPORTSSA,4,2                  ; @IMPORTSSA
	.comm	_IMPORTSRT,4,2                  ; @IMPORTSRT
l_.str.3:                               ; @.str.3
	.asciz	"title"

	.comm	_VOBSUB,4,2                     ; @VOBSUB
l_.str.4:                               ; @.str.4
	.asciz	"Track"

	.no_dead_strip	_get_sub_source
.subsections_via_symbols
