	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_script_str
_get_script_str:                        ## @get_script_str
	.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	_GENERIC_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPEN_EXISTING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_FILE_ATTRIBUTE_READONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	$0, (%rsp)
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_CreateFileW
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_GetFileSize
	movl	%eax, %r14d
	movq	_PAGE_READONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_CreateFileMappingW
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_CloseHandle
	cmpq	(%r15), %r13
	je	LBB0_4
## %bb.2:
	movq	_FILE_MAP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_MapViewOfFile
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_CloseHandle
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	_CP_ACP@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_MultiByteToWideChar
	movl	%eax, %ebx
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_SysAllocStringLen
	movq	%rax, %r12
	movl	(%r13), %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movq	%rax, %r8
	movl	%ebx, %r9d
	callq	_MultiByteToWideChar
	movq	%r15, %rdi
	callq	_UnmapViewOfFile
LBB0_4:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GENERIC_READ,4,2               ## @GENERIC_READ
	.comm	_OPEN_EXISTING,4,2              ## @OPEN_EXISTING
	.comm	_FILE_ATTRIBUTE_READONLY,4,2    ## @FILE_ATTRIBUTE_READONLY
	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_PAGE_READONLY,4,2              ## @PAGE_READONLY
	.comm	_FILE_MAP_READ,4,2              ## @FILE_MAP_READ
	.comm	_CP_ACP,4,2                     ## @CP_ACP
	.no_dead_strip	_get_script_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_script_str
_get_script_str:                        ; @get_script_str
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _GENERIC_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GENERIC_READ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OPEN_EXISTING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPEN_EXISTING@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x8, _FILE_ATTRIBUTE_READONLY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FILE_ATTRIBUTE_READONLY@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	w2, #0
	mov	x3, #0
	mov	x6, #0
	bl	_CreateFileW
	mov	x21, #0
Lloh9:
	adrp	x23, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh10:
	ldr	x23, [x23, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x1, #0
	bl	_GetFileSize
	mov	x19, x0
Lloh11:
	adrp	x8, _PAGE_READONLY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PAGE_READONLY@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, #0
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_CreateFileMappingW
	mov	x22, x0
	mov	x0, x20
	bl	_CloseHandle
	mov	x21, #0
	ldr	x8, [x23]
	cmp	x22, x8
	b.eq	LBB0_5
; %bb.2:
Lloh14:
	adrp	x8, _FILE_MAP_READ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FILE_MAP_READ@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_MapViewOfFile
	mov	x20, x0
	mov	x0, x22
	bl	_CloseHandle
	cbz	x20, LBB0_4
; %bb.3:
Lloh17:
	adrp	x23, _CP_ACP@GOTPAGE
Lloh18:
	ldr	x23, [x23, _CP_ACP@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	w1, #0
	mov	x2, x20
	mov	x3, x19
	mov	x4, #0
	mov	w5, #0
	bl	_MultiByteToWideChar
	mov	x22, x0
	mov	x0, #0
	mov	x1, x22
	bl	_SysAllocStringLen
	mov	x21, x0
	ldr	w0, [x23]
	mov	w1, #0
	mov	x2, x20
	mov	x3, x19
	mov	x4, x21
	mov	x5, x22
	bl	_MultiByteToWideChar
	mov	x0, x20
	bl	_UnmapViewOfFile
	b	LBB0_5
LBB0_4:
	mov	x21, #0
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_GENERIC_READ,4,2               ; @GENERIC_READ
	.comm	_OPEN_EXISTING,4,2              ; @OPEN_EXISTING
	.comm	_FILE_ATTRIBUTE_READONLY,4,2    ; @FILE_ATTRIBUTE_READONLY
	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_PAGE_READONLY,4,2              ; @PAGE_READONLY
	.comm	_FILE_MAP_READ,4,2              ; @FILE_MAP_READ
	.comm	_CP_ACP,4,2                     ; @CP_ACP
	.no_dead_strip	_get_script_str
.subsections_via_symbols
