	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_audio_defaults_to_ui       ## -- Begin function ghb_audio_defaults_to_ui
	.p2align	4, 0x90
_ghb_audio_defaults_to_ui:              ## @ghb_audio_defaults_to_ui
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_audio_def_lang_list_init
	movl	4(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_ghb_dict_get_value
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_ghb_array_new
	movq	%rax, %r13
	movl	4(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_ghb_dict_set
LBB0_2:
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_GHB_WIDGET
	movl	%eax, %edi
	callq	_GTK_LIST_BOX
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_GTK_CONTAINER
	movl	%eax, %edi
	callq	_ghb_container_empty
	movq	%r13, %rdi
	callq	_ghb_array_len
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_ghb_array_get
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_ghb_create_audio_settings_row
	movq	%rax, %r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	$-1, %edx
	callq	_gtk_list_box_insert
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_audio_def_update_widgets
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%ebx
	cmpl	%ebx, %eax
	jne	LBB0_4
LBB0_5:
	movq	%r12, %rdi
	callq	_ghb_create_audio_settings_row
	movq	%rax, %rbx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_audio_def_settings_show
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$-1, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gtk_list_box_insert            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AudioList"

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

	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_audio_defaults_to_ui       ; -- Begin function ghb_audio_defaults_to_ui
	.p2align	2
_ghb_audio_defaults_to_ui:              ; @ghb_audio_defaults_to_ui
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	bl	_audio_def_lang_list_init
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ghb_dict_get_value
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_ghb_array_new
	mov	x20, x0
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_ghb_dict_set
LBB0_2:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_GHB_WIDGET
	bl	_GTK_LIST_BOX
	mov	x21, x0
	bl	_GTK_CONTAINER
	bl	_ghb_container_empty
	mov	x0, x20
	bl	_ghb_array_len
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x22, x0
	mov	w23, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_ghb_array_get
	mov	x24, x0
	mov	x0, x19
	bl	_ghb_create_audio_settings_row
	mov	x25, x0
	mov	x0, x21
	mov	x1, x25
	mov	w2, #-1
	bl	_gtk_list_box_insert
	mov	x0, x25
	mov	x1, x24
	bl	_audio_def_update_widgets
	add	w23, w23, #1
	cmp	w22, w23
	b.ne	LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_ghb_create_audio_settings_row
	mov	x19, x0
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_audio_def_settings_show
	mov	x0, x21
	mov	x1, x19
	mov	w2, #-1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_gtk_list_box_insert
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AudioList"

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

	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
