	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_queue_select_log           ## -- Begin function ghb_queue_select_log
	.p2align	4, 0x90
_ghb_queue_select_log:                  ## @ghb_queue_select_log
	.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	%rdi, %r13
	movl	24(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_GHB_WIDGET
	movl	%eax, %edi
	callq	_GTK_LIST_BOX
	movq	%rax, %rdi
	callq	_gtk_list_box_get_selected_row
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %rdi
	callq	_gtk_list_box_row_get_index
	testq	%rax, %rax
	js	LBB0_15
## %bb.2:
	movq	%rax, %rbx
	movl	28(%r13), %edi
	callq	_ghb_array_len
	cmpq	%rax, %rbx
	jge	LBB0_15
## %bb.3:
	movl	28(%r13), %edi
	movq	%rbx, %rsi
	callq	_ghb_array_get
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_ghb_dict_get
	movq	%rax, %r14
	movl	24(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_GHB_WIDGET
	movl	%eax, %edi
	callq	_GTK_TEXT_VIEW
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_gtk_text_view_get_buffer
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_int
	movl	%eax, %r12d
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_string
	movq	_GHB_QUEUE_PENDING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	je	LBB0_6
## %bb.4:
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rdi
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.6(%rip), %rdi
LBB0_7:
	callq	_ghb_string_value
	movl	%eax, %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_ghb_ui_update
	movq	_GHB_QUEUE_RUNNING@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_10
## %bb.8:
	movq	16(%r13), %rsi
	cmpq	%rbx, %rsi
	je	LBB0_15
## %bb.9:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gtk_text_view_set_buffer       ## TAILCALL
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	(%r13), %rsi
	cmpq	%rbx, %rsi
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_gtk_text_view_set_buffer
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_ghb_dict_get_string
	movq	_GHB_QUEUE_PENDING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	je	LBB0_14
## %bb.13:
	testq	%rax, %rax
	je	LBB0_14
## %bb.16:
	movq	%r13, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_read_log                       ## TAILCALL
LBB0_14:
	movq	8(%r13), %rdi
	callq	_g_free
	movq	$0, 8(%r13)
	movq	(%r13), %rdi
	leaq	L_.str.6(%rip), %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gtk_text_buffer_set_text       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue_list"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"ActivityFilename"

	.comm	_GHB_QUEUE_PENDING,4,2          ## @GHB_QUEUE_PENDING
L_.str.5:                               ## @.str.5
	.asciz	"queue_activity_location"

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

	.comm	_GHB_QUEUE_RUNNING,4,2          ## @GHB_QUEUE_RUNNING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_queue_select_log           ; -- Begin function ghb_queue_select_log
	.p2align	2
_ghb_queue_select_log:                  ; @ghb_queue_select_log
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_GHB_WIDGET
	bl	_GTK_LIST_BOX
	bl	_gtk_list_box_get_selected_row
	cbz	x0, LBB0_8
; %bb.1:
	bl	_gtk_list_box_row_get_index
	tbnz	x0, #63, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	w0, [x19, #28]
	bl	_ghb_array_len
	cmp	x20, x0
	b.ge	LBB0_8
; %bb.3:
	ldr	w0, [x19, #28]
	mov	x1, x20
	bl	_ghb_array_get
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ghb_dict_get
	mov	x20, x0
	ldr	w0, [x19, #24]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_GHB_WIDGET
	bl	_GTK_TEXT_VIEW
	mov	x21, x0
	bl	_gtk_text_view_get_buffer
	mov	x23, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_int
	mov	x22, x0
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_string
Lloh10:
	adrp	x24, _GHB_QUEUE_PENDING@GOTPAGE
Lloh11:
	ldr	x24, [x24, _GHB_QUEUE_PENDING@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w22, w8
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_5
; %bb.4:
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_5:
	bl	_ghb_string_value
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_ghb_ui_update
Lloh16:
	adrp	x8, _GHB_QUEUE_RUNNING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GHB_QUEUE_RUNNING@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_9
; %bb.6:
	ldr	x1, [x19, #16]
	cmp	x1, x23
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gtk_text_view_set_buffer
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x1, [x19]
	cmp	x1, x23
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_gtk_text_view_set_buffer
LBB0_11:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_string
	ldr	w8, [x24]
	cmp	w22, w8
	b.eq	LBB0_14
; %bb.12:
	mov	x1, x0
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_read_log
LBB0_14:
	ldr	x0, [x19, #8]
	bl	_g_free
	str	xzr, [x19, #8]
	ldr	x0, [x19]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gtk_text_buffer_set_text
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue_list"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"ActivityFilename"

	.comm	_GHB_QUEUE_PENDING,4,2          ; @GHB_QUEUE_PENDING
l_.str.5:                               ; @.str.5
	.asciz	"queue_activity_location"

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

	.comm	_GHB_QUEUE_RUNNING,4,2          ; @GHB_QUEUE_RUNNING
.subsections_via_symbols
