	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bsGetBit
_bsGetBit:                              ## @bsGetBit
	.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
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	decl	%eax
	movl	%eax, (%rbx)
	movl	4(%rbx), %ecx
	xorl	%r14d, %r14d
	btl	%eax, %ecx
	setb	%r14b
	jmp	LBB0_6
LBB0_2:
	movl	8(%rbx), %edi
	callq	_getc
	movl	%eax, %r14d
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_5
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	$2, %r14d
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	callq	_readError
	jmp	LBB0_6
LBB0_5:
	movl	$7, (%rbx)
	movl	%r14d, 4(%rbx)
	shrl	$7, %r14d
	andl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.comm	_errno,8,3                      ## @errno
	.no_dead_strip	_bsGetBit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bsGetBit
_bsGetBit:                              ; @bsGetBit
	.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
	ldr	w8, [x0]
	subs	w8, w8, #1
	b.lt	LBB0_2
; %bb.1:
	str	w8, [x19]
	ldr	w9, [x19, #4]
	lsr	w8, w9, w8
	and	w0, w8, #0x1
	b	LBB0_7
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_getc
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	bl	_readError
LBB0_5:
	mov	w0, #2
	b	LBB0_7
LBB0_6:
	mov	w8, #7
	stp	w8, w0, [x19]
	ubfx	w0, w0, #7, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.comm	_errno,8,3                      ; @errno
	.no_dead_strip	_bsGetBit
.subsections_via_symbols
