	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function audio_refresh_list_ui
_audio_refresh_list_ui:                 ## @audio_refresh_list_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, %rbx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_GHB_WIDGET
	movl	%eax, %edi
	callq	_GTK_TREE_VIEW
	movq	%rax, %rdi
	callq	_gtk_tree_view_get_model
	movq	%rax, %r13
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_gtk_tree_model_iter_n_children
	movq	%rax, %r14
	movq	%rbx, %r15
	movl	4(%rbx), %edi
	callq	_ghb_get_job_audio_list
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_ghb_array_len
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	%r14, %rax
	je	LBB0_4
## %bb.1:
	movl	(%r15), %edi
	callq	_ghb_clear_audio_list_ui
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	jle	LBB0_7
## %bb.2:
	leaq	-52(%rbp), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_GTK_TREE_STORE
	movl	%eax, %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_gtk_tree_store_append
	decq	%rbx
	jne	LBB0_3
LBB0_4:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	leaq	-52(%rbp), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_gtk_tree_model_iter_nth_child
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ghb_array_get
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	callq	_audio_refresh_list_row_ui
	incq	%rbx
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_6
LBB0_7:
	addq	$24, %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	"audio_list_view"

	.no_dead_strip	_audio_refresh_list_ui
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function audio_refresh_list_ui
_audio_refresh_list_ui:                 ; @audio_refresh_list_ui
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_GHB_WIDGET
	bl	_GTK_TREE_VIEW
	bl	_gtk_tree_view_get_model
	mov	x20, x0
	mov	x1, #0
	bl	_gtk_tree_model_iter_n_children
	mov	x23, x0
	ldr	w0, [x19, #4]
	bl	_ghb_get_job_audio_list
	mov	x21, x0
	bl	_ghb_array_len
	mov	x22, x0
	cmp	x0, x23
	b.eq	LBB0_4
; %bb.1:
	ldr	w0, [x19]
	bl	_ghb_clear_audio_list_ui
	cmp	x22, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x23, x22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_GTK_TREE_STORE
	add	x1, sp, #12
	mov	x2, #0
	bl	_gtk_tree_store_append
	subs	x23, x23, #1
	b.ne	LBB0_3
LBB0_4:
	cmp	x22, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x23, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, #0
	mov	x3, x23
	bl	_gtk_tree_model_iter_nth_child
	mov	x0, x21
	mov	x1, x23
	bl	_ghb_array_get
	mov	x3, x0
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x19
	bl	_audio_refresh_list_row_ui
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_6
LBB0_7:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"audio_list_view"

	.no_dead_strip	_audio_refresh_list_ui
.subsections_via_symbols
