	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_support_format_7zip ## -- Begin function archive_read_support_format_7zip
	.p2align	4, 0x90
_archive_read_support_format_7zip:      ## @archive_read_support_format_7zip
	.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	%rdi, %r14
	movq	_ARCHIVE_READ_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_archive_check_magic
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_archive_read_format_7zip_bid@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_archive_read_format_7zip_read_header@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_archive_read_format_7zip_read_data@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_archive_read_format_7zip_read_data_skip@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
	movq	_archive_read_format_7zip_cleanup@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	movq	_archive_read_support_format_7zip_capabilities@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movq	_archive_read_format_7zip_has_encrypted_entries@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%r8d, %r8d
	pushq	%rax
	pushq	%rbx
	pushq	%r12
	pushq	$0
	pushq	%r11
	pushq	%r10
	callq	___archive_read_register_format
	addq	$48, %rsp
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	%ebx, %eax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_free
	movl	%ebx, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_READ_MAGIC,4,2         ## @ARCHIVE_READ_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ## @ARCHIVE_STATE_NEW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_read_support_format_7zip"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Can't allocate 7zip data"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW,4,2 ## @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW
L_.str.2:                               ## @.str.2
	.asciz	"7zip"

	.comm	_archive_read_format_7zip_bid,4,2 ## @archive_read_format_7zip_bid
	.comm	_archive_read_format_7zip_read_header,4,2 ## @archive_read_format_7zip_read_header
	.comm	_archive_read_format_7zip_read_data,4,2 ## @archive_read_format_7zip_read_data
	.comm	_archive_read_format_7zip_read_data_skip,4,2 ## @archive_read_format_7zip_read_data_skip
	.comm	_archive_read_format_7zip_cleanup,4,2 ## @archive_read_format_7zip_cleanup
	.comm	_archive_read_support_format_7zip_capabilities,4,2 ## @archive_read_support_format_7zip_capabilities
	.comm	_archive_read_format_7zip_has_encrypted_entries,4,2 ## @archive_read_format_7zip_has_encrypted_entries
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_support_format_7zip ; -- Begin function archive_read_support_format_7zip
	.p2align	2
_archive_read_support_format_7zip:      ; @archive_read_support_format_7zip
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _ARCHIVE_READ_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_READ_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ARCHIVE_STATE_NEW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_STATE_NEW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	bl	_archive_check_magic
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh8:
	adrp	x8, _ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x0]
Lloh11:
	adrp	x8, _archive_read_format_7zip_bid@GOTPAGE
Lloh12:
	ldr	x8, [x8, _archive_read_format_7zip_bid@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	adrp	x8, _archive_read_format_7zip_read_header@GOTPAGE
Lloh15:
	ldr	x8, [x8, _archive_read_format_7zip_read_header@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
Lloh17:
	adrp	x8, _archive_read_format_7zip_read_data@GOTPAGE
Lloh18:
	ldr	x8, [x8, _archive_read_format_7zip_read_data@GOTPAGEOFF]
Lloh19:
	ldr	w6, [x8]
Lloh20:
	adrp	x8, _archive_read_format_7zip_read_data_skip@GOTPAGE
Lloh21:
	ldr	x8, [x8, _archive_read_format_7zip_read_data_skip@GOTPAGEOFF]
Lloh22:
	ldr	w7, [x8]
Lloh23:
	adrp	x8, _archive_read_format_7zip_cleanup@GOTPAGE
Lloh24:
	ldr	x8, [x8, _archive_read_format_7zip_cleanup@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _archive_read_support_format_7zip_capabilities@GOTPAGE
Lloh27:
	ldr	x9, [x9, _archive_read_support_format_7zip_capabilities@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	adrp	x10, _archive_read_format_7zip_has_encrypted_entries@GOTPAGE
Lloh30:
	ldr	x10, [x10, _archive_read_format_7zip_has_encrypted_entries@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	stp	w9, w10, [sp, #12]
	str	w8, [sp, #8]
	str	xzr, [sp]
Lloh32:
	adrp	x2, l_.str.2@PAGE
Lloh33:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x4, #0
	bl	___archive_read_register_format
Lloh34:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh36:
	ldr	w19, [x8]
	cmp	w0, w19
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_free
	mov	x0, x19
	b	LBB0_4
LBB0_3:
Lloh37:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x2, l_.str.1@PAGE
Lloh41:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
Lloh42:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.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	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_READ_MAGIC,4,2         ; @ARCHIVE_READ_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ; @ARCHIVE_STATE_NEW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_read_support_format_7zip"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Can't allocate 7zip data"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW,4,2 ; @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW
l_.str.2:                               ; @.str.2
	.asciz	"7zip"

	.comm	_archive_read_format_7zip_bid,4,2 ; @archive_read_format_7zip_bid
	.comm	_archive_read_format_7zip_read_header,4,2 ; @archive_read_format_7zip_read_header
	.comm	_archive_read_format_7zip_read_data,4,2 ; @archive_read_format_7zip_read_data
	.comm	_archive_read_format_7zip_read_data_skip,4,2 ; @archive_read_format_7zip_read_data_skip
	.comm	_archive_read_format_7zip_cleanup,4,2 ; @archive_read_format_7zip_cleanup
	.comm	_archive_read_support_format_7zip_capabilities,4,2 ; @archive_read_support_format_7zip_capabilities
	.comm	_archive_read_format_7zip_has_encrypted_entries,4,2 ; @archive_read_format_7zip_has_encrypted_entries
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
.subsections_via_symbols
