	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pdb_fetch_file_info            ## -- Begin function pdb_fetch_file_info
	.p2align	4, 0x90
_pdb_fetch_file_info:                   ## @pdb_fetch_file_info
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_GENERIC_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FILE_SHARE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_OPEN_EXISTING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_FILE_ATTRIBUTE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	$0, (%rsp)
	xorl	%r13d, %r13d
	xorl	%ecx, %ecx
	callq	_CreateFileA
	movq	%rax, %r12
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	je	LBB0_4
## %bb.1:
	movq	_PAGE_READONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_CreateFileMappingW
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r15
	movq	_FILE_MAP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_MapViewOfFile
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movq	%rax, %r13
	leaq	-56(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_pdb_init
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_pdb_free_file
	movq	%r13, %rdi
	callq	_UnmapViewOfFile
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %r13
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rbx
LBB0_4:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r13, %r15
	testq	%r13, %r13
	je	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	callq	_CloseHandle
LBB0_6:
	cmpq	(%rbx), %r12
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	_CloseHandle
LBB0_8:
	movl	%r14d, %eax
	addq	$24, %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	_FILE_SHARE_READ,4,2            ## @FILE_SHARE_READ
	.comm	_OPEN_EXISTING,4,2              ## @OPEN_EXISTING
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ## @FILE_ATTRIBUTE_NORMAL
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to open .PDB file: %s\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	_pdb_fetch_file_info            ; -- Begin function pdb_fetch_file_info
	.p2align	2
_pdb_fetch_file_info:                   ; @pdb_fetch_file_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x20, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _GENERIC_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GENERIC_READ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _FILE_SHARE_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILE_SHARE_READ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _OPEN_EXISTING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OPEN_EXISTING@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _FILE_ATTRIBUTE_NORMAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FILE_ATTRIBUTE_NORMAL@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	mov	x3, #0
	mov	x6, #0
	bl	_CreateFileA
	mov	x19, x0
Lloh12:
	adrp	x24, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh13:
	ldr	x24, [x24, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
Lloh14:
	adrp	x8, _PAGE_READONLY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PAGE_READONLY@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_CreateFileMappingW
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.2:
Lloh17:
	adrp	x8, _FILE_MAP_READ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FILE_MAP_READ@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_MapViewOfFile
	cbz	x0, LBB0_5
; %bb.3:
	mov	x23, x0
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x23
	mov	x3, x22
	bl	_pdb_init
	mov	x20, x0
	add	x0, sp, #8
	bl	_pdb_free_file
	mov	x0, x23
	bl	_UnmapViewOfFile
	b	LBB0_6
LBB0_4:
	mov	x21, #0
LBB0_5:
	ldr	w1, [x20]
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
Lloh22:
	adrp	x8, _FALSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh24:
	ldr	w20, [x8]
	cbz	x21, LBB0_7
LBB0_6:
	mov	x0, x21
	bl	_CloseHandle
LBB0_7:
	ldr	x8, [x24]
	cmp	x19, x8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_CloseHandle
LBB0_9:
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GENERIC_READ,4,2               ; @GENERIC_READ
	.comm	_FILE_SHARE_READ,4,2            ; @FILE_SHARE_READ
	.comm	_OPEN_EXISTING,4,2              ; @OPEN_EXISTING
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ; @FILE_ATTRIBUTE_NORMAL
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to open .PDB file: %s\n"

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