	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_stream_filter              ## -- Begin function get_stream_filter
	.p2align	4, 0x90
_get_stream_filter:                     ## @get_stream_filter
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	%rsi, %rdx
	leaq	-40(%rbp), %rsi
	callq	_convert_attrs
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, 16(%rax)
	jne	LBB0_2
## %bb.5:
	cmpq	$0, 8(%rax)
	jne	LBB0_2
## %bb.7:
	movq	(%rax), %rax
	orq	-24(%rbp), %rax
	jne	LBB0_2
LBB0_8:
	movq	-40(%rbp), %rdi
	movq	_CRLF_AUTO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %rdi
	je	LBB0_18
## %bb.9:
	movq	_CRLF_AUTO_CRLF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	je	LBB0_18
## %bb.10:
	cmpq	$0, -32(%rbp)
	je	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	callq	_ident_filter
	movq	%rax, %rbx
	movq	-40(%rbp), %rdi
	jmp	LBB0_14
LBB0_3:
	cmpq	$0, -24(%rbp)
	je	LBB0_8
LBB0_2:
	xorl	%eax, %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	callq	_output_eol
	movq	_EOL_CRLF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_lf_to_crlf_filter
	movq	%rbx, %rdi
	movq	%rax, %rsi
	jmp	LBB0_17
LBB0_16:
	movq	_null_filter_singleton@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
LBB0_17:
	callq	_cascade_filter
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_CRLF_AUTO,8,3                  ## @CRLF_AUTO
	.comm	_CRLF_AUTO_CRLF,8,3             ## @CRLF_AUTO_CRLF
	.comm	_EOL_CRLF,8,3                   ## @EOL_CRLF
	.comm	_null_filter_singleton,4,2      ## @null_filter_singleton
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_stream_filter              ; -- Begin function get_stream_filter
	.p2align	2
_get_stream_filter:                     ; @get_stream_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x2, x1
	mov	x1, sp
	bl	_convert_attrs
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_6
; %bb.2:
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_6
; %bb.3:
	ldr	x8, [x8]
	ldr	x9, [sp, #16]
	orr	x8, x8, x9
	cbnz	x8, LBB0_6
	b	LBB0_5
LBB0_4:
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_6
LBB0_5:
	ldr	x0, [sp]
Lloh0:
	adrp	x8, _CRLF_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRLF_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CRLF_AUTO_CRLF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CRLF_AUTO_CRLF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_8
LBB0_6:
	mov	x0, #0
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_ident_filter
	mov	x19, x0
	ldr	x0, [sp]
	b	LBB0_11
LBB0_10:
	mov	x19, #0
LBB0_11:
	bl	_output_eol
Lloh6:
	adrp	x8, _EOL_CRLF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOL_CRLF@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.12:
	bl	_lf_to_crlf_filter
	mov	x1, x0
	b	LBB0_14
LBB0_13:
Lloh9:
	adrp	x1, _null_filter_singleton@GOTPAGE
Lloh10:
	ldr	x1, [x1, _null_filter_singleton@GOTPAGEOFF]
LBB0_14:
	mov	x0, x19
	bl	_cascade_filter
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CRLF_AUTO,8,3                  ; @CRLF_AUTO
	.comm	_CRLF_AUTO_CRLF,8,3             ; @CRLF_AUTO_CRLF
	.comm	_EOL_CRLF,8,3                   ; @EOL_CRLF
	.comm	_null_filter_singleton,4,2      ; @null_filter_singleton
.subsections_via_symbols
