	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bgzf_getc                      ## -- Begin function bgzf_getc
	.p2align	4, 0x90
_bgzf_getc:                             ## @bgzf_getc
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	cmpq	%rax, %rcx
	jge	LBB0_1
LBB0_5:
	movq	32(%rbx), %rdx
	leaq	1(%rcx), %rsi
	movq	%rsi, (%rbx)
	movzbl	(%rdx,%rcx), %r14d
	cmpq	%rax, %rsi
	jne	LBB0_7
## %bb.6:
	movl	16(%rbx), %edi
	callq	__bgzf_tell
	movl	%eax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	jmp	LBB0_7
LBB0_1:
	movq	%rbx, %rdi
	callq	_bgzf_read_block
	movl	$-2, %r14d
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rcx
	jmp	LBB0_5
LBB0_3:
	movl	$-1, %r14d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bgzf_getc                      ; -- Begin function bgzf_getc
	.p2align	2
_bgzf_getc:                             ; @bgzf_getc
	.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
	mov	x19, x0
	ldp	x9, x8, [x0]
	cmp	x9, x8
	b.ge	LBB0_3
LBB0_1:
	ldr	x10, [x19, #32]
	add	x11, x9, #1
	str	x11, [x19]
	ldrb	w20, [x10, x9]
	cmp	x11, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	w0, [x19, #16]
	bl	__bgzf_tell
	str	w0, [x19, #24]
	stp	xzr, xzr, [x19]
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_bgzf_read_block
	cbz	x0, LBB0_6
; %bb.4:
	mov	w20, #-2
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	x9, [x19]
	b	LBB0_1
LBB0_8:
	mov	w20, #-1
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
