	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_7zip_uint64
_parse_7zip_uint64:                     ## @parse_7zip_uint64
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$1, %esi
	callq	_header_bytes
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_25
## %bb.1:
	movzbl	(%rax), %r12d
	movl	$0, (%r14)
	movl	$383, %edx                      ## imm = 0x17F
	xorl	%eax, %eax
	movl	$0, %ecx
	testb	$-128, %r12b
	je	LBB0_24
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_header_bytes
	testq	%rax, %rax
	je	LBB0_25
## %bb.3:
	movzbl	(%rax), %eax
	orl	(%r14), %eax
	movl	%eax, (%r14)
	testb	$64, %r12b
	jne	LBB0_5
## %bb.4:
	movl	$319, %edx                      ## imm = 0x13F
	movl	$8, %ecx
	jmp	LBB0_24
LBB0_5:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_header_bytes
	testq	%rax, %rax
	je	LBB0_25
## %bb.6:
	movzbl	(%rax), %eax
	shll	$8, %eax
	orl	(%r14), %eax
	movl	%eax, (%r14)
	testb	$32, %r12b
	jne	LBB0_8
## %bb.7:
	movl	$287, %edx                      ## imm = 0x11F
	movl	$16, %ecx
	jmp	LBB0_24
LBB0_8:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_header_bytes
	testq	%rax, %rax
	je	LBB0_25
## %bb.9:
	movzbl	(%rax), %eax
	shll	$16, %eax
	orl	(%r14), %eax
	movl	%eax, (%r14)
	testb	$16, %r12b
	jne	LBB0_11
## %bb.10:
	movl	$271, %edx                      ## imm = 0x10F
	movl	$24, %ecx
	jmp	LBB0_24
LBB0_11:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_header_bytes
	testq	%rax, %rax
	je	LBB0_25
## %bb.12:
	movzbl	(%rax), %eax
	shll	$24, %eax
	orl	(%r14), %eax
	movl	%eax, (%r14)
	testb	$8, %r12b
	jne	LBB0_14
## %bb.13:
	movl	$263, %edx                      ## imm = 0x107
	movl	$32, %ecx
	jmp	LBB0_24
LBB0_14:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_header_bytes
	testq	%rax, %rax
	je	LBB0_25
## %bb.15:
	testb	$4, %r12b
	jne	LBB0_17
## %bb.16:
	movl	$259, %edx                      ## imm = 0x103
	movl	$40, %ecx
	jmp	LBB0_23
LBB0_17:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_header_bytes
	testq	%rax, %rax
	je	LBB0_25
## %bb.18:
	testb	$2, %r12b
	jne	LBB0_20
## %bb.19:
	movl	$257, %edx                      ## imm = 0x101
	movl	$48, %ecx
	jmp	LBB0_23
LBB0_20:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_header_bytes
	testq	%rax, %rax
	je	LBB0_25
## %bb.21:
	testb	$1, %r12b
	jne	LBB0_26
## %bb.22:
	movl	$256, %edx                      ## imm = 0x100
	movl	$56, %ecx
LBB0_23:
                                        ## implicit-def: $eax
LBB0_24:
	andl	%r12d, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	addl	%eax, %edx
	movl	%edx, (%r14)
	xorl	%r15d, %r15d
LBB0_25:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_header_bytes
	xorl	%r15d, %r15d
	cmpq	$1, %rax
	sbbl	%r15d, %r15d
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_parse_7zip_uint64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_7zip_uint64
_parse_7zip_uint64:                     ; @parse_7zip_uint64
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	mov	w1, #1
	bl	_header_bytes
	cbz	x0, LBB0_26
; %bb.1:
	ldrb	w21, [x0]
	str	wzr, [x19]
	tbnz	w21, #7, LBB0_3
; %bb.2:
	mov	w8, #0
	mov	w10, #0
	mov	w9, #383
	b	LBB0_25
LBB0_3:
	mov	x0, x20
	mov	w1, #1
	bl	_header_bytes
	cbz	x0, LBB0_26
; %bb.4:
	ldrb	w8, [x0]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	tbnz	w21, #6, LBB0_6
; %bb.5:
	mov	w9, #319
	mov	w10, #8
	b	LBB0_25
LBB0_6:
	mov	x0, x20
	mov	w1, #1
	bl	_header_bytes
	cbz	x0, LBB0_26
; %bb.7:
	ldrb	w8, [x0]
	ldr	w9, [x19]
	orr	w8, w9, w8, lsl #8
	str	w8, [x19]
	tbnz	w21, #5, LBB0_9
; %bb.8:
	mov	w9, #287
	mov	w10, #16
	b	LBB0_25
LBB0_9:
	mov	x0, x20
	mov	w1, #1
	bl	_header_bytes
	cbz	x0, LBB0_26
; %bb.10:
	ldrb	w8, [x0]
	ldr	w9, [x19]
	orr	w8, w9, w8, lsl #16
	str	w8, [x19]
	tbnz	w21, #4, LBB0_12
; %bb.11:
	mov	w9, #271
	mov	w10, #24
	b	LBB0_25
LBB0_12:
	mov	x0, x20
	mov	w1, #1
	bl	_header_bytes
	cbz	x0, LBB0_26
; %bb.13:
	ldrb	w8, [x0]
	ldr	w9, [x19]
	orr	w8, w9, w8, lsl #24
	str	w8, [x19]
	tbnz	w21, #3, LBB0_15
; %bb.14:
	mov	w9, #263
	mov	w10, #32
	b	LBB0_25
LBB0_15:
	mov	x0, x20
	mov	w1, #1
	bl	_header_bytes
	cbz	x0, LBB0_26
; %bb.16:
	tbnz	w21, #2, LBB0_18
; %bb.17:
	mov	w9, #259
	mov	w10, #40
	b	LBB0_24
LBB0_18:
	mov	x0, x20
	mov	w1, #1
	bl	_header_bytes
	cbz	x0, LBB0_26
; %bb.19:
	tbnz	w21, #1, LBB0_21
; %bb.20:
	mov	w9, #257
	mov	w10, #48
	b	LBB0_24
LBB0_21:
	mov	x0, x20
	mov	w1, #1
	bl	_header_bytes
	cbz	x0, LBB0_26
; %bb.22:
	tbnz	w21, #0, LBB0_28
; %bb.23:
	mov	w9, #256
	mov	w10, #56
LBB0_24:
                                        ; implicit-def: $w8
LBB0_25:
	mov	w0, #0
	and	w9, w9, w21
	lsl	w9, w9, w10
	add	w8, w8, w9
	str	w8, [x19]
	b	LBB0_27
LBB0_26:
	mov	w0, #-1
LBB0_27:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_28:
	mov	x0, x20
	mov	w1, #1
	bl	_header_bytes
	cmp	x0, #0
	csetm	w0, eq
	b	LBB0_27
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_parse_7zip_uint64
.subsections_via_symbols
