	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coda_bit_stream_end_flag       ## -- Begin function coda_bit_stream_end_flag
	.p2align	4, 0x90
_coda_bit_stream_end_flag:              ## @coda_bit_stream_end_flag
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r14
	movq	_CODA_BIT_STREAM_END_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rdi)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_CODA_960@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	%r14, %rdi
	callq	_coda_isbusy
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %r15
	movq	_CODA_REG_BIT_RUN_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_coda_read
	cmpq	%rax, %r15
	jne	LBB0_3
## %bb.4:
	movl	8(%rbx), %esi
	movq	_CODA_REG_BIT_BIT_STREAM_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_coda_write                     ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CODA_BIT_STREAM_END_FLAG,4,2   ## @CODA_BIT_STREAM_END_FLAG
	.comm	_CODA_960,8,3                   ## @CODA_960
	.comm	_CODA_REG_BIT_RUN_INDEX,4,2     ## @CODA_REG_BIT_RUN_INDEX
	.comm	_CODA_REG_BIT_BIT_STREAM_PARAM,4,2 ## @CODA_REG_BIT_BIT_STREAM_PARAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coda_bit_stream_end_flag       ; -- Begin function coda_bit_stream_end_flag
	.p2align	2
_coda_bit_stream_end_flag:              ; @coda_bit_stream_end_flag
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x8, _CODA_BIT_STREAM_END_FLAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CODA_BIT_STREAM_END_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CODA_960@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CODA_960@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_coda_isbusy
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x21, [x20]
Lloh6:
	adrp	x8, _CODA_REG_BIT_RUN_INDEX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CODA_REG_BIT_RUN_INDEX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_coda_read
	cmp	x21, x0
	b.ne	LBB0_4
; %bb.3:
	ldr	w1, [x20, #8]
Lloh9:
	adrp	x8, _CODA_REG_BIT_BIT_STREAM_PARAM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CODA_REG_BIT_BIT_STREAM_PARAM@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_coda_write
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CODA_BIT_STREAM_END_FLAG,4,2   ; @CODA_BIT_STREAM_END_FLAG
	.comm	_CODA_960,8,3                   ; @CODA_960
	.comm	_CODA_REG_BIT_RUN_INDEX,4,2     ; @CODA_REG_BIT_RUN_INDEX
	.comm	_CODA_REG_BIT_BIT_STREAM_PARAM,4,2 ; @CODA_REG_BIT_BIT_STREAM_PARAM
.subsections_via_symbols
