	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_subtitle_track_source      ## -- Begin function ghb_subtitle_track_source
	.p2align	4, 0x90
_ghb_subtitle_track_source:             ## @ghb_subtitle_track_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$-2, %esi
	jne	LBB0_2
## %bb.1:
	movq	_IMPORTSRT@GOTPCREL(%rip), %r14
	jmp	LBB0_6
LBB0_2:
	movl	%esi, %ebx
	movq	_VOBSUB@GOTPCREL(%rip), %r14
	testl	%esi, %esi
	js	LBB0_6
## %bb.3:
	leaq	L_.str(%rip), %rsi
	callq	_ghb_dict_get_int
	leaq	-20(%rbp), %rsi
	movl	%eax, %edi
	callq	_ghb_lookup_title
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_hb_list_item
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_VOBSUB@GOTPCREL(%rip), %r14
LBB0_6:
	movl	(%r14), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMPORTSRT,4,2                  ## @IMPORTSRT
	.comm	_VOBSUB,4,2                     ## @VOBSUB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"title"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_subtitle_track_source      ; -- Begin function ghb_subtitle_track_source
	.p2align	2
_ghb_subtitle_track_source:             ; @ghb_subtitle_track_source
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cmn	w1, #2
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _IMPORTSRT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IMPORTSRT@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	x19, x1
	tbnz	w1, #31, LBB0_5
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ghb_dict_get_int
	add	x1, sp, #12
	bl	_ghb_lookup_title
Lloh4:
	adrp	x20, _VOBSUB@GOTPAGE
Lloh5:
	ldr	x20, [x20, _VOBSUB@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x0]
	mov	x1, x19
	bl	_hb_list_item
	cmp	x0, #0
	csel	x20, x20, x0, eq
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x20, _VOBSUB@GOTPAGE
Lloh7:
	ldr	x20, [x20, _VOBSUB@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IMPORTSRT,4,2                  ; @IMPORTSRT
	.comm	_VOBSUB,4,2                     ; @VOBSUB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"title"

.subsections_via_symbols
