	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lz4_reader_bid
_lz4_reader_bid:                        ## @lz4_reader_bid
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rdi
	leaq	-20(%rbp), %rdx
	movl	$11, %esi
	callq	___archive_read_filter_ahead
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_archive_le32dec
	movq	_LZ4_MAGICNUMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movb	4(%rbx), %al
	andb	$-62, %al
	cmpb	$64, %al
	jne	LBB0_6
## %bb.3:
	movb	5(%rbx), %al
	andb	$-49, %al
	movl	$48, %ecx
	cmpb	$64, %al
	je	LBB0_5
	jmp	LBB0_6
LBB0_4:
	movq	_LZ4_LEGACY@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	sete	%cl
	shll	$5, %ecx
LBB0_5:
	movl	%ecx, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZ4_MAGICNUMBER,8,3            ## @LZ4_MAGICNUMBER
	.comm	_LZ4_LEGACY,8,3                 ## @LZ4_LEGACY
	.no_dead_strip	_lz4_reader_bid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lz4_reader_bid
_lz4_reader_bid:                        ; @lz4_reader_bid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x0, x1
	add	x2, sp, #12
	mov	w1, #11
	bl	___archive_read_filter_ahead
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	bl	_archive_le32dec
Lloh0:
	adrp	x8, _LZ4_MAGICNUMBER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZ4_MAGICNUMBER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	ldrb	w8, [x19, #4]
	mov	w9, #194
	and	w8, w8, w9
	cmp	w8, #64
	b.ne	LBB0_6
; %bb.3:
	ldrb	w8, [x19, #5]
	and	w8, w8, #0xffffffcf
	cmp	w8, #64
	b.ne	LBB0_6
; %bb.4:
	mov	w0, #48
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _LZ4_LEGACY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LZ4_LEGACY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w8, eq
	lsl	w0, w8, #5
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LZ4_MAGICNUMBER,8,3            ; @LZ4_MAGICNUMBER
	.comm	_LZ4_LEGACY,8,3                 ; @LZ4_LEGACY
	.no_dead_strip	_lz4_reader_bid
.subsections_via_symbols
