	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stream_chr
_stream_chr:                            ## @stream_chr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	movl	%edx, %ebx
	movq	%rsi, %r15
	leaq	8(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rcx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%r13d, %r13d
	je	LBB0_16
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r14), %rsi
	cmpq	%rcx, %rsi
	jae	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r14), %rax
	movq	%rsi, %r12
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	%bl, (%rax,%r12)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%r12
	cmpq	%r12, %rcx
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %r12
	testq	%r15, %r15
	jne	LBB0_11
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %r12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testq	%r15, %r15
	je	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdx
	subq	%rsi, %rdx
	jbe	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	16(%r14), %rsi
	movq	%r15, %rdi
	callq	_strbuf_append
	movq	8(%r14), %rcx
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, (%r14)
	cmpq	%rcx, %r12
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%r14)
	movl	24(%r14), %edi
	movq	16(%r14), %rsi
	movl	$8, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_IStream_Read
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	jne	LBB0_15
	jmp	LBB0_16
LBB0_1:
	movq	8(%r14), %rcx
LBB0_16:
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_stream_chr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_chr
_stream_chr:                            ; @stream_chr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	cbz	w23, LBB0_14
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x22, x20
	ldr	x8, [x22, #8]!
Lloh3:
	adrp	x24, _FALSE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w23, LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x9, [x20]
	cmp	x9, x8
	b.hs	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x20, #16]
	mov	x25, x9
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w11, [x10, x25]
	cmp	w11, w19, uxtb
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x25, x25, #1
	cmp	x8, x25
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x8
	cbnz	x21, LBB0_10
	b	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x9
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w23, [x24]
	cbz	x21, LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	subs	x2, x25, x9
	b.ls	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #16]
	add	x1, x8, x9
	mov	x0, x21
	bl	_strbuf_append
	ldr	x8, [x20, #8]
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x25, [x20]
	cmp	x25, x8
	b.ne	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x20]
	ldr	w0, [x20, #24]
	ldr	x1, [x20, #16]
	mov	w2, #8
	mov	x3, x22
	bl	_IStream_Read
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_2
	b	LBB0_15
LBB0_14:
	ldr	x8, [x20, #8]
LBB0_15:
	cmp	x8, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_stream_chr
.subsections_via_symbols
