	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lzx_translation
_lzx_translation:                       ## @lzx_translation
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpq	$11, %rdx
	jb	LBB0_9
## %bb.1:
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, 8(%rax)
	je	LBB0_9
## %bb.2:
	movq	%rsi, %r15
	leaq	(%rsi,%rdx), %r14
	addq	$-10, %r14
	cmpq	%rsi, %r14
	jbe	LBB0_9
## %bb.3:
	movq	%r15, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$5, %rbx
	cmpq	%r14, %rbx
	jae	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edx
	subl	%ebx, %edx
	movq	%rbx, %rdi
	movl	$232, %esi
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	%rbx, %rax
	movq	%r15, %r12
	subq	%rax, %r12
	leaq	1(%rbx), %r13
	movq	%r13, %rdi
	callq	_archive_le32dec
	cmpq	%r12, %rax
	jl	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	cmovsq	%rcx, %r12
	addq	%rax, %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_archive_le32enc
	jmp	LBB0_8
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lzx_translation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lzx_translation
_lzx_translation:                       ; @lzx_translation
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cmp	x2, #11
	b.lo	LBB0_9
; %bb.1:
	ldr	x23, [x0]
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_9
; %bb.2:
	mov	x20, x1
	add	x8, x1, x2
	sub	x24, x8, #10
	cmp	x24, x1
	b.ls	LBB0_9
; %bb.3:
	mov	x19, x3
	mov	x0, x20
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x21, #5
	cmp	x0, x24
	b.hs	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w2, w24, w0
	mov	w1, #232
	bl	_memchr
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	add	x8, x0, x19
	sub	x25, x20, x8
	add	x22, x0, #1
	mov	x0, x22
	bl	_archive_le32dec
	cmp	x0, x25
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	cmp	x0, x8
	b.ge	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x0, #0
	csel	x8, x8, x25, lt
	add	x1, x8, x0
	mov	x0, x22
	bl	_archive_le32enc
	b	LBB0_4
LBB0_9:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lzx_translation
.subsections_via_symbols
