	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unregister_interfaces
_unregister_interfaces:                 ## @unregister_interfaces
	.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	_interface_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), %r13
	cmpq	(%r13), %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	%rax, %rbx
	jne	LBB0_9
## %bb.2:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.3:
	addq	$8, %r14
	leaq	-208(%rbp), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rsi
	movl	$39, %edx
	callq	_StringFromGUID2
	movl	-212(%rbp), %edi
	movq	%r15, %rsi
	callq	_pRegDeleteTreeW
	movq	(%r12), %rcx
	movq	%rcx, %rbx
	cmpq	(%r13), %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rcx, %rbx
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rdi
	addq	$8, %r14
	movq	%rcx, %rbx
	testq	%rdi, %rdi
	jne	LBB0_5
LBB0_8:
	movl	-212(%rbp), %edi
	callq	_RegCloseKey
	movq	(%r12), %rax
LBB0_9:
	cmpq	%rax, %rbx
	jne	LBB0_10
LBB0_11:
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_10:
	movq	%rbx, %rdi
	callq	_HRESULT_FROM_WIN32
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	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	_interface_keyname,4,2          ## @interface_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_interfaces
.subsections_via_symbols

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