	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_assembly_directory
_get_assembly_directory:                ## @get_assembly_directory
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movl	%edi, %r15d
	callq	_GetWindowsDirectoryW
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	leal	(%r12,%r15), %edi
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	_get_assembly_directory.gac(%rip), %rbx
	movq	%rbx, %rsi
	callq	_lstrcpyW
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r12,%rax), %edi
	decl	%edi
	jmp	LBB0_3
LBB0_2:
	leaq	_get_assembly_directory.dotnet(%rip), %rbx
	movq	%rbx, %rsi
	callq	_lstrcpyW
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	addl	%eax, %r12d
	leal	(%r15,%r12), %edi
	decl	%edi
	leaq	_get_assembly_directory.gac+1(%rip), %rsi
	callq	_lstrcpyW
	leaq	_get_assembly_directory.gac(%rip), %rdi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r12), %edi
	addl	$-3, %edi
LBB0_3:
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.4:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	addl	%r15d, %edi
	leaq	_get_assembly_directory.msil(%rip), %rsi
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	callq	_WARN
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_7:
	addl	%r15d, %edi
	leaq	_get_assembly_directory.x86(%rip), %rsi
	jmp	LBB0_9
LBB0_8:
	addl	%r15d, %edi
	leaq	_get_assembly_directory.amd64(%rip), %rsi
LBB0_9:
	callq	_lstrcpyW
LBB0_10:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @get_assembly_directory.dotnet
_get_assembly_directory.dotnet:
	.asciz	"\\Microsoft.NET\\"

_get_assembly_directory.gac:            ## @get_assembly_directory.gac
	.asciz	"\\assembly\\GAC"

_get_assembly_directory.msil:           ## @get_assembly_directory.msil
	.asciz	"_MSIL"

_get_assembly_directory.x86:            ## @get_assembly_directory.x86
	.asciz	"_32"

_get_assembly_directory.amd64:          ## @get_assembly_directory.amd64
	.asciz	"_64"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"v4.0.30319"

L_.str.1:                               ## @.str.1
	.asciz	"unhandled architecture %u\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_get_assembly_directory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_assembly_directory
_get_assembly_directory:                ; @get_assembly_directory
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x22, x2
	mov	x19, x0
	bl	_GetWindowsDirectoryW
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	mov	x8, x0
	add	w0, w21, w19
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x22, _get_assembly_directory.gac@PAGE
Lloh3:
	add	x22, x22, _get_assembly_directory.gac@PAGEOFF
	mov	x1, x22
	bl	_lstrcpyW
	mov	x0, x22
	bl	_ARRAY_SIZE
	add	w8, w21, w0
	sub	w9, w8, #1
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x22, _get_assembly_directory.dotnet@PAGE
Lloh5:
	add	x22, x22, _get_assembly_directory.dotnet@PAGEOFF
	mov	x1, x22
	bl	_lstrcpyW
	mov	x0, x22
	bl	_ARRAY_SIZE
	add	w8, w21, w0
	sub	w22, w8, #1
	add	w0, w22, w19
Lloh6:
	adrp	x21, _get_assembly_directory.gac@PAGE
Lloh7:
	add	x21, x21, _get_assembly_directory.gac@PAGEOFF
	add	x1, x21, #1
	bl	_lstrcpyW
	mov	x0, x21
	bl	_ARRAY_SIZE
	add	w8, w0, w22
	sub	w9, w8, #2
LBB0_3:
	sub	w10, w20, #128
	cmp	w10, #3
	b.hi	LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	adrp	x11, lJTI0_0@PAGE
Lloh11:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_5
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_5:
	add	w0, w9, w19
Lloh12:
	adrp	x1, _get_assembly_directory.msil@PAGE
Lloh13:
	add	x1, x1, _get_assembly_directory.msil@PAGEOFF
	b	LBB0_9
LBB0_6:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_WARN
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
	add	w0, w9, w19
Lloh18:
	adrp	x1, _get_assembly_directory.x86@PAGE
Lloh19:
	add	x1, x1, _get_assembly_directory.x86@PAGEOFF
	b	LBB0_9
LBB0_8:
	add	w0, w9, w19
Lloh20:
	adrp	x1, _get_assembly_directory.amd64@PAGE
Lloh21:
	add	x1, x1, _get_assembly_directory.amd64@PAGEOFF
LBB0_9:
	bl	_lstrcpyW
Lloh22:
	adrp	x8, _TRUE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
                                        ; -- End function
_get_assembly_directory.dotnet:         ; @get_assembly_directory.dotnet
	.asciz	"\\Microsoft.NET\\"

_get_assembly_directory.gac:            ; @get_assembly_directory.gac
	.asciz	"\\assembly\\GAC"

_get_assembly_directory.msil:           ; @get_assembly_directory.msil
	.asciz	"_MSIL"

_get_assembly_directory.x86:            ; @get_assembly_directory.x86
	.asciz	"_32"

_get_assembly_directory.amd64:          ; @get_assembly_directory.amd64
	.asciz	"_64"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"v4.0.30319"

l_.str.1:                               ; @.str.1
	.asciz	"unhandled architecture %u\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_get_assembly_directory
.subsections_via_symbols
