	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IAssemblyName_GetPath          ## -- Begin function IAssemblyName_GetPath
	.p2align	4, 0x90
_IAssemblyName_GetPath:                 ## @IAssemblyName_GetPath
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r14d
	movq	(%rdx), %rbx
	callq	_unsafe_impl_from_IAssemblyName
	movl	(%rax), %edi
	movq	_S_OK@GOTPCREL(%rip), %r12
	testl	%edi, %edi
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	xorl	%eax, %eax
	testl	%r14d, %r14d
	cmoveq	%rax, %rbx
	callq	_lstrlenW
	leaq	1(%rax), %rcx
	movq	%rcx, (%r13)
	cmpq	%rbx, %rax
	jge	LBB0_2
## %bb.3:
	movl	(%r15), %esi
	movl	%r14d, %edi
	callq	_lstrcpyW
	jmp	LBB0_4
LBB0_2:
	movq	_E_NOT_SUFFICIENT_BUFFER@GOTPCREL(%rip), %r12
LBB0_4:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_OK,4,2                       ## @S_OK
	.comm	_E_NOT_SUFFICIENT_BUFFER,4,2    ## @E_NOT_SUFFICIENT_BUFFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IAssemblyName_GetPath          ; -- Begin function IAssemblyName_GetPath
	.p2align	2
_IAssemblyName_GetPath:                 ; @IAssemblyName_GetPath
	.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, x2
	mov	x19, x1
	ldr	x22, [x2]
	bl	_unsafe_impl_from_IAssemblyName
	mov	x21, x0
	ldr	w0, [x0]
	cbz	w0, LBB0_3
; %bb.1:
	cmp	w19, #0
	csel	x22, xzr, x22, eq
	bl	_lstrlenW
	add	x8, x0, #1
	str	x8, [x20]
	cmp	x0, x22
	b.ge	LBB0_4
; %bb.2:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_lstrcpyW
LBB0_3:
Lloh0:
	adrp	x8, _S_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _E_NOT_SUFFICIENT_BUFFER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E_NOT_SUFFICIENT_BUFFER@GOTPAGEOFF]
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_S_OK,4,2                       ; @S_OK
	.comm	_E_NOT_SUFFICIENT_BUFFER,4,2    ; @E_NOT_SUFFICIENT_BUFFER
.subsections_via_symbols
