	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_match_free             ## -- Begin function archive_match_free
	.p2align	4, 0x90
_archive_match_free:                    ## @archive_match_free
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	_ARCHIVE_MATCH_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_ANY@GOTPCREL(%rip), %rax
	movq	_ARCHIVE_STATE_FATAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_archive_check_magic
	leaq	32(%rbx), %rdi
	callq	_match_list_free
	leaq	28(%rbx), %rdi
	callq	_match_list_free
	leaq	24(%rbx), %rdi
	callq	_entry_list_free
	movq	16(%rbx), %rdi
	callq	_free
	movq	8(%rbx), %rdi
	callq	_free
	leaq	4(%rbx), %rdi
	callq	_match_list_free
	movq	%rbx, %rdi
	callq	_match_list_free
	movq	%rbx, %rdi
	callq	_free
LBB0_2:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_MATCH_MAGIC,4,2        ## @ARCHIVE_MATCH_MAGIC
	.comm	_ARCHIVE_STATE_ANY,4,2          ## @ARCHIVE_STATE_ANY
	.comm	_ARCHIVE_STATE_FATAL,4,2        ## @ARCHIVE_STATE_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_match_free"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_match_free             ; -- Begin function archive_match_free
	.p2align	2
_archive_match_free:                    ; @archive_match_free
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _ARCHIVE_MATCH_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_MATCH_MAGIC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ARCHIVE_STATE_ANY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ARCHIVE_STATE_ANY@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ARCHIVE_STATE_FATAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARCHIVE_STATE_FATAL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	bl	_archive_check_magic
	add	x0, x19, #32
	bl	_match_list_free
	add	x0, x19, #28
	bl	_match_list_free
	add	x0, x19, #24
	bl	_entry_list_free
	ldr	x0, [x19, #16]
	bl	_free
	ldr	x0, [x19, #8]
	bl	_free
	add	x0, x19, #4
	bl	_match_list_free
	mov	x0, x19
	bl	_match_list_free
	mov	x0, x19
	bl	_free
LBB0_2:
Lloh11:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_MATCH_MAGIC,4,2        ; @ARCHIVE_MATCH_MAGIC
	.comm	_ARCHIVE_STATE_ANY,4,2          ; @ARCHIVE_STATE_ANY
	.comm	_ARCHIVE_STATE_FATAL,4,2        ; @ARCHIVE_STATE_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_match_free"

.subsections_via_symbols
