	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_read_format_zip_options
_archive_read_format_zip_options:       ## @archive_read_format_zip_options
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_5:
	xorl	%eax, %eax
	testq	%r14, %r14
	setne	%al
	movl	%eax, (%r13)
	jmp	LBB0_23
LBB0_6:
	testq	%r14, %r14
	je	LBB0_15
## %bb.7:
	cmpb	$0, (%r14)
	je	LBB0_15
## %bb.8:
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_archive_string_conversion_from_charset
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_26
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_23
## %bb.10:
	movq	16(%r13), %rax
	movq	%rax, 24(%r13)
	jmp	LBB0_23
LBB0_12:
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_19
## %bb.13:
	cmpb	$0, (%r14)
	setne	%dl
	jne	LBB0_20
## %bb.14:
	movq	_real_crc32@GOTPCREL(%rip), %rcx
	jmp	LBB0_21
LBB0_15:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	callq	_archive_set_error
	jmp	LBB0_25
LBB0_16:
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_18
## %bb.17:
	cmpb	$0, (%r14)
	setne	%al
LBB0_18:
	movl	%eax, 8(%r13)
	jmp	LBB0_23
LBB0_19:
	movq	_real_crc32@GOTPCREL(%rip), %rcx
	jmp	LBB0_22
LBB0_20:
	movq	_fake_crc32@GOTPCREL(%rip), %rcx
LBB0_21:
	movb	%dl, %al
LBB0_22:
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r13)
	movl	%eax, 4(%r13)
LBB0_23:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %r15d
LBB0_25:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"compat-2x"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
L_.str.1:                               ## @.str.1
	.asciz	"hdrcharset"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
L_.str.2:                               ## @.str.2
	.asciz	"zip: hdrcharset option needs a character-set name"

L_.str.3:                               ## @.str.3
	.asciz	"UTF-8"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
L_.str.4:                               ## @.str.4
	.asciz	"ignorecrc32"

	.comm	_real_crc32,4,2                 ## @real_crc32
	.comm	_fake_crc32,4,2                 ## @fake_crc32
L_.str.5:                               ## @.str.5
	.asciz	"mac-ext"

	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.no_dead_strip	_archive_read_format_zip_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_read_format_zip_options
_archive_read_format_zip_options:       ; @archive_read_format_zip_options
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ARCHIVE_FAILED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.2:
Lloh7:
	adrp	x1, l_.str.4@PAGE
Lloh8:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.3:
Lloh9:
	adrp	x1, l_.str.5@PAGE
Lloh10:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_14
; %bb.4:
Lloh11:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
	b	LBB0_22
LBB0_5:
	cmp	x19, #0
	cset	w8, ne
	str	w8, [x23]
	b	LBB0_21
LBB0_6:
	cbz	x19, LBB0_13
; %bb.7:
	ldrb	w8, [x19]
	cbz	w8, LBB0_13
; %bb.8:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_archive_string_conversion_from_charset
	str	x0, [x23, #16]
	cbz	x0, LBB0_18
; %bb.9:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_21
; %bb.10:
	ldr	x8, [x23, #16]
	str	x8, [x23, #24]
	b	LBB0_21
LBB0_11:
Lloh15:
	adrp	x8, _real_crc32@GOTPAGE
Lloh16:
	ldr	x8, [x8, _real_crc32@GOTPAGEOFF]
	cbz	x19, LBB0_16
; %bb.12:
	ldrb	w9, [x19]
	cmp	w9, #0
	cset	w9, ne
Lloh17:
	adrp	x10, _fake_crc32@GOTPAGE
Lloh18:
	ldr	x10, [x10, _fake_crc32@GOTPAGEOFF]
	csel	x8, x8, x10, eq
	b	LBB0_17
LBB0_13:
Lloh19:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_archive_set_error
	b	LBB0_23
LBB0_14:
	cbz	x19, LBB0_19
; %bb.15:
	ldrb	w8, [x19]
	cmp	w8, #0
	cset	w8, ne
	b	LBB0_20
LBB0_16:
	mov	w9, #0
LBB0_17:
	ldr	w8, [x8]
	str	w8, [x23, #12]
	str	w9, [x23, #4]
	b	LBB0_21
LBB0_18:
Lloh24:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_22
LBB0_19:
	mov	w8, #0
LBB0_20:
	str	w8, [x23, #8]
LBB0_21:
Lloh26:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_22:
	ldr	w20, [x8]
LBB0_23:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"compat-2x"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
l_.str.1:                               ; @.str.1
	.asciz	"hdrcharset"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
l_.str.2:                               ; @.str.2
	.asciz	"zip: hdrcharset option needs a character-set name"

l_.str.3:                               ; @.str.3
	.asciz	"UTF-8"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
l_.str.4:                               ; @.str.4
	.asciz	"ignorecrc32"

	.comm	_real_crc32,4,2                 ; @real_crc32
	.comm	_fake_crc32,4,2                 ; @fake_crc32
l_.str.5:                               ; @.str.5
	.asciz	"mac-ext"

	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.no_dead_strip	_archive_read_format_zip_options
.subsections_via_symbols
