	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_bits
_put_bits:                              ## @put_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_5
## %bb.1:
	movq	8(%rdi), %r8
	incl	%edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rax), %r9d
	movb	$7, %cl
	subb	%al, %cl
	movl	%esi, %eax
	shll	%cl, %eax
	movl	%r9d, (%rdi)
	orl	%eax, (%r8)
	decl	%edx
	cmpl	$1, %edx
	jbe	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %eax
	cmpl	$8, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	cmpl	$255, (%r8)
	sete	%al
	movl	%eax, (%rdi)
	leaq	4(%r8), %rcx
	movq	%rcx, 8(%rdi)
	movl	$0, 4(%r8)
	movl	(%rdi), %eax
	movq	%rcx, %r8
	jmp	LBB0_4
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_put_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_bits
_put_bits:                              ; @put_bits
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	x8, [x0, #8]
	add	w9, w2, #1
	mov	w10, #7
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w12, w11, #1
	str	w12, [x0]
	sub	w11, w10, w11
	lsl	w11, w1, w11
	ldr	w12, [x8]
	orr	w11, w12, w11
	str	w11, [x8]
	sub	w9, w9, #1
	cmp	w9, #1
	b.ls	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0]
	cmp	w11, #8
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x8]
	cmp	w11, #255
	cset	w11, eq
	str	w11, [x0]
	str	wzr, [x8, #4]!
	str	x8, [x0, #8]
	ldr	w11, [x0]
	b	LBB0_2
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_put_bits
.subsections_via_symbols
