	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_countdown_dialog           ## -- Begin function ghb_countdown_dialog
	.p2align	4, 0x90
_ghb_countdown_dialog:                  ## @ghb_countdown_dialog
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	16(%rbp), %eax
	movq	%rsi, -64(%rbp)
	movq	%rdx, -72(%rbp)
	movl	%eax, -80(%rbp)
	movq	%r9, -88(%rbp)
	movl	(%r9), %edi
	leaq	L_.str(%rip), %rsi
	callq	_GHB_WIDGET
	movl	%eax, %edi
	callq	_GTK_WINDOW
	movq	%rax, %r14
	movq	_GTK_DIALOG_MODAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_GTK_BUTTONS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%eax, %r8d
	movq	%rbx, %r9
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	%r12
	callq	_gtk_message_dialog_new
	addq	$16, %rsp
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GTK_DIALOG
	movq	_GTK_RESPONSE_CANCEL@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movl	%eax, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_gtk_dialog_add_buttons
	movq	%rbx, %rdi
	callq	_GTK_MESSAGE_DIALOG
	movl	%eax, -96(%rbp)
	leaq	-96(%rbp), %rdx
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_g_timeout_add
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_GTK_DIALOG
	movl	%eax, %edi
	callq	_gtk_dialog_run
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_gtk_widget_destroy
	cmpq	(%r12), %r15
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_g_main_context_default
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_g_main_context_find_source_by_id
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	callq	_g_source_destroy
LBB0_3:
	addq	$56, %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	"hb_window"

	.comm	_GTK_DIALOG_MODAL,4,2           ## @GTK_DIALOG_MODAL
	.comm	_GTK_BUTTONS_NONE,4,2           ## @GTK_BUTTONS_NONE
L_.str.1:                               ## @.str.1
	.asciz	"%s\n\n%s in %d seconds ..."

	.comm	_GTK_RESPONSE_CANCEL,8,3        ## @GTK_RESPONSE_CANCEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_countdown_dialog           ; -- Begin function ghb_countdown_dialog
	.p2align	2
_ghb_countdown_dialog:                  ; @ghb_countdown_dialog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x6
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	stp	x2, x1, [sp, #32]
	str	w6, [sp, #24]
	str	x5, [sp, #16]
	ldr	w0, [x5]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_GHB_WIDGET
	bl	_GTK_WINDOW
	mov	x25, x0
Lloh2:
	adrp	x8, _GTK_DIALOG_MODAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GTK_DIALOG_MODAL@GOTPAGEOFF]
Lloh4:
	ldr	w26, [x8]
Lloh5:
	adrp	x8, _GTK_BUTTONS_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GTK_BUTTONS_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w27, [x8]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x4, x0
	mov	x0, x25
	mov	x1, x26
	mov	x2, x24
	mov	x3, x27
	mov	x5, x23
	mov	x6, x22
	mov	x7, x20
	bl	_gtk_message_dialog_new
	mov	x20, x0
	bl	_GTK_DIALOG
Lloh10:
	adrp	x22, _GTK_RESPONSE_CANCEL@GOTPAGE
Lloh11:
	ldr	x22, [x22, _GTK_RESPONSE_CANCEL@GOTPAGEOFF]
	ldr	x2, [x22]
	mov	x1, x21
	mov	x3, #0
	bl	_gtk_dialog_add_buttons
	mov	x0, x20
	bl	_GTK_MESSAGE_DIALOG
	str	w0, [sp, #8]
	add	x2, sp, #8
	mov	w0, #1000
	mov	x1, x19
	bl	_g_timeout_add
	mov	x19, x0
	mov	x0, x20
	bl	_GTK_DIALOG
	bl	_gtk_dialog_run
	mov	x21, x0
	mov	x0, x20
	bl	_gtk_widget_destroy
	ldr	x8, [x22]
	cmp	x21, x8
	b.ne	LBB0_3
; %bb.1:
	bl	_g_main_context_default
	mov	x1, x19
	bl	_g_main_context_find_source_by_id
	cbz	x0, LBB0_3
; %bb.2:
	bl	_g_source_destroy
LBB0_3:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hb_window"

	.comm	_GTK_DIALOG_MODAL,4,2           ; @GTK_DIALOG_MODAL
	.comm	_GTK_BUTTONS_NONE,4,2           ; @GTK_BUTTONS_NONE
l_.str.1:                               ; @.str.1
	.asciz	"%s\n\n%s in %d seconds ..."

	.comm	_GTK_RESPONSE_CANCEL,8,3        ; @GTK_RESPONSE_CANCEL
.subsections_via_symbols
