	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function VGLAbort
_VGLAbort:                              ## @VGLAbort
	.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	%edi, %r15d
	movq	_VGLAbortPending@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGUSR2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGBUS@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_SIGSEGV@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_3
LBB0_2:
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_signal
	leaq	-28(%rbp), %r14
	movq	%r14, %rdi
	callq	_sigemptyset
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_sigaddset
	movq	_SIG_UNBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	xorl	%eax, %eax
	callq	_VGLEnd
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_kill
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VGLAbortPending,4,2            ## @VGLAbortPending
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGUSR2,4,2                    ## @SIGUSR2
	.comm	_SIGBUS,4,2                     ## @SIGBUS
	.comm	_SIGSEGV,4,2                    ## @SIGSEGV
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_SIG_UNBLOCK,4,2                ## @SIG_UNBLOCK
	.no_dead_strip	_VGLAbort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VGLAbort
_VGLAbort:                              ; @VGLAbort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _VGLAbortPending@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VGLAbortPending@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	str	w9, [x8]
Lloh3:
	adrp	x8, _SIGINT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x20, _SIG_IGN@GOTPAGE
Lloh7:
	ldr	x20, [x20, _SIG_IGN@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_signal
Lloh8:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_signal
Lloh11:
	adrp	x8, _SIGUSR2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIGUSR2@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_signal
Lloh14:
	adrp	x8, _SIGBUS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SIGBUS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _SIGSEGV@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SIGSEGV@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh20:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_signal
	add	x0, sp, #12
	bl	_sigemptyset
	add	x0, sp, #12
	mov	x1, x19
	bl	_sigaddset
Lloh23:
	adrp	x8, _SIG_UNBLOCK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SIG_UNBLOCK@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	add	x1, sp, #12
	mov	x2, #0
	bl	_sigprocmask
	bl	_VGLEnd
	bl	_getpid
	mov	x1, x19
	bl	_kill
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_VGLAbortPending,4,2            ; @VGLAbortPending
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGUSR2,4,2                    ; @SIGUSR2
	.comm	_SIGBUS,4,2                     ; @SIGBUS
	.comm	_SIGSEGV,4,2                    ; @SIGSEGV
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_SIG_UNBLOCK,4,2                ; @SIG_UNBLOCK
	.no_dead_strip	_VGLAbort
.subsections_via_symbols
