	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_audio_list_refresh_selected ## -- Begin function ghb_audio_list_refresh_selected
	.p2align	4, 0x90
_ghb_audio_list_refresh_selected:       ## @ghb_audio_list_refresh_selected
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_g_debug
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_GHB_WIDGET
	movl	%eax, %edi
	callq	_GTK_TREE_VIEW
	movq	%rax, %rdi
	callq	_gtk_tree_view_get_selection
	leaq	-48(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rax, %rdi
	callq	_gtk_tree_selection_get_selected
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	-48(%rbp), %rdi
	leaq	-36(%rbp), %rsi
	callq	_gtk_tree_model_get_path
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_gtk_tree_path_get_indices
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_gtk_tree_path_free
	testq	%r12, %r12
	js	LBB0_4
## %bb.2:
	movl	(%r14), %edi
	callq	_ghb_get_job_audio_list
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ghb_array_len
	cmpq	%rax, %r12
	jge	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ghb_array_get
	movq	-48(%rbp), %rdi
	leaq	-36(%rbp), %rsi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_audio_refresh_list_row_ui
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ghb_audio_list_refresh_selected ()"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_audio_list_refresh_selected ; -- Begin function ghb_audio_list_refresh_selected
	.p2align	2
_ghb_audio_list_refresh_selected:       ; @ghb_audio_list_refresh_selected
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_g_debug
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_GHB_WIDGET
	bl	_GTK_TREE_VIEW
	bl	_gtk_tree_view_get_selection
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_gtk_tree_selection_get_selected
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x0, [sp, #8]
	add	x1, sp, #4
	bl	_gtk_tree_model_get_path
	mov	x21, x0
	bl	_gtk_tree_path_get_indices
	ldr	x20, [x0]
	mov	x0, x21
	bl	_gtk_tree_path_free
	tbnz	x20, #63, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	bl	_ghb_get_job_audio_list
	mov	x21, x0
	bl	_ghb_array_len
	cmp	x20, x0
	b.ge	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	bl	_ghb_array_get
	mov	x3, x0
	ldr	x0, [sp, #8]
	add	x1, sp, #4
	mov	x2, x19
	bl	_audio_refresh_list_row_ui
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ghb_audio_list_refresh_selected ()"

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

.subsections_via_symbols
