	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_read_format_cab_cleanup
_archive_read_format_cab_cleanup:       ## @archive_read_format_cab_cleanup
	.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	(%rdi), %rax
	movq	(%rax), %r15
	movq	56(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	cmpl	$0, 40(%r15)
	jle	LBB0_4
## %bb.2:
	movl	$64, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%r12), %rdi
	callq	_free
	incq	%rbx
	movslq	40(%r15), %rax
	movq	56(%r15), %rdi
	addq	$72, %r12
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	callq	_free
LBB0_5:
	movq	48(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.6:
	cmpl	$0, 44(%r15)
	jle	LBB0_9
## %bb.7:
	movl	$32, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	addq	%r12, %rdi
	callq	_archive_string_free
	incq	%rbx
	movslq	44(%r15), %rax
	movq	48(%r15), %rdi
	addq	$72, %r12
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	callq	_free
LBB0_10:
	leaq	12(%r15), %rdi
	callq	_lzx_decode_free
	leaq	8(%r15), %rdi
	callq	_archive_wstring_free
	movq	(%r15), %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_free
	movq	(%r14), %rax
	movq	$0, (%rax)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_archive_read_format_cab_cleanup
.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_cab_cleanup
_archive_read_format_cab_cleanup:       ; @archive_read_format_cab_cleanup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x20, [x8]
	ldr	x0, [x20, #56]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x20, #40]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
	mov	w22, #64
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x0, x22]
	bl	_free
	add	x21, x21, #1
	ldrsw	x8, [x20, #40]
	ldr	x0, [x20, #56]
	add	x22, x22, #72
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_4:
	bl	_free
LBB0_5:
	ldr	x0, [x20, #48]
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w8, [x20, #44]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
	mov	w22, #32
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x0, x22
	bl	_archive_string_free
	add	x21, x21, #1
	ldrsw	x8, [x20, #44]
	ldr	x0, [x20, #48]
	add	x22, x22, #72
	cmp	x21, x8
	b.lt	LBB0_8
LBB0_9:
	bl	_free
LBB0_10:
	add	x0, x20, #12
	bl	_lzx_decode_free
	add	x0, x20, #8
	bl	_archive_wstring_free
	ldr	x0, [x20]
	bl	_free
	mov	x0, x20
	bl	_free
	ldr	x8, [x19]
	str	xzr, [x8]
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_archive_read_format_cab_cleanup
.subsections_via_symbols
