	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function video_profile_opts_set
_video_profile_opts_set:                ## @video_profile_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_ghb_dict_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	4(%r15), %edi
	callq	_ghb_get_video_encoder
	movl	%eax, %edi
	callq	_hb_video_encoder_get_profiles
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	$-1, %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %r13
	cmpq	$0, 8(%r12,%rax,8)
	movq	%r13, %rax
	jne	LBB0_4
	jmp	LBB0_5
LBB0_2:
	xorl	%r13d, %r13d
LBB0_5:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_GHB_WIDGET
	xorl	%ebx, %ebx
	testq	%r13, %r13
	setne	%bl
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_gtk_widget_set_visible
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_gtk_widget_set_visible
	testq	%r13, %r13
	je	LBB0_8
## %bb.6:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_COMBO_BOX
	movq	%rax, %rdi
	callq	_gtk_combo_box_get_model
	movl	%eax, %edi
	callq	_GTK_LIST_STORE
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_gtk_list_store_clear
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_gtk_list_store_append
	movq	(%r12,%rbx,8), %rcx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	$1, %r8d
	pushq	$-1
	pushq	%rbx
	pushq	$3
	pushq	%rcx
	pushq	$2
	callq	_gtk_list_store_set
	addq	$48, %rsp
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_7
LBB0_8:
	addq	$8, %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	"VideoEncoder"

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

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

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_video_profile_opts_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function video_profile_opts_set
_video_profile_opts_set:                ; @video_profile_opts_set
	.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	x20, x1
	mov	x21, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ghb_dict_get
	cbz	x0, LBB0_9
; %bb.1:
	ldr	w0, [x21, #4]
	bl	_ghb_get_video_encoder
	bl	_hb_video_encoder_get_profiles
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.2:
	mov	x8, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, x8, lsl #3]
	add	x8, x8, #1
	cbnz	x9, LBB0_3
; %bb.4:
	sub	x23, x8, #1
	b	LBB0_6
LBB0_5:
	mov	x23, #0
LBB0_6:
	ldr	w0, [x21]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_GHB_WIDGET
	cmp	x23, #0
	cset	w22, ne
	mov	x1, x22
	bl	_gtk_widget_set_visible
	ldr	w0, [x21]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_GHB_WIDGET
	mov	x1, x22
	bl	_gtk_widget_set_visible
	cbz	x23, LBB0_9
; %bb.7:
	ldr	w0, [x21]
	mov	x1, x20
	bl	_GHB_WIDGET
	bl	_GTK_COMBO_BOX
	bl	_gtk_combo_box_get_model
	bl	_GTK_LIST_STORE
	mov	x20, x0
	bl	_gtk_list_store_clear
	mov	x21, #0
Lloh6:
	adrp	x22, _TRUE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	mov	w24, #-1
	mov	w25, #3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x20
	bl	_gtk_list_store_append
	ldr	x3, [x19, x21, lsl #3]
	ldr	w5, [x22]
	stp	w21, w24, [sp, #4]
	add	x1, sp, #12
	str	w25, [sp]
	mov	x0, x20
	mov	w2, #0
	mov	w4, #1
	mov	w6, #2
	mov	x7, x3
	bl	_gtk_list_store_set
	add	x21, x21, #1
	cmp	x23, x21
	b.ne	LBB0_8
LBB0_9:
	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
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VideoEncoder"

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

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

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_video_profile_opts_set
.subsections_via_symbols
