	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function metadata_filter
_metadata_filter:                       ## @metadata_filter
	.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	%rdx, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_failure
	movq	%rbx, %rdi
	callq	_archive_entry_ctime_is_set
	movl	$8, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	leaq	L_.str.1(%rip), %rdi
	callq	_failure
	movq	%rbx, %rdi
	callq	_archive_entry_mtime_is_set
	movl	$16, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_entry_mtime
	xorl	%ebx, %ebx
	cmpl	$886611, %eax                   ## imm = 0xD8753
	jl	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_archive_read_disk_can_descend
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	callq	_failure
	movq	%r14, %rdi
	callq	_archive_read_disk_can_descend
	movl	$1, %ebx
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_assertEqualIntA
	leaq	L_.str.3(%rip), %rdi
	callq	_failure
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_archive_read_disk_descend
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_assertEqualIntA
	jmp	LBB0_4
LBB0_2:
	movl	$1, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CTime should be set"

L_.str.1:                               ## @.str.1
	.asciz	"MTime should be set"

L_.str.2:                               ## @.str.2
	.asciz	"archive_read_disk_can_descend should work in metadata filter"

L_.str.3:                               ## @.str.3
	.asciz	"archive_read_disk_descend should work in metadata filter"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_metadata_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function metadata_filter
_metadata_filter:                       ; @metadata_filter
	.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	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_failure
	mov	x0, x20
	bl	_archive_entry_ctime_is_set
	mov	x1, x0
	mov	w0, #8
	bl	_assertEqualInt
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_failure
	mov	x0, x20
	bl	_archive_entry_mtime_is_set
	mov	x1, x0
	mov	w0, #16
	bl	_assertEqualInt
	mov	x0, x20
	bl	_archive_entry_mtime
	mov	w8, #34643
	movk	w8, #13, lsl #16
	cmp	w0, w8
	b.ge	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_archive_read_disk_can_descend
	cbz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_failure
	mov	x0, x19
	bl	_archive_read_disk_can_descend
	mov	x2, x0
	mov	w20, #1
	mov	x0, x19
	mov	w1, #1
	bl	_assertEqualIntA
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_failure
Lloh8:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_archive_read_disk_descend
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_assertEqualIntA
	b	LBB0_5
LBB0_4:
	mov	w20, #1
LBB0_5:
	mov	x0, x20
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CTime should be set"

l_.str.1:                               ; @.str.1
	.asciz	"MTime should be set"

l_.str.2:                               ; @.str.2
	.asciz	"archive_read_disk_can_descend should work in metadata filter"

l_.str.3:                               ; @.str.3
	.asciz	"archive_read_disk_descend should work in metadata filter"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_metadata_filter
.subsections_via_symbols
