	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_consume_bits
_read_consume_bits:                     ## @read_consume_bits
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movl	%edx, %ebx
	cmpl	$17, %edx
	jge	LBB0_2
## %bb.3:
	movq	%rcx, %r14
	movq	%rdi, %r15
	leaq	-48(%rbp), %rdx
	callq	_read_bits_16
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_7
## %bb.4:
	movq	-48(%rbp), %r13
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_skip_bits
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movb	$16, %cl
	subb	%bl, %cl
	sarl	%cl, %r13d
	movl	%r13d, (%r14)
LBB0_6:
	movl	(%r12), %eax
	jmp	LBB0_7
LBB0_2:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_read_consume_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_consume_bits
_read_consume_bits:                     ; @read_consume_bits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	w2, LBB0_6
; %bb.1:
	mov	x20, x2
	cmp	w2, #17
	b.ge	LBB0_6
; %bb.2:
	mov	x19, x3
	mov	x21, x0
	add	x2, sp, #8
	bl	_read_bits_16
Lloh0:
	adrp	x22, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.3:
	ldr	x23, [sp, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_skip_bits
	cbz	x19, LBB0_5
; %bb.4:
	mov	w8, #16
	sub	w8, w8, w20
	asr	w8, w23, w8
	str	w8, [x19]
LBB0_5:
	ldr	w0, [x22]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_read_consume_bits
.subsections_via_symbols
