	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PrintAssociation
_PrintAssociation:                      ## @PrintAssociation
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	$0, -56(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -48(%rbp)
	movq	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	_KEY_READ@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	leaq	-56(%rbp), %r8
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_RegOpenKeyEx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r12
	movl	$-1, %ebx
	cmpq	(%r12), %rax
	jne	LBB0_13
## %bb.1:
	movq	-56(%rbp), %rdi
	movl	(%r14), %ecx
	leaq	-40(%rbp), %r8
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_RegOpenKeyEx
	movq	%rax, %r14
	movq	-56(%rbp), %rdi
	callq	_RegCloseKey
	movl	$0, %ebx
	cmpq	(%r12), %r14
	jne	LBB0_13
## %bb.2:
	movq	-40(%rbp), %rdi
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_RegQueryValueEx
	movq	_ERROR_FILE_NOT_FOUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	-40(%rbp), %rdi
	callq	_RegCloseKey
	jmp	LBB0_13
LBB0_4:
	cmpq	(%r12), %rax
	jne	LBB0_11
## %bb.5:
	movq	-48(%rbp), %rdi
	shlq	$2, %rdi
	callq	_cmd_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %r14
	movq	-40(%rbp), %rdi
	leaq	-48(%rbp), %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rax, %r8
	callq	_RegQueryValueEx
	movq	%rax, %rbx
	movq	-40(%rbp), %rdi
	callq	_RegCloseKey
	cmpq	(%r12), %rbx
	jne	LBB0_14
## %bb.7:
	cmpq	$0, -48(%rbp)
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ConOutPrintf
LBB0_9:
	movq	%r14, %rdi
	callq	_cmd_free
	movl	$1, %ebx
	jmp	LBB0_13
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	callq	_WARN
LBB0_11:
	movq	-40(%rbp), %rdi
	callq	_RegCloseKey
LBB0_12:
	movl	$-2, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r14, %rdi
	callq	_cmd_free
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_HKEY_LOCAL_MACHINE,8,3         ## @HKEY_LOCAL_MACHINE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SOFTWARE\\Classes"

	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_ERROR_FILE_NOT_FOUND,8,3       ## @ERROR_FILE_NOT_FOUND
L_.str.1:                               ## @.str.1
	.asciz	"Cannot allocate memory for fileType!\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s=%s\n"

	.no_dead_strip	_PrintAssociation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PrintAssociation
_PrintAssociation:                      ; @PrintAssociation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x1, x0
Lloh5:
	adrp	x21, _KEY_READ@GOTPAGE
Lloh6:
	ldr	x21, [x21, _KEY_READ@GOTPAGEOFF]
	ldr	w3, [x21]
	add	x4, sp, #24
	mov	x0, x20
	mov	w2, #0
	bl	_RegOpenKeyEx
Lloh7:
	adrp	x22, _ERROR_SUCCESS@GOTPAGE
Lloh8:
	ldr	x22, [x22, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	ldr	x0, [sp, #24]
	ldr	w3, [x21]
	add	x4, sp, #16
	mov	x1, x19
	mov	w2, #0
	bl	_RegOpenKeyEx
	mov	x20, x0
	ldr	x0, [sp, #24]
	bl	_RegCloseKey
	mov	w0, #0
	ldr	x8, [x22]
	cmp	x20, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	x0, [sp, #16]
	add	x5, sp, #8
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_RegQueryValueEx
Lloh9:
	adrp	x8, _ERROR_FILE_NOT_FOUND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR_FILE_NOT_FOUND@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
	ldr	x0, [sp, #16]
	bl	_RegCloseKey
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.7:
	ldr	x8, [sp, #8]
	lsl	x0, x8, #2
	bl	_cmd_alloc
	cbz	x0, LBB0_12
; %bb.8:
	mov	x20, x0
	ldr	x0, [sp, #16]
	add	x5, sp, #8
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_RegQueryValueEx
	mov	x21, x0
	ldr	x0, [sp, #16]
	bl	_RegCloseKey
	ldr	x8, [x22]
	cmp	x21, x8
	b.ne	LBB0_14
; %bb.9:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_11
; %bb.10:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__T
	mov	x1, x19
	mov	x2, x20
	bl	_ConOutPrintf
LBB0_11:
	mov	x0, x20
	bl	_cmd_free
	mov	w0, #1
	b	LBB0_5
LBB0_12:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_WARN
LBB0_13:
	ldr	x0, [sp, #16]
	bl	_RegCloseKey
	mov	w0, #-2
	b	LBB0_5
LBB0_14:
	mov	x0, x20
	bl	_cmd_free
	mov	w0, #-2
	b	LBB0_5
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_HKEY_LOCAL_MACHINE,8,3         ; @HKEY_LOCAL_MACHINE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SOFTWARE\\Classes"

	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_ERROR_FILE_NOT_FOUND,8,3       ; @ERROR_FILE_NOT_FOUND
l_.str.1:                               ; @.str.1
	.asciz	"Cannot allocate memory for fileType!\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s=%s\n"

	.no_dead_strip	_PrintAssociation
.subsections_via_symbols
