	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function maybe_redirect_std_handles
_maybe_redirect_std_handles:            ## @maybe_redirect_std_handles
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_STD_INPUT_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GENERIC_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_FILE_ATTRIBUTE_NORMAL@GOTPCREL(%rip), %r14
	movl	(%r14), %r8d
	leaq	l_.str(%rip), %rdi
	xorl	%edx, %edx
	callq	_maybe_redirect_std_handle
	movq	_STD_OUTPUT_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GENERIC_WRITE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	(%r14), %r8d
	leaq	l_.str.1(%rip), %rdi
	movl	$1, %edx
	callq	_maybe_redirect_std_handle
	movq	_STD_ERROR_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	_FILE_FLAG_NO_BUFFERING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	l_.str.2(%rip), %rdi
	movl	$2, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_maybe_redirect_std_handle      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	71                              ## 0x47
	.long	73                              ## 0x49
	.long	84                              ## 0x54
	.long	95                              ## 0x5f
	.long	82                              ## 0x52
	.long	69                              ## 0x45
	.long	68                              ## 0x44
	.long	73                              ## 0x49
	.long	82                              ## 0x52
	.long	69                              ## 0x45
	.long	67                              ## 0x43
	.long	84                              ## 0x54
	.long	95                              ## 0x5f
	.long	83                              ## 0x53
	.long	84                              ## 0x54
	.long	68                              ## 0x44
	.long	73                              ## 0x49
	.long	78                              ## 0x4e
	.long	0                               ## 0x0

	.comm	_STD_INPUT_HANDLE,4,2           ## @STD_INPUT_HANDLE
	.comm	_GENERIC_READ,4,2               ## @GENERIC_READ
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ## @FILE_ATTRIBUTE_NORMAL
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	71                              ## 0x47
	.long	73                              ## 0x49
	.long	84                              ## 0x54
	.long	95                              ## 0x5f
	.long	82                              ## 0x52
	.long	69                              ## 0x45
	.long	68                              ## 0x44
	.long	73                              ## 0x49
	.long	82                              ## 0x52
	.long	69                              ## 0x45
	.long	67                              ## 0x43
	.long	84                              ## 0x54
	.long	95                              ## 0x5f
	.long	83                              ## 0x53
	.long	84                              ## 0x54
	.long	68                              ## 0x44
	.long	79                              ## 0x4f
	.long	85                              ## 0x55
	.long	84                              ## 0x54
	.long	0                               ## 0x0

	.comm	_STD_OUTPUT_HANDLE,4,2          ## @STD_OUTPUT_HANDLE
	.comm	_GENERIC_WRITE,4,2              ## @GENERIC_WRITE
	.p2align	2                               ## @.str.2
l_.str.2:
	.long	71                              ## 0x47
	.long	73                              ## 0x49
	.long	84                              ## 0x54
	.long	95                              ## 0x5f
	.long	82                              ## 0x52
	.long	69                              ## 0x45
	.long	68                              ## 0x44
	.long	73                              ## 0x49
	.long	82                              ## 0x52
	.long	69                              ## 0x45
	.long	67                              ## 0x43
	.long	84                              ## 0x54
	.long	95                              ## 0x5f
	.long	83                              ## 0x53
	.long	84                              ## 0x54
	.long	68                              ## 0x44
	.long	69                              ## 0x45
	.long	82                              ## 0x52
	.long	82                              ## 0x52
	.long	0                               ## 0x0

	.comm	_STD_ERROR_HANDLE,4,2           ## @STD_ERROR_HANDLE
	.comm	_FILE_FLAG_NO_BUFFERING,4,2     ## @FILE_FLAG_NO_BUFFERING
	.no_dead_strip	_maybe_redirect_std_handles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function maybe_redirect_std_handles
_maybe_redirect_std_handles:            ; @maybe_redirect_std_handles
	.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
Lloh0:
	adrp	x8, _STD_INPUT_HANDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STD_INPUT_HANDLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _GENERIC_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GENERIC_READ@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x19, _FILE_ATTRIBUTE_NORMAL@GOTPAGE
Lloh7:
	ldr	x19, [x19, _FILE_ATTRIBUTE_NORMAL@GOTPAGEOFF]
	ldr	w4, [x19]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #0
	bl	_maybe_redirect_std_handle
Lloh10:
	adrp	x8, _STD_OUTPUT_HANDLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _STD_OUTPUT_HANDLE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x20, _GENERIC_WRITE@GOTPAGE
Lloh14:
	ldr	x20, [x20, _GENERIC_WRITE@GOTPAGEOFF]
	ldr	w3, [x20]
	ldr	w4, [x19]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #1
	bl	_maybe_redirect_std_handle
Lloh17:
	adrp	x8, _STD_ERROR_HANDLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _STD_ERROR_HANDLE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh20:
	adrp	x8, _FILE_FLAG_NO_BUFFERING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FILE_FLAG_NO_BUFFERING@GOTPAGEOFF]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh24:
	ldr	w4, [x8]
	mov	w2, #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_maybe_redirect_std_handle
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	71                              ; 0x47
	.long	73                              ; 0x49
	.long	84                              ; 0x54
	.long	95                              ; 0x5f
	.long	82                              ; 0x52
	.long	69                              ; 0x45
	.long	68                              ; 0x44
	.long	73                              ; 0x49
	.long	82                              ; 0x52
	.long	69                              ; 0x45
	.long	67                              ; 0x43
	.long	84                              ; 0x54
	.long	95                              ; 0x5f
	.long	83                              ; 0x53
	.long	84                              ; 0x54
	.long	68                              ; 0x44
	.long	73                              ; 0x49
	.long	78                              ; 0x4e
	.long	0                               ; 0x0

	.comm	_STD_INPUT_HANDLE,4,2           ; @STD_INPUT_HANDLE
	.comm	_GENERIC_READ,4,2               ; @GENERIC_READ
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ; @FILE_ATTRIBUTE_NORMAL
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	71                              ; 0x47
	.long	73                              ; 0x49
	.long	84                              ; 0x54
	.long	95                              ; 0x5f
	.long	82                              ; 0x52
	.long	69                              ; 0x45
	.long	68                              ; 0x44
	.long	73                              ; 0x49
	.long	82                              ; 0x52
	.long	69                              ; 0x45
	.long	67                              ; 0x43
	.long	84                              ; 0x54
	.long	95                              ; 0x5f
	.long	83                              ; 0x53
	.long	84                              ; 0x54
	.long	68                              ; 0x44
	.long	79                              ; 0x4f
	.long	85                              ; 0x55
	.long	84                              ; 0x54
	.long	0                               ; 0x0

	.comm	_STD_OUTPUT_HANDLE,4,2          ; @STD_OUTPUT_HANDLE
	.comm	_GENERIC_WRITE,4,2              ; @GENERIC_WRITE
	.p2align	2                               ; @.str.2
l_.str.2:
	.long	71                              ; 0x47
	.long	73                              ; 0x49
	.long	84                              ; 0x54
	.long	95                              ; 0x5f
	.long	82                              ; 0x52
	.long	69                              ; 0x45
	.long	68                              ; 0x44
	.long	73                              ; 0x49
	.long	82                              ; 0x52
	.long	69                              ; 0x45
	.long	67                              ; 0x43
	.long	84                              ; 0x54
	.long	95                              ; 0x5f
	.long	83                              ; 0x53
	.long	84                              ; 0x54
	.long	68                              ; 0x44
	.long	69                              ; 0x45
	.long	82                              ; 0x52
	.long	82                              ; 0x52
	.long	0                               ; 0x0

	.comm	_STD_ERROR_HANDLE,4,2           ; @STD_ERROR_HANDLE
	.comm	_FILE_FLAG_NO_BUFFERING,4,2     ; @FILE_FLAG_NO_BUFFERING
	.no_dead_strip	_maybe_redirect_std_handles
.subsections_via_symbols
