	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SdbpGetLongPathName            ## -- Begin function SdbpGetLongPathName
	.p2align	4, 0x90
_SdbpGetLongPathName:                   ## @SdbpGetLongPathName
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movl	(%rsi), %eax
	movl	8(%rsi), %esi
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movl	%ebx, %edx
	callq	_GetLongPathNameW
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	cmpl	%ebx, %eax
	jl	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_SdbpResizeTempStr
	movl	(%r14), %eax
	movl	8(%r14), %esi
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movl	%r15d, %edi
	movl	%ebx, %edx
	callq	_GetLongPathNameW
LBB0_3:
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	cmpl	%ebx, %eax
	jge	LBB0_6
## %bb.5:
	addl	%eax, %eax
	movl	%eax, 4(%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	callq	_GetLastError
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_SHIM_ERR
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to convert short path to long path error 0x%lx\n"

	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SdbpGetLongPathName            ; -- Begin function SdbpGetLongPathName
	.p2align	2
_SdbpGetLongPathName:                   ; @SdbpGetLongPathName
	.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	x19, x1
	mov	x21, x0
	ldr	w8, [x1]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w20, w8, #1
	ldr	w1, [x1, #8]
	mov	x2, x20
	bl	_GetLongPathNameW
	cbz	w0, LBB0_4
; %bb.1:
	mov	x1, x0
	cmp	w0, w20
	b.lt	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_SdbpResizeTempStr
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w20, w8, #1
	ldr	w1, [x19, #8]
	mov	x0, x21
	mov	x2, x20
	bl	_GetLongPathNameW
	mov	x1, x0
LBB0_3:
	cmp	w1, #0
	ccmp	w1, w20, #0, ne
	b.lt	LBB0_5
LBB0_4:
	bl	_GetLastError
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SHIM_ERR
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	lsl	w8, w1, #1
	str	w8, [x19, #4]
Lloh4:
	adrp	x8, _TRUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_6:
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to convert short path to long path error 0x%lx\n"

	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
