	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_live_encode_done           ## -- Begin function ghb_live_encode_done
	.p2align	4, 0x90
_ghb_live_encode_done:                  ## @ghb_live_encode_done
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	$-1, (%rax)
	movl	8(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movq	8(%rax), %rcx
	cmpq	16(%rax), %rcx
	jne	LBB0_2
## %bb.3:
	movq	%r15, %rdi
	callq	_GTK_PROGRESS_BAR
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_gtk_progress_bar_set_text
	movq	%r15, %rdi
	callq	_GTK_PROGRESS_BAR
	movl	%eax, %edi
	movl	$1, %esi
	callq	_gtk_progress_bar_set_fraction
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movq	8(%rcx), %rdx
	movq	24(%rcx), %rcx
	movl	%eax, (%rcx,%rdx,4)
	movl	8(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_gtk_widget_hide
	movl	8(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gtk_widget_show                ## TAILCALL
LBB0_2:
	movq	%r15, %rdi
	callq	_GTK_PROGRESS_BAR
	leaq	L_.str.4(%rip), %rsi
	movl	%eax, %edi
	callq	_gtk_progress_bar_set_text
	movq	%r15, %rdi
	callq	_GTK_PROGRESS_BAR
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_gtk_progress_bar_set_fraction
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movq	8(%rcx), %rdx
	movq	24(%rcx), %rcx
	movl	%eax, (%rcx,%rdx,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"live_encode_progress"

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

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

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

L_.str.4:                               ## @.str.4
	.space	1

	.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_live_encode_done           ; -- Begin function ghb_live_encode_done
	.p2align	2
_ghb_live_encode_done:                  ; @ghb_live_encode_done
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	mov	w9, #-1
	str	w9, [x8]
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_GHB_WIDGET
	mov	x20, x0
	cbz	x21, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldp	x9, x8, [x8, #8]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_GTK_PROGRESS_BAR
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_gtk_progress_bar_set_text
	mov	x0, x20
	bl	_GTK_PROGRESS_BAR
	mov	w1, #1
	bl	_gtk_progress_bar_set_fraction
Lloh4:
	adrp	x8, _TRUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x10, [x9, #24]
	ldr	x9, [x9, #8]
	str	w8, [x10, x9, lsl #2]
	ldr	w0, [x19, #8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_GHB_WIDGET
	bl	_gtk_widget_hide
	ldr	w0, [x19, #8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_GHB_WIDGET
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gtk_widget_show
LBB0_3:
	mov	x0, x20
	bl	_GTK_PROGRESS_BAR
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_gtk_progress_bar_set_text
	mov	x0, x20
	bl	_GTK_PROGRESS_BAR
	mov	w1, #0
	bl	_gtk_progress_bar_set_fraction
Lloh13:
	adrp	x8, _FALSE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x10, [x9, #24]
	ldr	x9, [x9, #8]
	str	w8, [x10, x9, lsl #2]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"live_encode_progress"

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

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

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

l_.str.4:                               ; @.str.4
	.space	1

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