	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_guess_encoding            ## -- Begin function _zip_guess_encoding
	.p2align	4, 0x90
__zip_guess_encoding:                   ## @_zip_guess_encoding
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movq	_ZIP_ENCODING_UNKNOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	cmpq	%r8, %rax
	jne	LBB0_25
## %bb.3:
	movq	_ZIP_ENCODING_ASCII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_25
## %bb.4:
	movq	(%rdi), %rcx
	movq	_ZIP_ENCODING_UTF8_GUESSED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	_UTF_8_LEN_2_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movq	_UTF_8_LEN_2_MATCH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r11d
	movq	_UTF_8_LEN_3_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	_UTF_8_LEN_3_MATCH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	_UTF_8_LEN_4_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	_UTF_8_LEN_4_MATCH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	_UTF_8_CONTINUE_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r10d
	movq	_UTF_8_CONTINUE_MATCH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %r14
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	movq	%r14, %r13
	cmpq	%r12, %r14
	jae	LBB0_25
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%r13,4), %ebx
	leal	-32(%rbx), %edx
	cmpl	$96, %edx
	jb	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$13, %ebx
	ja	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$9728, %edx                     ## imm = 0x2600
	btl	%ebx, %edx
	jb	LBB0_6
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	andl	%ebx, %eax
	cmpl	%r11d, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %r14d
	jmp	LBB0_16
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	andl	%ebx, %edx
	cmpl	-56(%rbp), %edx                 ## 4-byte Folded Reload
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$2, %r14d
	movb	$1, %r9b
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	andl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	cmpl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	jne	LBB0_24
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$3, %r14d
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r9d, %r9d
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	%r13, %r14
	cmpq	%r12, %r14
	jae	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%rcx,%r13,4), %edx
	andl	%r10d, %edx
	cmpl	%r15d, %edx
	jne	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r11d, %eax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rcx,%r13,4), %eax
	andl	%r10d, %eax
	cmpl	%r15d, %eax
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	testb	%r9b, %r9b
	je	LBB0_23
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_7
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	12(%rcx,%r13,4), %edx
	andl	%r10d, %edx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	cmpl	%r15d, %edx
	je	LBB0_7
LBB0_24:
	movq	_ZIP_ENCODING_CP437@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_25:
	movl	%eax, %ecx
	movq	%rcx, 8(%rdi)
	movl	%esi, %ecx
	cmpq	%rcx, %r8
	je	LBB0_32
## %bb.26:
	movq	_ZIP_ENCODING_UTF8_KNOWN@GOTPCREL(%rip), %rdx
	cmpl	%esi, (%rdx)
	jne	LBB0_29
## %bb.27:
	movq	_ZIP_ENCODING_UTF8_GUESSED@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_29
## %bb.28:
	movq	%rcx, 8(%rdi)
	movl	%esi, %eax
LBB0_29:
	movq	_ZIP_ENCODING_ASCII@GOTPCREL(%rip), %rdx
	movl	%eax, %ecx
	cmpl	(%rdx), %eax
	je	LBB0_31
## %bb.30:
	movq	_ZIP_ENCODING_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_31:
	cmpl	%esi, %eax
	cmovnel	%ecx, %eax
	jmp	LBB0_32
LBB0_1:
	movq	_ZIP_ENCODING_ASCII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_32:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_ENCODING_ASCII,4,2         ## @ZIP_ENCODING_ASCII
	.comm	_ZIP_ENCODING_UNKNOWN,8,3       ## @ZIP_ENCODING_UNKNOWN
	.comm	_ZIP_ENCODING_UTF8_GUESSED,4,2  ## @ZIP_ENCODING_UTF8_GUESSED
	.comm	_UTF_8_LEN_2_MASK,4,2           ## @UTF_8_LEN_2_MASK
	.comm	_UTF_8_LEN_2_MATCH,4,2          ## @UTF_8_LEN_2_MATCH
	.comm	_UTF_8_LEN_3_MASK,4,2           ## @UTF_8_LEN_3_MASK
	.comm	_UTF_8_LEN_3_MATCH,4,2          ## @UTF_8_LEN_3_MATCH
	.comm	_UTF_8_LEN_4_MASK,4,2           ## @UTF_8_LEN_4_MASK
	.comm	_UTF_8_LEN_4_MATCH,4,2          ## @UTF_8_LEN_4_MATCH
	.comm	_ZIP_ENCODING_CP437,4,2         ## @ZIP_ENCODING_CP437
	.comm	_UTF_8_CONTINUE_MASK,4,2        ## @UTF_8_CONTINUE_MASK
	.comm	_UTF_8_CONTINUE_MATCH,4,2       ## @UTF_8_CONTINUE_MATCH
	.comm	_ZIP_ENCODING_UTF8_KNOWN,4,2    ## @ZIP_ENCODING_UTF8_KNOWN
	.comm	_ZIP_ENCODING_ERROR,4,2         ## @ZIP_ENCODING_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_guess_encoding            ; -- Begin function _zip_guess_encoding
	.p2align	2
__zip_guess_encoding:                   ; @_zip_guess_encoding
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	cbz	x0, LBB0_26
; %bb.1:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _ZIP_ENCODING_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ZIP_ENCODING_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
Lloh3:
	adrp	x9, _ZIP_ENCODING_ASCII@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ZIP_ENCODING_ASCII@GOTPAGEOFF]
	cmp	x8, x10
	b.ne	LBB0_22
; %bb.2:
	ldr	w8, [x9]
	ldr	x11, [x0, #16]
	cbz	x11, LBB0_22
; %bb.3:
	mov	x5, #0
	ldr	x12, [x0]
Lloh5:
	adrp	x13, _ZIP_ENCODING_UTF8_GUESSED@GOTPAGE
Lloh6:
	ldr	x13, [x13, _ZIP_ENCODING_UTF8_GUESSED@GOTPAGEOFF]
Lloh7:
	ldr	w13, [x13]
Lloh8:
	adrp	x14, _UTF_8_LEN_2_MASK@GOTPAGE
Lloh9:
	ldr	x14, [x14, _UTF_8_LEN_2_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w14, [x14]
Lloh11:
	adrp	x15, _UTF_8_LEN_2_MATCH@GOTPAGE
Lloh12:
	ldr	x15, [x15, _UTF_8_LEN_2_MATCH@GOTPAGEOFF]
Lloh13:
	ldr	w15, [x15]
Lloh14:
	adrp	x16, _UTF_8_LEN_3_MASK@GOTPAGE
Lloh15:
	ldr	x16, [x16, _UTF_8_LEN_3_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w16, [x16]
Lloh17:
	adrp	x17, _UTF_8_LEN_3_MATCH@GOTPAGE
Lloh18:
	ldr	x17, [x17, _UTF_8_LEN_3_MATCH@GOTPAGEOFF]
Lloh19:
	ldr	w17, [x17]
Lloh20:
	adrp	x2, _UTF_8_LEN_4_MASK@GOTPAGE
Lloh21:
	ldr	x2, [x2, _UTF_8_LEN_4_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x2]
Lloh23:
	adrp	x3, _UTF_8_LEN_4_MATCH@GOTPAGE
Lloh24:
	ldr	x3, [x3, _UTF_8_LEN_4_MATCH@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x3]
Lloh26:
	adrp	x4, _UTF_8_CONTINUE_MASK@GOTPAGE
Lloh27:
	ldr	x4, [x4, _UTF_8_CONTINUE_MASK@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x4]
Lloh29:
	adrp	x19, _UTF_8_CONTINUE_MATCH@GOTPAGE
Lloh30:
	ldr	x19, [x19, _UTF_8_CONTINUE_MATCH@GOTPAGEOFF]
	mov	w6, #1
	mov	w7, #9728
Lloh31:
	ldr	w19, [x19]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x5
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x5, x20, #1
	cmp	x5, x11
	b.hs	LBB0_22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w20, [x12, x5, lsl #2]
	sub	w21, w20, #32
	cmp	w21, #96
	b.lo	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w20, #13
	lsl	w21, w6, w20
	and	w21, w21, w7
	ccmp	w21, #0, #4, ls
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w8, w14, w20
	cmp	w8, w15
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w21, #0
	mov	w20, #1
	b	LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w21, w16, w20
	cmp	w21, w17
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w21, #1
	mov	w20, #2
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w20, w2, w20
	cmp	w20, w3
	b.ne	LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w21, #0
	mov	w20, #3
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, x5
	cmp	x20, x11
	b.hs	LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x12, x5, lsl #2
	ldr	w22, [x22, #4]
	and	w22, w4, w22
	cmp	w22, w19
	b.ne	LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, w15
	b.eq	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x12, x5, lsl #2
	ldr	w8, [x8, #8]
	and	w8, w4, w8
	cmp	w8, w19
	b.ne	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	tbz	w21, #0, LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x13
	b	LBB0_5
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x12, x5, lsl #2
	ldr	w8, [x8, #12]
	and	w5, w4, w8
	mov	x8, x13
	cmp	w5, w19
	b.eq	LBB0_5
LBB0_21:
Lloh32:
	adrp	x8, _ZIP_ENCODING_CP437@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ZIP_ENCODING_CP437@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
LBB0_22:
	mov	w11, w8
	str	x11, [x0, #8]
	mov	w11, w1
	cmp	x10, x11
	b.eq	LBB0_27
; %bb.23:
Lloh35:
	adrp	x10, _ZIP_ENCODING_UTF8_KNOWN@GOTPAGE
Lloh36:
	ldr	x10, [x10, _ZIP_ENCODING_UTF8_KNOWN@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
Lloh38:
	adrp	x12, _ZIP_ENCODING_UTF8_GUESSED@GOTPAGE
Lloh39:
	ldr	x12, [x12, _ZIP_ENCODING_UTF8_GUESSED@GOTPAGEOFF]
Lloh40:
	ldr	w12, [x12]
	cmp	w10, w1
	ccmp	w8, w12, #0, eq
	b.ne	LBB0_25
; %bb.24:
	str	x11, [x0, #8]
	mov	x8, x1
LBB0_25:
	ldr	w9, [x9]
	cmp	w8, w9
	ccmp	w8, w1, #4, ne
Lloh41:
	adrp	x9, _ZIP_ENCODING_ERROR@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ZIP_ENCODING_ERROR@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	csel	w8, w8, w9, eq
	b	LBB0_27
LBB0_26:
Lloh44:
	adrp	x8, _ZIP_ENCODING_ASCII@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ZIP_ENCODING_ASCII@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
LBB0_27:
	mov	x0, x8
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_ENCODING_ASCII,4,2         ; @ZIP_ENCODING_ASCII
	.comm	_ZIP_ENCODING_UNKNOWN,8,3       ; @ZIP_ENCODING_UNKNOWN
	.comm	_ZIP_ENCODING_UTF8_GUESSED,4,2  ; @ZIP_ENCODING_UTF8_GUESSED
	.comm	_UTF_8_LEN_2_MASK,4,2           ; @UTF_8_LEN_2_MASK
	.comm	_UTF_8_LEN_2_MATCH,4,2          ; @UTF_8_LEN_2_MATCH
	.comm	_UTF_8_LEN_3_MASK,4,2           ; @UTF_8_LEN_3_MASK
	.comm	_UTF_8_LEN_3_MATCH,4,2          ; @UTF_8_LEN_3_MATCH
	.comm	_UTF_8_LEN_4_MASK,4,2           ; @UTF_8_LEN_4_MASK
	.comm	_UTF_8_LEN_4_MATCH,4,2          ; @UTF_8_LEN_4_MATCH
	.comm	_ZIP_ENCODING_CP437,4,2         ; @ZIP_ENCODING_CP437
	.comm	_UTF_8_CONTINUE_MASK,4,2        ; @UTF_8_CONTINUE_MASK
	.comm	_UTF_8_CONTINUE_MATCH,4,2       ; @UTF_8_CONTINUE_MATCH
	.comm	_ZIP_ENCODING_UTF8_KNOWN,4,2    ; @ZIP_ENCODING_UTF8_KNOWN
	.comm	_ZIP_ENCODING_ERROR,4,2         ; @ZIP_ENCODING_ERROR
.subsections_via_symbols
