	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_realfs_getflags                ## -- Begin function realfs_getflags
	.p2align	4, 0x90
_realfs_getflags:                       ## @realfs_getflags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	movq	_F_GETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fcntl
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %edi
	popq	%rbp
	jmp	_open_flags_fake_from_real      ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_errno_map                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_F_GETFL,4,2                    ## @F_GETFL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_realfs_getflags                ; -- Begin function realfs_getflags
	.p2align	2
_realfs_getflags:                       ; @realfs_getflags
	.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
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _F_GETFL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_GETFL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_fcntl
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_open_flags_fake_from_real
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_errno_map
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_F_GETFL,4,2                    ; @F_GETFL
.subsections_via_symbols
