	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_io
_set_io:                                ## @set_io
	.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
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_isatty
	movq	_conf@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%rbx)
	jle	LBB0_3
LBB0_2:
	movl	$1, 8(%rbx)
LBB0_3:
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_isatty
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_set_pipe_stdin
LBB0_5:
	cmpl	$0, 20(%rbx)
	jne	LBB0_8
## %bb.6:
	cmpl	$0, 16(%rbx)
	jne	LBB0_8
## %bb.7:
	cmpl	$0, 12(%rbx)
	jne	LBB0_8
## %bb.9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cmd_help                       ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_conf,24,3                      ## @conf
	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.no_dead_strip	_set_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_io
_set_io:                                ; @set_io
	.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, _STDOUT_FILENO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_isatty
Lloh3:
	adrp	x19, _conf@GOTPAGE
Lloh4:
	ldr	x19, [x19, _conf@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	w0, #0
	ccmp	x8, #1, #0, ne
	b.lt	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_2:
Lloh5:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_isatty
	cbnz	w0, LBB0_4
; %bb.3:
	bl	_set_pipe_stdin
LBB0_4:
	ldp	w9, w8, [x19, #16]
	ldr	w10, [x19, #12]
	cmp	w8, #0
	ccmp	w9, #0, #0, eq
	ccmp	w10, #0, #0, eq
	b.eq	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cmd_help
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_conf,24,3                      ; @conf
	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.no_dead_strip	_set_io
.subsections_via_symbols
