	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unregister_coclasses
_unregister_coclasses:                  ## @unregister_coclasses
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_HKEY_CLASSES_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_clsid_keyname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KEY_READ@GOTPCREL(%rip), %rax
	movq	_KEY_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-212(%rbp), %r8
	xorl	%edx, %edx
	callq	_RegOpenKeyExW
	movq	_ERROR_FILE_NOT_FOUND@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %rbx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	%rax, %rbx
	jne	LBB0_18
## %bb.2:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.3:
	leaq	-208(%rbp), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rbx, %rcx
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	40(%r14), %rdi
	addq	$24, %r14
	testq	%rdi, %rdi
	je	LBB0_17
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rsi
	movl	$39, %edx
	callq	_StringFromGUID2
	movl	-212(%rbp), %edi
	movq	%r15, %rsi
	callq	_RegDeleteTreeW
	movq	(%r13), %rbx
	movq	%rbx, %rcx
	cmpq	(%r12), %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rbx, %rcx
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_HKEY_CLASSES_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RegDeleteTreeA
	movq	(%r13), %rbx
	movq	%rbx, %rcx
	cmpq	(%r12), %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rcx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rbx, %rcx
	jne	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_HKEY_CLASSES_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RegDeleteTreeA
	movq	(%r13), %rbx
	movq	%rbx, %rcx
	cmpq	(%r12), %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rcx
	jmp	LBB0_14
LBB0_15:
	movq	%rcx, %rbx
LBB0_17:
	movl	-212(%rbp), %edi
	callq	_RegCloseKey
	movq	(%r13), %rax
LBB0_18:
	cmpq	%rax, %rbx
	jne	LBB0_19
LBB0_20:
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_19:
	movq	%rbx, %rdi
	callq	_HRESULT_FROM_WIN32
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_23
## %bb.22:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_HKEY_CLASSES_ROOT,4,2          ## @HKEY_CLASSES_ROOT
	.comm	_clsid_keyname,4,2              ## @clsid_keyname
	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.comm	_KEY_WRITE,4,2                  ## @KEY_WRITE
	.comm	_ERROR_FILE_NOT_FOUND,8,3       ## @ERROR_FILE_NOT_FOUND
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_unregister_coclasses
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unregister_coclasses
_unregister_coclasses:                  ; @unregister_coclasses
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _HKEY_CLASSES_ROOT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _HKEY_CLASSES_ROOT@GOTPAGEOFF]
	stur	x8, [x29, #-56]
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _clsid_keyname@GOTPAGE
Lloh6:
	ldr	x8, [x8, _clsid_keyname@GOTPAGEOFF]
Lloh7:
	adrp	x9, _KEY_READ@GOTPAGE
Lloh8:
	ldr	x9, [x9, _KEY_READ@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	ldr	w8, [x9]
Lloh11:
	adrp	x9, _KEY_WRITE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _KEY_WRITE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x4, sp, #8
	mov	w2, #0
	bl	_RegOpenKeyExW
Lloh14:
	adrp	x23, _ERROR_FILE_NOT_FOUND@GOTPAGE
Lloh15:
	ldr	x23, [x23, _ERROR_FILE_NOT_FOUND@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.1:
	mov	x20, x0
Lloh16:
	adrp	x22, _ERROR_SUCCESS@GOTPAGE
Lloh17:
	ldr	x22, [x22, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.2:
	ldr	x0, [x19, #16]
	cbnz	x0, LBB0_4
	b	LBB0_10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #40]
	add	x19, x19, #24
	cbz	x0, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	w2, #39
	bl	_StringFromGUID2
	ldr	w0, [sp, #8]
	add	x1, sp, #12
	bl	_RegDeleteTreeW
	ldr	x8, [x23]
	ldr	x20, [x22]
	cmp	x0, x8
	csel	x8, x20, x0, eq
	cmp	x8, x20
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_RegDeleteTreeA
	ldr	x8, [x23]
	ldr	x20, [x22]
	cmp	x0, x8
	csel	x8, x20, x0, eq
	cmp	x8, x20
	b.ne	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x19]
	cbz	x1, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_RegDeleteTreeA
	ldr	x8, [x23]
	ldr	x20, [x22]
	cmp	x0, x8
	csel	x8, x20, x0, eq
	cmp	x8, x20
	b.eq	LBB0_3
LBB0_9:
	mov	x20, x8
LBB0_10:
	ldr	w0, [sp, #8]
	bl	_RegCloseKey
	ldr	x8, [x22]
LBB0_11:
	cmp	x20, x8
	b.ne	LBB0_13
LBB0_12:
Lloh18:
	adrp	x8, _S_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_14
LBB0_13:
	mov	x0, x20
	bl	_HRESULT_FROM_WIN32
LBB0_14:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_HKEY_CLASSES_ROOT,4,2          ; @HKEY_CLASSES_ROOT
	.comm	_clsid_keyname,4,2              ; @clsid_keyname
	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.comm	_KEY_WRITE,4,2                  ; @KEY_WRITE
	.comm	_ERROR_FILE_NOT_FOUND,8,3       ; @ERROR_FILE_NOT_FOUND
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_unregister_coclasses
.subsections_via_symbols
