	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function subtitle_track_opts_set
_subtitle_track_opts_set:               ## @subtitle_track_opts_set
	.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	%rcx, %rbx
	movl	(%rdi), %edi
	callq	_GHB_WIDGET
	movl	%eax, %edi
	callq	_GTK_COMBO_BOX
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_gtk_combo_box_get_model
	movl	%eax, %edi
	callq	_GTK_LIST_STORE
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_gtk_list_store_clear
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movl	(%rbx), %edi
	callq	_hb_list_count
	testq	%rax, %rax
	jle	LBB0_5
## %bb.2:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_hb_list_item
	movl	(%rax), %edx
	leaq	1(%r15), %r12
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_g_strdup_printf
	movq	%rax, %r13
	leaq	-48(%rbp), %rdi
	movl	$4, %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rcx
	callq	_snprintf
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	-44(%rbp), %r14
	movq	%r14, %rsi
	callq	_gtk_list_store_append
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15, %xmm0
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	movl	$1, %r8d
	pushq	$-1
	pushq	$3
	leaq	-48(%rbp), %rax
	pushq	%rax
	pushq	$2
	callq	_gtk_list_store_set
	addq	$32, %rsp
	movq	%r13, %rdi
	callq	_g_free
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, %r15
	cmpq	%rax, %r12
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_3
## %bb.4:
	testq	%rax, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jg	LBB0_6
LBB0_5:
	leaq	-44(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gtk_list_store_append
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	L_.str.3(%rip), %r10
	xorpd	%xmm0, %xmm0
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%rax, %rcx
	movl	$1, %r8d
	pushq	$-1
	pushq	$3
	pushq	%r10
	pushq	$2
	callq	_gtk_list_store_set
	addq	$32, %rsp
LBB0_6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_gtk_combo_box_set_active
	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	"%d - %s"

L_.str.1:                               ## @.str.1
	.asciz	"%d"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.2:                               ## @.str.2
	.asciz	"None"

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

	.no_dead_strip	_subtitle_track_opts_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function subtitle_track_opts_set
_subtitle_track_opts_set:               ; @subtitle_track_opts_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x3
	ldr	w0, [x0]
	bl	_GHB_WIDGET
	bl	_GTK_COMBO_BOX
	mov	x19, x0
	bl	_gtk_combo_box_get_model
	bl	_GTK_LIST_STORE
	mov	x20, x0
	bl	_gtk_list_store_clear
Lloh0:
	adrp	x28, _TRUE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _TRUE@GOTPAGEOFF]
	cbz	x21, LBB0_5
; %bb.1:
	ldr	w0, [x21]
	bl	_hb_list_count
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x22, x0
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	mov	x25, #0
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
	mov	x19, #-4294967293
Lloh4:
	adrp	x24, l_.str.1@PAGE
Lloh5:
	add	x24, x24, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, x25
	bl	_hb_list_item
	ldr	w2, [x0]
	add	x26, x25, #1
	mov	x0, x23
	mov	x1, x26
	bl	_g_strdup_printf
	mov	x27, x0
	add	x0, sp, #24
	mov	w1, #4
	mov	x2, x24
	mov	x3, x25
	bl	_snprintf
	add	x1, sp, #28
	mov	x0, x20
	bl	_gtk_list_store_append
	ldr	w5, [x28]
	scvtf	d0, x25
	str	x19, [sp]
	add	x1, sp, #28
	add	x7, sp, #24
	mov	x0, x20
	mov	w2, #0
	mov	x3, x27
	mov	w4, #1
	mov	w6, #2
	bl	_gtk_list_store_set
	mov	x0, x27
	bl	_g_free
	mov	x25, x26
	cmp	x26, x22
	b.ne	LBB0_3
; %bb.4:
	cmp	x22, #0
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	b.gt	LBB0_6
LBB0_5:
	add	x1, sp, #28
	mov	x0, x20
	bl	_gtk_list_store_append
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x3, x0
	ldr	w5, [x28]
	mov	x8, #-4294967293
	str	x8, [sp]
Lloh8:
	adrp	x7, l_.str.3@PAGE
Lloh9:
	add	x7, x7, l_.str.3@PAGEOFF
	add	x1, sp, #28
	movi	d0, #0000000000000000
	mov	x0, x20
	mov	w2, #0
	mov	w4, #1
	mov	w6, #2
	bl	_gtk_list_store_set
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	bl	_gtk_combo_box_set_active
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d - %s"

l_.str.1:                               ; @.str.1
	.asciz	"%d"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.2:                               ; @.str.2
	.asciz	"None"

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

	.no_dead_strip	_subtitle_track_opts_set
.subsections_via_symbols
