	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_fdi_ptr
_get_fdi_ptr:                           ## @get_fdi_ptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rax
	movq	(%rdi), %rcx
	movq	_FDI_INT_MAGIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
LBB0_2:
	movq	_ERROR_INVALID_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	xorl	%eax, %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDI_INT_MAGIC,8,3              ## @FDI_INT_MAGIC
	.comm	_ERROR_INVALID_HANDLE,4,2       ## @ERROR_INVALID_HANDLE
	.no_dead_strip	_get_fdi_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_fdi_ptr
_get_fdi_ptr:                           ; @get_fdi_ptr
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FDI_INT_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FDI_INT_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ERROR_INVALID_HANDLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR_INVALID_HANDLE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SetLastError
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FDI_INT_MAGIC,8,3              ; @FDI_INT_MAGIC
	.comm	_ERROR_INVALID_HANDLE,4,2       ; @ERROR_INVALID_HANDLE
	.no_dead_strip	_get_fdi_ptr
.subsections_via_symbols
