	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_initdesc                       ## -- Begin function initdesc
	.p2align	4, 0x90
_initdesc:                              ## @initdesc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_didfds@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_FSHIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_dcopy
	movq	_SHIN@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	movslq	%eax, %rdi
	movl	$1, %esi
	callq	_close_on_exec
	movq	_FSHOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	callq	_dcopy
	movq	_SHOUT@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_close_on_exec
	movq	_FSHDIAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$2, %edi
	callq	_dcopy
	movq	_SHDIAG@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_close_on_exec
	movl	(%r15), %edi
	movq	_FOLDSTD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dcopy
	movq	_OLDSTD@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_close_on_exec
	movq	_didcch@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	js	LBB0_3
## %bb.1:
	callq	_isatty
	movq	_isdiagatty@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	cmpq	$0, (%rbx)
	js	LBB0_4
## %bb.2:
	movq	(%r14), %rdi
	callq	_isatty
	jmp	LBB0_5
LBB0_3:
	movq	_isdiagatty@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	movq	_isoutatty@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_didfds,8,3                     ## @didfds
	.comm	_FSHIN,4,2                      ## @FSHIN
	.comm	_SHIN,4,2                       ## @SHIN
	.comm	_FSHOUT,4,2                     ## @FSHOUT
	.comm	_SHOUT,8,3                      ## @SHOUT
	.comm	_FSHDIAG,4,2                    ## @FSHDIAG
	.comm	_SHDIAG,8,3                     ## @SHDIAG
	.comm	_FOLDSTD,4,2                    ## @FOLDSTD
	.comm	_OLDSTD,8,3                     ## @OLDSTD
	.comm	_didcch,8,3                     ## @didcch
	.comm	_isdiagatty,8,3                 ## @isdiagatty
	.comm	_isoutatty,8,3                  ## @isoutatty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_initdesc                       ; -- Begin function initdesc
	.p2align	2
_initdesc:                              ; @initdesc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _didfds@GOTPAGE
Lloh1:
	ldr	x8, [x8, _didfds@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x8, _FSHIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FSHIN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_dcopy
Lloh6:
	adrp	x21, _SHIN@GOTPAGE
Lloh7:
	ldr	x21, [x21, _SHIN@GOTPAGEOFF]
	str	w0, [x21]
	sxtw	x0, w0
	mov	w1, #1
	bl	_close_on_exec
Lloh8:
	adrp	x8, _FSHOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FSHOUT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #1
	bl	_dcopy
Lloh11:
	adrp	x19, _SHOUT@GOTPAGE
Lloh12:
	ldr	x19, [x19, _SHOUT@GOTPAGEOFF]
	str	x0, [x19]
	mov	w1, #1
	bl	_close_on_exec
Lloh13:
	adrp	x8, _FSHDIAG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FSHDIAG@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	w0, #2
	bl	_dcopy
Lloh16:
	adrp	x20, _SHDIAG@GOTPAGE
Lloh17:
	ldr	x20, [x20, _SHDIAG@GOTPAGEOFF]
	str	x0, [x20]
	mov	w1, #1
	bl	_close_on_exec
	ldr	w0, [x21]
Lloh18:
	adrp	x8, _FOLDSTD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FOLDSTD@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_dcopy
Lloh21:
	adrp	x8, _OLDSTD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OLDSTD@GOTPAGEOFF]
Lloh23:
	str	x0, [x8]
	mov	w1, #1
	bl	_close_on_exec
Lloh24:
	adrp	x8, _didcch@GOTPAGE
Lloh25:
	ldr	x8, [x8, _didcch@GOTPAGEOFF]
Lloh26:
	str	xzr, [x8]
	ldr	x0, [x20]
	tbnz	x0, #63, LBB0_3
; %bb.1:
	bl	_isatty
	ldr	x8, [x20]
Lloh27:
	adrp	x9, _isdiagatty@GOTPAGE
Lloh28:
	ldr	x9, [x9, _isdiagatty@GOTPAGEOFF]
Lloh29:
	str	x0, [x9]
	tbnz	x8, #63, LBB0_4
; %bb.2:
	ldr	x0, [x19]
	bl	_isatty
	b	LBB0_5
LBB0_3:
	mov	x0, #0
Lloh30:
	adrp	x8, _isdiagatty@GOTPAGE
Lloh31:
	ldr	x8, [x8, _isdiagatty@GOTPAGEOFF]
Lloh32:
	str	xzr, [x8]
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
Lloh33:
	adrp	x8, _isoutatty@GOTPAGE
Lloh34:
	ldr	x8, [x8, _isoutatty@GOTPAGEOFF]
Lloh35:
	str	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_didfds,8,3                     ; @didfds
	.comm	_FSHIN,4,2                      ; @FSHIN
	.comm	_SHIN,4,2                       ; @SHIN
	.comm	_FSHOUT,4,2                     ; @FSHOUT
	.comm	_SHOUT,8,3                      ; @SHOUT
	.comm	_FSHDIAG,4,2                    ; @FSHDIAG
	.comm	_SHDIAG,8,3                     ; @SHDIAG
	.comm	_FOLDSTD,4,2                    ; @FOLDSTD
	.comm	_OLDSTD,8,3                     ; @OLDSTD
	.comm	_didcch,8,3                     ; @didcch
	.comm	_isdiagatty,8,3                 ; @isdiagatty
	.comm	_isoutatty,8,3                  ; @isoutatty
.subsections_via_symbols
