	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getbits
_getbits:                               ## @getbits
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	8(%rdi), %rbx
	movl	(%rbx), %edx
	cmpl	%esi, %edx
	jge	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	8(%rbx), %rsi
	leaq	-40(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%rbx), %rax
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	4(%rax), %rcx
	movq	%rcx, 32(%rbx)
	movl	(%rax), %eax
	movl	%edx, %ecx
	shll	%cl, %eax
	orl	24(%rbx), %eax
	movl	%eax, 24(%rbx)
	decq	%rsi
	movq	%rsi, 8(%rbx)
	addl	$8, %edx
	movl	%edx, (%rbx)
	incl	28(%rbx)
	cmpl	%r12d, %edx
	jge	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	jg	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	callq	___archive_read_filter_consume
	movq	$0, 16(%rbx)
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	___archive_read_filter_ahead
	movq	%rax, 32(%rbx)
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	js	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, 16(%rbx)
	movl	(%rbx), %edx
	jmp	LBB0_13
LBB0_1:
	movl	24(%rbx), %eax
LBB0_14:
	movl	%eax, %esi
	movl	%r12d, %ecx
	sarl	%cl, %esi
	movl	%esi, 24(%rbx)
	subl	%r12d, %edx
	movl	%edx, (%rbx)
	movslq	%r12d, %rcx
	leaq	_getbits.mask(%rip), %rdx
	andl	(%rdx,%rcx,4), %eax
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$-1, %eax
	jmp	LBB0_15
LBB0_11:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @getbits.mask
_getbits.mask:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	3                               ## 0x3
	.long	7                               ## 0x7
	.long	15                              ## 0xf
	.long	31                              ## 0x1f
	.long	63                              ## 0x3f
	.long	127                             ## 0x7f
	.long	255                             ## 0xff
	.long	511                             ## 0x1ff
	.long	1023                            ## 0x3ff
	.long	2047                            ## 0x7ff
	.long	4095                            ## 0xfff
	.long	8191                            ## 0x1fff
	.long	16383                           ## 0x3fff
	.long	32767                           ## 0x7fff
	.long	65535                           ## 0xffff

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.no_dead_strip	_getbits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getbits
_getbits:                               ; @getbits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	ldr	x21, [x0, #8]
	ldr	w8, [x21]
	cmp	w8, w1
	b.ge	LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	x9, [x21, #8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21, #32]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x0], #4
	str	x0, [x21, #32]
	lsl	w10, w10, w8
	ldp	w11, w12, [x21, #24]
	orr	w10, w11, w10
	sub	x9, x9, #1
	str	x9, [x21, #8]
	add	w8, w8, #8
	str	w8, [x21]
	add	w11, w12, #1
	stp	w10, w11, [x21, #24]
	cmp	w8, w19
	b.ge	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, #1
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x21, #16]
	cbz	x1, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20]
	bl	___archive_read_filter_consume
	str	xzr, [x21, #16]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20]
	add	x2, sp, #8
	mov	w1, #1
	bl	___archive_read_filter_ahead
	str	x0, [x21, #32]
	ldr	x9, [sp, #8]
	cbz	x9, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	tbnz	x9, #63, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x9, [x21, #16]
	ldr	w8, [x21]
	b	LBB0_3
LBB0_11:
	ldr	w10, [x21, #24]
LBB0_12:
	asr	w9, w10, w19
	str	w9, [x21, #24]
	sub	w8, w8, w19
	str	w8, [x21]
Lloh0:
	adrp	x8, _getbits.mask@PAGE
Lloh1:
	add	x8, x8, _getbits.mask@PAGEOFF
	ldr	w8, [x8, w19, sxtw #2]
	and	w0, w8, w10
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_14:
	mov	w0, #-1
	b	LBB0_13
LBB0_15:
Lloh2:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @getbits.mask
_getbits.mask:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	3                               ; 0x3
	.long	7                               ; 0x7
	.long	15                              ; 0xf
	.long	31                              ; 0x1f
	.long	63                              ; 0x3f
	.long	127                             ; 0x7f
	.long	255                             ; 0xff
	.long	511                             ; 0x1ff
	.long	1023                            ; 0x3ff
	.long	2047                            ; 0x7ff
	.long	4095                            ; 0xfff
	.long	8191                            ; 0x1fff
	.long	16383                           ; 0x3fff
	.long	32767                           ; 0x7fff
	.long	65535                           ; 0xffff

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.no_dead_strip	_getbits
.subsections_via_symbols
