	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zip_get_local_file_header_size
_zip_get_local_file_header_size:        ## @zip_get_local_file_header_size
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	addq	$30, %rsi
	xorl	%edx, %edx
	callq	___archive_read_ahead
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	addq	%r15, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movl	$-1, %esi
	jmp	LBB0_4
LBB0_1:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
LBB0_4:
	callq	_archive_set_error
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_6
LBB0_5:
	leaq	26(%rbx), %rdi
	callq	_archive_le16dec
	movq	%rax, %r14
	addq	$28, %rbx
	movq	%rbx, %rdi
	callq	_archive_le16dec
	addq	%r14, %rax
	addq	$30, %rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Truncated ZIP file header"

	.comm	_ARCHIVE_WARN,8,3               ## @ARCHIVE_WARN
L_.str.1:                               ## @.str.1
	.asciz	"PK\003\004"

L_.str.2:                               ## @.str.2
	.asciz	"Damaged Zip archive"

	.no_dead_strip	_zip_get_local_file_header_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zip_get_local_file_header_size
_zip_get_local_file_header_size:        ; @zip_get_local_file_header_size
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	x1, x1, #30
	mov	x2, #0
	bl	___archive_read_ahead
	cbz	x0, LBB0_3
; %bb.1:
	add	x20, x0, x20
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_5
; %bb.2:
Lloh2:
	adrp	x2, l_.str.2@PAGE
Lloh3:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #-1
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
LBB0_4:
	bl	_archive_set_error
Lloh9:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	b	LBB0_6
LBB0_5:
	add	x0, x20, #26
	bl	_archive_le16dec
	mov	x19, x0
	add	x0, x20, #28
	bl	_archive_le16dec
	add	x8, x19, x0
	add	x0, x8, #30
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Truncated ZIP file header"

	.comm	_ARCHIVE_WARN,8,3               ; @ARCHIVE_WARN
l_.str.1:                               ; @.str.1
	.asciz	"PK\003\004"

l_.str.2:                               ; @.str.2
	.asciz	"Damaged Zip archive"

	.no_dead_strip	_zip_get_local_file_header_size
.subsections_via_symbols
