	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DllUnregisterServer            ## -- Begin function DllUnregisterServer
	.p2align	4, 0x90
_DllUnregisterServer:                   ## @DllUnregisterServer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$408, %rsp                      ## imm = 0x198
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_event_source@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-416(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$400, %esi                      ## imm = 0x190
	callq	__snprintf
	movq	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_RegDeleteKey
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_MB_OK@GOTPCREL(%rip), %rax
	movq	_MB_ICONSTOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%edi, %edi
	callq	_MessageBox
	movq	_SELFREG_E_TYPELIB@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_S_OK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$408, %rsp                      ## imm = 0x198
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\%s"

	.comm	_event_source,4,2               ## @event_source
	.comm	_HKEY_LOCAL_MACHINE,4,2         ## @HKEY_LOCAL_MACHINE
L_.str.1:                               ## @.str.1
	.asciz	"Could not delete the registry key."

L_.str.2:                               ## @.str.2
	.asciz	"PostgreSQL error"

	.comm	_MB_OK,4,2                      ## @MB_OK
	.comm	_MB_ICONSTOP,4,2                ## @MB_ICONSTOP
	.comm	_SELFREG_E_TYPELIB,4,2          ## @SELFREG_E_TYPELIB
	.comm	_S_OK,4,2                       ## @S_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DllUnregisterServer            ; -- Begin function DllUnregisterServer
	.p2align	2
_DllUnregisterServer:                   ; @DllUnregisterServer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #448
	.cfi_def_cfa_offset 448
	stp	x28, x27, [sp, #416]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #432]            ; 16-byte Folded Spill
	add	x29, sp, #432
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w27, -24
	.cfi_offset w28, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _event_source@GOTPAGE
Lloh4:
	ldr	x8, [x8, _event_source@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #400
	bl	__snprintf
Lloh8:
	adrp	x8, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_RegDeleteKey
	cbz	x0, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _MB_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MB_OK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _MB_ICONSTOP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MB_ICONSTOP@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, #0
	bl	_MessageBox
Lloh21:
	adrp	x8, _SELFREG_E_TYPELIB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SELFREG_E_TYPELIB@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh23:
	adrp	x8, _S_OK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldur	x8, [x29, #-24]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #432]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #416]            ; 16-byte Folded Reload
	add	sp, sp, #448
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\%s"

	.comm	_event_source,4,2               ; @event_source
	.comm	_HKEY_LOCAL_MACHINE,4,2         ; @HKEY_LOCAL_MACHINE
l_.str.1:                               ; @.str.1
	.asciz	"Could not delete the registry key."

l_.str.2:                               ; @.str.2
	.asciz	"PostgreSQL error"

	.comm	_MB_OK,4,2                      ; @MB_OK
	.comm	_MB_ICONSTOP,4,2                ; @MB_ICONSTOP
	.comm	_SELFREG_E_TYPELIB,4,2          ; @SELFREG_E_TYPELIB
	.comm	_S_OK,4,2                       ; @S_OK
.subsections_via_symbols
