	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stypeof                        ## -- Begin function stypeof
	.p2align	4, 0x90
_stypeof:                               ## @stypeof
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	cmpb	$0, (%rdi)
	je	LBB0_4
## %bb.2:
	callq	_getttynam
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stypeof                        ; -- Begin function stypeof
	.p2align	2
_stypeof:                               ; @stypeof
	.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
	cbz	x0, LBB0_5
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.2:
	bl	_getttynam
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x0]
	cbz	x0, LBB0_5
; %bb.4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
