	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intfstream_open                ## -- Begin function intfstream_open
	.p2align	4, 0x90
_intfstream_open:                       ## @intfstream_open
	.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
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$130, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.4:
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	%ecx, %edx
	callq	_filestream_open
	movl	%eax, 20(%rbx)
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_8
LBB0_5:
	movl	16(%rbx), %edi
	callq	_memstream_open
	movl	%eax, 12(%rbx)
	testl	%eax, %eax
	je	LBB0_8
LBB0_7:
	movl	$1, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	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	_intfstream_open                ; -- Begin function intfstream_open
	.p2align	2
_intfstream_open:                       ; @intfstream_open
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_filestream_open
	str	w0, [x19, #20]
	cbnz	w0, LBB0_6
	b	LBB0_8
LBB0_5:
	ldr	w0, [x19, #16]
	bl	_memstream_open
	str	w0, [x19, #12]
	cbz	w0, LBB0_8
LBB0_6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
