	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _zip_unicode_to_utf8
__zip_unicode_to_utf8:                  ## @_zip_unicode_to_utf8
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	cmpl	$127, %edi
	jg	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_11
## %bb.2:
	movzbl	%dil, %eax
	movl	%eax, (%rsi)
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_3:
	cmpl	$2047, %edi                     ## imm = 0x7FF
	ja	LBB0_6
## %bb.4:
	cmpl	$2, %eax
	jl	LBB0_11
## %bb.5:
	movq	_UTF_8_LEN_2_MATCH@GOTPCREL(%rip), %rax
	movl	%edi, %ecx
	shrl	$6, %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rsi)
	movq	_UTF_8_CONTINUE_MATCH@GOTPCREL(%rip), %rax
	andl	$63, %edi
	orl	(%rax), %edi
	movl	%edi, 4(%rsi)
	movl	$2, %eax
	popq	%rbp
	retq
LBB0_6:
	cmpl	$65535, %edi                    ## imm = 0xFFFF
	ja	LBB0_9
## %bb.7:
	cmpl	$3, %eax
	jl	LBB0_11
## %bb.8:
	movq	_UTF_8_LEN_3_MATCH@GOTPCREL(%rip), %rax
	movl	%edi, %ecx
	shrl	$12, %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rsi)
	movq	_UTF_8_CONTINUE_MATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%edi, %ecx
	shrl	$6, %ecx
	andl	$63, %ecx
	orl	%eax, %ecx
	movl	%ecx, 4(%rsi)
	andl	$63, %edi
	orl	%eax, %edi
	movl	%edi, 8(%rsi)
	movl	$3, %eax
	popq	%rbp
	retq
LBB0_9:
	cmpl	$4, %eax
	jl	LBB0_11
## %bb.10:
	movq	_UTF_8_LEN_4_MATCH@GOTPCREL(%rip), %rax
	movl	%edi, %ecx
	shrl	$18, %ecx
	andl	$7, %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rsi)
	movq	_UTF_8_CONTINUE_MATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%edi, %ecx
	shrl	$12, %ecx
	andl	$63, %ecx
	orl	%eax, %ecx
	movl	%ecx, 4(%rsi)
	movl	%edi, %ecx
	shrl	$6, %ecx
	andl	$63, %ecx
	orl	%eax, %ecx
	movl	%ecx, 8(%rsi)
	andl	$63, %edi
	orl	%eax, %edi
	movl	%edi, 12(%rsi)
	movl	$4, %eax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UTF_8_LEN_2_MATCH,4,2          ## @UTF_8_LEN_2_MATCH
	.comm	_UTF_8_CONTINUE_MATCH,4,2       ## @UTF_8_CONTINUE_MATCH
	.comm	_UTF_8_LEN_3_MATCH,4,2          ## @UTF_8_LEN_3_MATCH
	.comm	_UTF_8_LEN_4_MATCH,4,2          ## @UTF_8_LEN_4_MATCH
	.no_dead_strip	__zip_unicode_to_utf8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function _zip_unicode_to_utf8
lCPI0_0:
	.long	4294967284                      ; 0xfffffff4
	.long	4294967290                      ; 0xfffffffa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
__zip_unicode_to_utf8:                  ; @_zip_unicode_to_utf8
	.cfi_startproc
; %bb.0:
	cmp	w0, #127
	b.gt	LBB0_3
; %bb.1:
	cmp	w2, #1
	b.lt	LBB0_11
; %bb.2:
	and	w8, w0, #0xff
	str	w8, [x1]
	mov	w0, #1
	ret
LBB0_3:
	cmp	w0, #2047
	b.hi	LBB0_6
; %bb.4:
	cmp	w2, #2
	b.lt	LBB0_11
; %bb.5:
Lloh0:
	adrp	x8, _UTF_8_LEN_2_MATCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UTF_8_LEN_2_MATCH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w0, lsr #6
Lloh3:
	adrp	x9, _UTF_8_CONTINUE_MATCH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UTF_8_CONTINUE_MATCH@GOTPAGEOFF]
	str	w8, [x1]
Lloh5:
	ldr	w8, [x9]
	and	w9, w0, #0x3f
	orr	w8, w8, w9
	str	w8, [x1, #4]
	mov	w0, #2
	ret
LBB0_6:
	lsr	w8, w0, #16
	cbnz	w8, LBB0_9
; %bb.7:
	cmp	w2, #3
	b.lt	LBB0_11
; %bb.8:
Lloh6:
	adrp	x8, _UTF_8_LEN_3_MATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UTF_8_LEN_3_MATCH@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w8, w0, lsr #12
	str	w8, [x1]
Lloh9:
	adrp	x8, _UTF_8_CONTINUE_MATCH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UTF_8_CONTINUE_MATCH@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ubfx	w9, w0, #6, #6
	orr	w9, w8, w9
	and	w10, w0, #0x3f
	orr	w8, w8, w10
	stp	w9, w8, [x1, #4]
	mov	w0, #3
	ret
LBB0_9:
	cmp	w2, #4
	b.lt	LBB0_11
; %bb.10:
Lloh12:
	adrp	x8, _UTF_8_LEN_4_MATCH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UTF_8_LEN_4_MATCH@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ubfx	w9, w0, #18, #3
	orr	w8, w8, w9
	str	w8, [x1]
Lloh15:
	adrp	x8, _UTF_8_CONTINUE_MATCH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UTF_8_CONTINUE_MATCH@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	dup.2s	v0, w0
Lloh18:
	adrp	x9, lCPI0_0@PAGE
Lloh19:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi.2s	v1, #63
	and.8b	v0, v0, v1
	dup.2s	v1, w8
	orr.8b	v0, v1, v0
	stur	d0, [x1, #4]
	and	w9, w0, #0x3f
	orr	w8, w8, w9
	str	w8, [x1, #12]
	mov	w2, #4
LBB0_11:
	mov	x0, x2
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_UTF_8_LEN_2_MATCH,4,2          ; @UTF_8_LEN_2_MATCH
	.comm	_UTF_8_CONTINUE_MATCH,4,2       ; @UTF_8_CONTINUE_MATCH
	.comm	_UTF_8_LEN_3_MATCH,4,2          ; @UTF_8_LEN_3_MATCH
	.comm	_UTF_8_LEN_4_MATCH,4,2          ; @UTF_8_LEN_4_MATCH
	.no_dead_strip	__zip_unicode_to_utf8
.subsections_via_symbols
