	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bsPutBit
_bsPutBit:                              ## @bsPutBit
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	4(%rdi), %edi
	cmpl	$8, %eax
	jne	LBB0_4
## %bb.1:
	movl	8(%rbx), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_putc
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_writeError
LBB0_3:
	movq	_bytesOut@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	$1, (%rbx)
	andl	$1, %r14d
	movl	%r14d, 4(%rbx)
	jmp	LBB0_5
LBB0_4:
	andl	$1, %r14d
	leal	(%r14,%rdi,2), %ecx
	movl	%ecx, 4(%rbx)
	incl	%eax
	movl	%eax, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,8,3                        ## @EOF
	.comm	_bytesOut,4,2                   ## @bytesOut
	.no_dead_strip	_bsPutBit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bsPutBit
_bsPutBit:                              ; @bsPutBit
	.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	x20, x1
	mov	x19, x0
	ldp	w8, w0, [x0]
	cmp	w8, #8
	b.ne	LBB0_4
; %bb.1:
	ldr	w1, [x19, #8]
	bl	_putc
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	bl	_writeError
LBB0_3:
Lloh3:
	adrp	x8, _bytesOut@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bytesOut@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w8, #1
	and	w9, w20, #0x1
	stp	w8, w9, [x19]
	b	LBB0_5
LBB0_4:
	bfi	w20, w0, #1, #31
	add	w8, w8, #1
	stp	w8, w20, [x19]
LBB0_5:
	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 AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,8,3                        ; @EOF
	.comm	_bytesOut,4,2                   ; @bytesOut
	.no_dead_strip	_bsPutBit
.subsections_via_symbols
