	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_gtk__error
_perf_gtk__error:                       ## @perf_gtk__error
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_pgctx@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_perf_gtk__is_active_context
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_vasprintf
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_GTK_WINDOW
	movq	_GTK_DIALOG_DESTROY_WITH_PARENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_GTK_MESSAGE_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_GTK_BUTTONS_CLOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-32(%rbp), %r9
	leaq	L_.str.2(%rip), %r8
	movl	%eax, %edi
	callq	_gtk_message_dialog_new_with_markup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GTK_DIALOG
	movl	%eax, %edi
	callq	_gtk_dialog_run
	movq	%rbx, %rdi
	callq	_gtk_widget_destroy
	movq	-32(%rbp), %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	(%r15), %edi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_vfprintf
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movl	$-1, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pgctx,8,3                      ## @pgctx
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error:\n"

L_.str.1:                               ## @.str.1
	.asciz	"\n"

	.comm	_GTK_DIALOG_DESTROY_WITH_PARENT,4,2 ## @GTK_DIALOG_DESTROY_WITH_PARENT
	.comm	_GTK_MESSAGE_ERROR,4,2          ## @GTK_MESSAGE_ERROR
	.comm	_GTK_BUTTONS_CLOSE,4,2          ## @GTK_BUTTONS_CLOSE
L_.str.2:                               ## @.str.2
	.asciz	"<b>Error</b>\n\n%s"

	.no_dead_strip	_perf_gtk__error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_gtk__error
_perf_gtk__error:                       ; @perf_gtk__error
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _pgctx@GOTPAGE
Lloh1:
	ldr	x21, [x21, _pgctx@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_perf_gtk__is_active_context
	cbz	w0, LBB0_3
; %bb.1:
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	bl	_vasprintf
	tbnz	x0, #63, LBB0_3
; %bb.2:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_GTK_WINDOW
Lloh2:
	adrp	x8, _GTK_DIALOG_DESTROY_WITH_PARENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GTK_DIALOG_DESTROY_WITH_PARENT@GOTPAGEOFF]
Lloh4:
	adrp	x9, _GTK_MESSAGE_ERROR@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GTK_MESSAGE_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	ldr	w2, [x9]
Lloh8:
	adrp	x8, _GTK_BUTTONS_CLOSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GTK_BUTTONS_CLOSE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	ldr	x5, [sp, #8]
Lloh11:
	adrp	x4, l_.str.2@PAGE
Lloh12:
	add	x4, x4, l_.str.2@PAGEOFF
	bl	_gtk_message_dialog_new_with_markup
	mov	x19, x0
	bl	_GTK_DIALOG
	bl	_gtk_dialog_run
	mov	x0, x19
	bl	_gtk_widget_destroy
	ldr	x0, [sp, #8]
	bl	_free
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x21, _stderr@GOTPAGE
Lloh14:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x21]
	mov	x1, x20
	mov	x2, x19
	bl	_vfprintf
	ldr	w0, [x21]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #-1
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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_pgctx,8,3                      ; @pgctx
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error:\n"

l_.str.1:                               ; @.str.1
	.asciz	"\n"

	.comm	_GTK_DIALOG_DESTROY_WITH_PARENT,4,2 ; @GTK_DIALOG_DESTROY_WITH_PARENT
	.comm	_GTK_MESSAGE_ERROR,4,2          ; @GTK_MESSAGE_ERROR
	.comm	_GTK_BUTTONS_CLOSE,4,2          ; @GTK_BUTTONS_CLOSE
l_.str.2:                               ; @.str.2
	.asciz	"<b>Error</b>\n\n%s"

	.no_dead_strip	_perf_gtk__error
.subsections_via_symbols
