	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdopendir                      ## -- Begin function fdopendir
	.p2align	4, 0x90
_fdopendir:                             ## @fdopendir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_F_SETFD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FD_CLOEXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	__fcntl
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	_DTF_HIDEW@GOTPCREL(%rip), %rax
	movq	_DTF_NODUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	%ebx, %edi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___opendir_common               ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_SETFD,4,2                    ## @F_SETFD
	.comm	_FD_CLOEXEC,4,2                 ## @FD_CLOEXEC
	.comm	_DTF_HIDEW,4,2                  ## @DTF_HIDEW
	.comm	_DTF_NODUP,4,2                  ## @DTF_NODUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdopendir                      ; -- Begin function fdopendir
	.p2align	2
_fdopendir:                             ; @fdopendir
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _F_SETFD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_SETFD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _FD_CLOEXEC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FD_CLOEXEC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	__fcntl
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _DTF_HIDEW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DTF_HIDEW@GOTPAGEOFF]
Lloh8:
	adrp	x9, _DTF_NODUP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DTF_NODUP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___opendir_common
LBB0_2:
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_F_SETFD,4,2                    ; @F_SETFD
	.comm	_FD_CLOEXEC,4,2                 ; @FD_CLOEXEC
	.comm	_DTF_HIDEW,4,2                  ; @DTF_HIDEW
	.comm	_DTF_NODUP,4,2                  ; @DTF_NODUP
.subsections_via_symbols
