	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar_parse_gnu_filename_table
_ar_parse_gnu_filename_table:           ## @ar_parse_gnu_filename_table
	.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
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %rdx
	decq	%rdx
	cmpq	%rdx, %rcx
	jae	LBB0_1
## %bb.2:
	movq	%rcx, %rdx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	leaq	(%rdx,%rax), %rsi
	decq	%rsi
	cmpq	%rsi, %rcx
	jae	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$47, (%rcx)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$0, (%rcx)
	cmpb	$10, 1(%rcx)
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	movb	$0, (%rcx)
	movq	8(%rbx), %rdx
	jmp	LBB0_6
LBB0_1:
	leaq	(%rcx,%rax), %rsi
	movq	%rcx, %rdx
	cmpq	%rsi, %rcx
	jne	LBB0_9
	jmp	LBB0_11
LBB0_7:
	leaq	(%rdx,%rax), %rsi
	cmpq	%rsi, %rcx
	je	LBB0_11
LBB0_9:
	movb	(%rcx), %cl
	cmpb	$96, %cl
	je	LBB0_11
## %bb.10:
	cmpb	$10, %cl
	jne	LBB0_12
LBB0_11:
	movb	$0, -1(%rax,%rdx)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_archive_set_error
	movq	8(%rbx), %rdi
	callq	_free
	movq	$0, 8(%rbx)
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid string table"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.no_dead_strip	_ar_parse_gnu_filename_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar_parse_gnu_filename_table
_ar_parse_gnu_filename_table:           ; @ar_parse_gnu_filename_table
	.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
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
	ldp	x8, x9, [x19]
	add	x11, x9, x8
	sub	x10, x11, #1
	cmp	x9, x10
	b.hs	LBB0_7
; %bb.1:
	mov	x10, x9
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, x10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x11, #1
	add	x11, x9, x8
	sub	x12, x11, #1
	cmp	x10, x12
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10]
	cmp	w11, #47
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, x10
	ldrb	w9, [x11, #1]!
	strb	wzr, [x10]
	cmp	w9, #10
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x11]
	ldr	x9, [x19, #8]
	b	LBB0_3
LBB0_7:
	mov	x10, x9
LBB0_8:
	cmp	x10, x11
	b.eq	LBB0_10
; %bb.9:
	ldrb	w10, [x10]
	cmp	w10, #96
	ccmp	w10, #10, #4, ne
	b.ne	LBB0_11
LBB0_10:
	add	x8, x8, x9
	sturb	wzr, [x8, #-1]
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_archive_set_error
	ldr	x0, [x19, #8]
	bl	_free
	str	xzr, [x19, #8]
Lloh7:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid string table"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.no_dead_strip	_ar_parse_gnu_filename_table
.subsections_via_symbols
