	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_queue_update_status        ## -- Begin function ghb_queue_update_status
	.p2align	4, 0x90
_ghb_queue_update_status:               ## @ghb_queue_update_status
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_ghb_array_len
	testl	%ebx, %ebx
	js	LBB0_8
## %bb.1:
	cmpl	%ebx, %eax
	jle	LBB0_8
## %bb.2:
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_ghb_array_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_ghb_dict_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %r12
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_ghb_dict_get_int
	movq	_GHB_QUEUE_RUNNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_GHB_QUEUE_PENDING@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ghb_queue_progress_set_visible
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_ghb_dict_set_int
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ghb_queue_update_status_icon   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uiSettings"

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

	.comm	_GHB_QUEUE_RUNNING,8,3          ## @GHB_QUEUE_RUNNING
	.comm	_GHB_QUEUE_PENDING,4,2          ## @GHB_QUEUE_PENDING
	.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_queue_update_status        ; -- Begin function ghb_queue_update_status
	.p2align	2
_ghb_queue_update_status:               ; @ghb_queue_update_status
	.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, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_ghb_array_len
	tbnz	w19, #31, LBB0_5
; %bb.1:
	cmp	w0, w19
	b.le	LBB0_5
; %bb.2:
	ldr	w0, [x20]
	mov	x1, x19
	bl	_ghb_array_get
	cbz	x0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ghb_dict_get
	cbz	x0, LBB0_5
; %bb.4:
	mov	x22, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ghb_dict_get_int
Lloh4:
	adrp	x8, _GHB_QUEUE_RUNNING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GHB_QUEUE_RUNNING@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_5:
	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
LBB0_6:
Lloh7:
	adrp	x8, _GHB_QUEUE_PENDING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GHB_QUEUE_PENDING@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_8
; %bb.7:
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_ghb_queue_progress_set_visible
LBB0_8:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	bl	_ghb_dict_set_int
	mov	x0, x20
	mov	x1, x19
	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	_ghb_queue_update_status_icon
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uiSettings"

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

	.comm	_GHB_QUEUE_RUNNING,8,3          ; @GHB_QUEUE_RUNNING
	.comm	_GHB_QUEUE_PENDING,4,2          ; @GHB_QUEUE_PENDING
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
