	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function archive_read_open_filenames
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_archive_read_open_filenames
	.p2align	4, 0x90
_archive_read_open_filenames:           ## @archive_read_open_filenames
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movq	(%rsi), %r13
	addq	$8, %r12
	jmp	LBB0_3
LBB0_1:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_3:
	movq	%r15, %rdi
	callq	_archive_clear_error
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r13, %r13
	leaq	L_.str(%rip), %rax
	cmoveq	%rax, %r13
	movq	%r13, %rdi
	callq	_strlen
	leaq	48(%rax), %rsi
	movl	$1, %edi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movl	40(%rax), %edi
	movq	%r13, %rsi
	callq	_strcpy
	movq	%r14, (%rbx)
	movl	$-1, 8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	$0, 32(%rbx)
	cmpb	$0, (%r13)
	movq	_FNT_MBS@GOTPCREL(%rip), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_FNT_STDIN@GOTPCREL(%rip), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_archive_read_append_callback_data
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%r12, %r12
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %r13
	testq	%r13, %r13
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %r12
	cmpb	$0, (%r13)
	jne	LBB0_4
LBB0_11:
	movq	_file_open@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_archive_read_set_open_callback
	movq	_file_read@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_archive_read_set_read_callback
	movq	_file_skip@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_archive_read_set_skip_callback
	movq	_file_close@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_archive_read_set_close_callback
	movq	_file_switch@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_archive_read_set_switch_callback
	movq	_file_seek@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_archive_read_set_seek_callback
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_archive_read_open1             ## TAILCALL
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	callq	_archive_set_error
LBB0_13:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_FNT_STDIN,4,2                  ## @FNT_STDIN
	.comm	_FNT_MBS,4,2                    ## @FNT_MBS
	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_file_open,4,2                  ## @file_open
	.comm	_file_read,4,2                  ## @file_read
	.comm	_file_skip,4,2                  ## @file_skip
	.comm	_file_close,4,2                 ## @file_close
	.comm	_file_switch,4,2                ## @file_switch
	.comm	_file_seek,4,2                  ## @file_seek
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"No memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_open_filenames    ; -- Begin function archive_read_open_filenames
	.p2align	2
_archive_read_open_filenames:           ; @archive_read_open_filenames
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x22, [x21], #8
	b	LBB0_3
LBB0_2:
	mov	x22, #0
LBB0_3:
	mov	x0, x19
	bl	_archive_clear_error
	mov	w24, #-1
Lloh0:
	adrp	x25, _FNT_STDIN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FNT_STDIN@GOTPAGEOFF]
Lloh2:
	adrp	x26, _FNT_MBS@GOTPAGE
Lloh3:
	ldr	x26, [x26, _FNT_MBS@GOTPAGEOFF]
Lloh4:
	adrp	x27, l_.str@PAGE
Lloh5:
	add	x27, x27, l_.str@PAGEOFF
Lloh6:
	adrp	x28, _ARCHIVE_OK@GOTPAGE
Lloh7:
	ldr	x28, [x28, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x22, #0
	csel	x22, x27, x22, eq
	mov	x0, x22
	bl	_strlen
	add	x1, x0, #48
	mov	w0, #1
	bl	_calloc
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldr	w0, [x0, #40]
	mov	x1, x22
	bl	_strcpy
	str	x20, [x23]
	str	w24, [x23, #8]
	stp	xzr, xzr, [x23, #24]
	str	xzr, [x23, #16]
	ldrb	w8, [x22]
	cmp	w8, #0
	csel	x8, x25, x26, eq
	ldr	w8, [x8]
	str	w8, [x23, #12]
	mov	x0, x19
	mov	x1, x23
	bl	_archive_read_append_callback_data
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x21, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x21]
	cbz	x22, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #8
	ldrb	w8, [x22]
	cbnz	w8, LBB0_4
LBB0_9:
Lloh8:
	adrp	x8, _file_open@GOTPAGE
Lloh9:
	ldr	x8, [x8, _file_open@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_archive_read_set_open_callback
Lloh11:
	adrp	x8, _file_read@GOTPAGE
Lloh12:
	ldr	x8, [x8, _file_read@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_archive_read_set_read_callback
Lloh14:
	adrp	x8, _file_skip@GOTPAGE
Lloh15:
	ldr	x8, [x8, _file_skip@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_archive_read_set_skip_callback
Lloh17:
	adrp	x8, _file_close@GOTPAGE
Lloh18:
	ldr	x8, [x8, _file_close@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_archive_read_set_close_callback
Lloh20:
	adrp	x8, _file_switch@GOTPAGE
Lloh21:
	ldr	x8, [x8, _file_switch@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_archive_read_set_switch_callback
Lloh23:
	adrp	x8, _file_seek@GOTPAGE
Lloh24:
	ldr	x8, [x8, _file_seek@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_archive_read_set_seek_callback
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_archive_read_open1
LBB0_10:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x2, l_.str.1@PAGE
Lloh30:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
LBB0_11:
Lloh31:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.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 AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_FNT_STDIN,4,2                  ; @FNT_STDIN
	.comm	_FNT_MBS,4,2                    ; @FNT_MBS
	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_file_open,4,2                  ; @file_open
	.comm	_file_read,4,2                  ; @file_read
	.comm	_file_skip,4,2                  ; @file_skip
	.comm	_file_close,4,2                 ; @file_close
	.comm	_file_switch,4,2                ; @file_switch
	.comm	_file_seek,4,2                  ; @file_seek
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"No memory"

.subsections_via_symbols
