	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _ar_read_header
__ar_read_header:                       ## @_ar_read_header
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AR_name_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_AR_fmag_offset@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_24
LBB0_2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	_AR_name_offset@GOTPCREL(%rip), %r13
	movslq	(%r13), %rsi
	addq	%r15, %rsi
	movq	_AR_name_size@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rdx
	movq	%r14, %rdi
	callq	_strncpy
	movslq	(%rbx), %rax
	movb	$0, (%r14,%rax)
	movq	(%r12), %rax
	movq	_ARCHIVE_FORMAT_AR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_ARCHIVE_FORMAT_AR_GNU@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$9, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%r12), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_ARCHIVE_FORMAT_AR_BSD@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_10:
	movq	_ARCHIVE_FORMAT_AR_GNU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rax
	jmp	LBB0_15
LBB0_12:
	movq	_ARCHIVE_FORMAT_AR_BSD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.5(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str.6(%rip), %rax
LBB0_15:
	movq	%rax, 8(%r12)
	movslq	(%rbx), %rax
	addq	%r14, %rax
	decq	%rax
	movb	$1, %cl
	cmpq	%r14, %rax
	jb	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, (%rax)
	sete	%cl
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movb	$0, (%rax)
	decq	%rax
	cmpq	%r14, %rax
	jae	LBB0_16
LBB0_18:
	cmpb	$47, (%r14)
	je	LBB0_22
## %bb.19:
	cmpq	%r14, %rax
	jbe	LBB0_22
## %bb.20:
	cmpb	$47, (%rax)
	jne	LBB0_22
## %bb.21:
	movb	$0, (%rax)
LBB0_22:
	testb	%cl, %cl
	je	LBB0_29
## %bb.23:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
LBB0_24:
	movq	%r12, %rdi
	callq	_archive_set_error
LBB0_25:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %ebx
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_67
## %bb.28:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_41
## %bb.30:
	cmpb	$47, (%r14)
	jne	LBB0_35
## %bb.31:
	movb	1(%r14), %al
	addb	$-48, %al
	cmpb	$9, %al
	ja	LBB0_35
## %bb.32:
	movslq	(%r13), %rax
	leaq	(%r15,%rax), %rdi
	incq	%rdi
	movl	(%rbx), %esi
	decl	%esi
	callq	_ar_atol10
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_52
## %bb.33:
	cltq
	cmpq	%rax, 8(%r13)
	jbe	LBB0_52
## %bb.34:
	addq	%rax, %rsi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_archive_entry_copy_pathname
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	jmp	LBB0_39
LBB0_35:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_48
## %bb.36:
	movq	%r15, %rbx
	leaq	L_.str.17(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_47
## %bb.37:
	leaq	L_.str.18(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_47
## %bb.38:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_archive_entry_copy_pathname
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rbx, %rdx
LBB0_39:
	callq	_ar_parse_common_header
LBB0_40:
	movl	%eax, %ebx
	jmp	LBB0_27
LBB0_41:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_ar_parse_common_header
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_entry_copy_pathname
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_archive_entry_set_filetype
	movq	_AR_size_offset@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	%r15, %rdi
	movq	_AR_size_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ar_atol10
	cmpl	$1073741824, %eax               ## imm = 0x40000000
	jg	LBB0_46
## %bb.42:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_46
## %bb.43:
	testl	%eax, %eax
	je	LBB0_53
## %bb.44:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx)
	je	LBB0_54
## %bb.45:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rdx
	jmp	LBB0_24
LBB0_46:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.9(%rip), %rdx
	jmp	LBB0_24
LBB0_47:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_archive_entry_copy_pathname
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ar_parse_common_header
	movl	%eax, %ebx
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_archive_entry_set_filetype
	jmp	LBB0_27
LBB0_48:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_ar_parse_common_header
	movslq	(%r13), %rax
	leaq	(%r15,%rax), %rdi
	addq	$3, %rdi
	movl	(%rbx), %esi
	addl	$-3, %esi
	callq	_ar_atol10
	cmpl	$1048576, %eax                  ## imm = 0x100000
	jg	LBB0_51
## %bb.49:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_51
## %bb.50:
	movslq	%eax, %r13
	movq	16(%r14), %rsi
	subq	%r13, %rsi
	jge	LBB0_59
LBB0_51:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.14(%rip), %rdx
	jmp	LBB0_24
LBB0_52:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.13(%rip), %rdx
	movq	%r12, %rdi
	callq	_archive_set_error
	movq	%r15, %rbx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_archive_entry_copy_pathname
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ar_parse_common_header
	jmp	LBB0_25
LBB0_53:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.10(%rip), %rdx
	jmp	LBB0_24
LBB0_54:
	movslq	%eax, %r15
	movq	%r15, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_64
## %bb.55:
	movq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movq	%r15, 8(%rax)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_57
## %bb.56:
	movq	%r12, %rdi
	callq	___archive_read_consume
	movq	$0, (%rbx)
LBB0_57:
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	___archive_read_ahead
	testq	%rax, %rax
	je	LBB0_25
## %bb.58:
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	___archive_read_consume
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 16(%rax)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_archive_entry_set_size
	movq	%r12, %rdi
	callq	_ar_parse_gnu_filename_table
	jmp	LBB0_40
LBB0_59:
	movq	%rsi, 16(%r14)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_archive_entry_set_size
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_61
## %bb.60:
	movq	%r12, %rdi
	callq	___archive_read_consume
	movq	$0, (%rbx)
LBB0_61:
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	___archive_read_ahead
	testq	%rax, %rax
	je	LBB0_65
## %bb.62:
	movq	%rax, %r15
	movq	%r14, %rbx
	leaq	1(%r13), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_66
## %bb.63:
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_strncpy
	movb	$0, (%r14,%r13)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	___archive_read_consume
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_entry_copy_pathname
	movq	%r14, %rdi
	callq	_free
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_64:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.12(%rip), %rdx
	jmp	LBB0_24
LBB0_65:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.15(%rip), %rdx
	jmp	LBB0_24
LBB0_66:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.16(%rip), %rdx
	jmp	LBB0_24
LBB0_67:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_name_size,4,2               ## @AR_name_size
	.comm	_AR_fmag_offset,4,2             ## @AR_fmag_offset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"`\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Incorrect file header signature"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_AR_name_offset,4,2             ## @AR_name_offset
	.comm	_ARCHIVE_FORMAT_AR,8,3          ## @ARCHIVE_FORMAT_AR
L_.str.2:                               ## @.str.2
	.asciz	"#1/"

	.comm	_ARCHIVE_FORMAT_AR_BSD,8,3      ## @ARCHIVE_FORMAT_AR_BSD
	.comm	_ARCHIVE_FORMAT_AR_GNU,8,3      ## @ARCHIVE_FORMAT_AR_GNU
L_.str.3:                               ## @.str.3
	.asciz	"__.SYMDEF"

L_.str.4:                               ## @.str.4
	.asciz	"ar (GNU/SVR4)"

L_.str.5:                               ## @.str.5
	.asciz	"ar (BSD)"

L_.str.6:                               ## @.str.6
	.asciz	"ar"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
L_.str.7:                               ## @.str.7
	.asciz	"Found entry with empty filename"

L_.str.8:                               ## @.str.8
	.asciz	"//"

	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
	.comm	_AR_size_offset,4,2             ## @AR_size_offset
	.comm	_AR_size_size,4,2               ## @AR_size_size
	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
L_.str.9:                               ## @.str.9
	.asciz	"Filename table too large"

L_.str.10:                              ## @.str.10
	.asciz	"Invalid string table"

L_.str.11:                              ## @.str.11
	.asciz	"More than one string tables exist"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.12:                              ## @.str.12
	.asciz	"Can't allocate filename table buffer"

L_.str.13:                              ## @.str.13
	.asciz	"Can't find long filename for GNU/SVR4 archive entry"

L_.str.14:                              ## @.str.14
	.asciz	"Bad input file size"

L_.str.15:                              ## @.str.15
	.asciz	"Truncated input file"

L_.str.16:                              ## @.str.16
	.asciz	"Can't allocate fname buffer"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
L_.str.17:                              ## @.str.17
	.asciz	"/"

L_.str.18:                              ## @.str.18
	.asciz	"/SYM64/"

	.no_dead_strip	__ar_read_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _ar_read_header
__ar_read_header:                       ; @_ar_read_header
	.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
	sub	sp, sp, #16
	mov	x23, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x25, _AR_name_size@GOTPAGE
Lloh4:
	ldr	x25, [x25, _AR_name_size@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w8, w8, #1
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
Lloh7:
	adrp	x8, _AR_fmag_offset@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AR_fmag_offset@GOTPAGEOFF]
Lloh9:
	ldrsw	x8, [x8]
	add	x0, x3, x8
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_24
LBB0_2:
Lloh17:
	adrp	x26, _AR_name_offset@GOTPAGE
Lloh18:
	ldr	x26, [x26, _AR_name_offset@GOTPAGEOFF]
	ldrsw	x8, [x26]
	add	x1, x22, x8
	ldrsw	x2, [x25]
	mov	x0, x24
	bl	_strncpy
	ldrsw	x8, [x25]
	strb	wzr, [x24, x8]
	ldr	x8, [x20]
Lloh19:
	adrp	x9, _ARCHIVE_FORMAT_AR@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ARCHIVE_FORMAT_AR@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x27, _ARCHIVE_FORMAT_AR_GNU@GOTPAGE
Lloh23:
	ldr	x27, [x27, _ARCHIVE_FORMAT_AR_GNU@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.3:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	mov	w2, #3
	bl	_strncmp
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x24
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x27]
	b	LBB0_9
LBB0_6:
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x24
	mov	w2, #9
	bl	_strncmp
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x20]
	b	LBB0_10
LBB0_8:
Lloh28:
	adrp	x8, _ARCHIVE_FORMAT_AR_BSD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ARCHIVE_FORMAT_AR_BSD@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
LBB0_9:
	str	x8, [x20]
LBB0_10:
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
Lloh31:
	adrp	x8, l_.str.4@PAGE
Lloh32:
	add	x8, x8, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_12:
Lloh33:
	adrp	x9, _ARCHIVE_FORMAT_AR_BSD@GOTPAGE
Lloh34:
	ldr	x9, [x9, _ARCHIVE_FORMAT_AR_BSD@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
Lloh36:
	adrp	x8, l_.str.5@PAGE
Lloh37:
	add	x8, x8, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh38:
	adrp	x8, l_.str.6@PAGE
Lloh39:
	add	x8, x8, l_.str.6@PAGEOFF
LBB0_15:
	str	x8, [x20, #8]
	ldrsw	x8, [x25]
	add	x8, x24, x8
	sub	x8, x8, #1
	cmp	x8, x24
	b.hs	LBB0_17
; %bb.16:
	mov	w9, #1
	b	LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8]
	cmp	w9, #32
	cset	w9, eq
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	strb	wzr, [x8], #-1
	cmp	x8, x24
	b.hs	LBB0_17
LBB0_19:
	ldrb	w10, [x24]
	cmp	w10, #47
	ccmp	x8, x24, #0, ne
	b.ls	LBB0_22
; %bb.20:
	ldrb	w10, [x8]
	cmp	w10, #47
	b.ne	LBB0_22
; %bb.21:
	strb	wzr, [x8]
LBB0_22:
	cbz	w9, LBB0_29
; %bb.23:
Lloh40:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
Lloh43:
	adrp	x2, l_.str.7@PAGE
Lloh44:
	add	x2, x2, l_.str.7@PAGEOFF
LBB0_24:
	mov	x0, x20
	bl	_archive_set_error
LBB0_25:
Lloh45:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_26:
	ldr	w20, [x8]
LBB0_27:
	ldur	x8, [x29, #-88]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_65
; %bb.28:
	mov	x0, x20
	sub	sp, x29, #80
	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
LBB0_29:
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x24
	bl	_strcmp
	cbz	x0, LBB0_41
; %bb.30:
	ldrb	w8, [x24]
	cmp	w8, #47
	b.ne	LBB0_35
; %bb.31:
	ldrb	w8, [x24, #1]
	sub	w8, w8, #48
	cmp	w8, #9
	b.hi	LBB0_35
; %bb.32:
	ldrsw	x8, [x26]
	add	x8, x22, x8
	add	x0, x8, #1
	ldr	w8, [x25]
	sub	w1, w8, #1
	bl	_ar_atol10
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x21]
	cbz	x8, LBB0_50
; %bb.33:
	sxtw	x9, w0
	ldr	x10, [x21, #8]
	cmp	x10, x9
	b.ls	LBB0_50
; %bb.34:
	add	x1, x8, x9
	mov	x0, x19
	b	LBB0_39
LBB0_35:
Lloh52:
	adrp	x1, l_.str.2@PAGE
Lloh53:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	mov	w2, #3
	bl	_strncmp
	cbz	x0, LBB0_47
; %bb.36:
Lloh54:
	adrp	x1, l_.str.17@PAGE
Lloh55:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x24
	bl	_strcmp
	cbz	x0, LBB0_46
; %bb.37:
Lloh56:
	adrp	x1, l_.str.18@PAGE
Lloh57:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x24
	bl	_strcmp
	cbz	x0, LBB0_46
; %bb.38:
Lloh58:
	adrp	x1, l_.str.3@PAGE
Lloh59:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x24
	bl	_strcmp
	mov	x0, x19
	mov	x1, x24
LBB0_39:
	bl	_archive_entry_copy_pathname
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_ar_parse_common_header
LBB0_40:
	mov	x20, x0
	b	LBB0_27
LBB0_41:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_ar_parse_common_header
	mov	x0, x19
	mov	x1, x24
	bl	_archive_entry_copy_pathname
Lloh60:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh61:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_archive_entry_set_filetype
Lloh63:
	adrp	x8, _AR_size_offset@GOTPAGE
Lloh64:
	ldr	x8, [x8, _AR_size_offset@GOTPAGEOFF]
Lloh65:
	ldrsw	x8, [x8]
	add	x0, x22, x8
Lloh66:
	adrp	x8, _AR_size_size@GOTPAGE
Lloh67:
	ldr	x8, [x8, _AR_size_size@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	bl	_ar_atol10
                                        ; kill: def $w0 killed $w0 def $x0
Lloh69:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh70:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	mov	w9, #1073741824
	cmp	w0, w9
	ccmp	w0, w8, #0, le
	b.le	LBB0_43
; %bb.42:
Lloh72:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
Lloh75:
	adrp	x2, l_.str.9@PAGE
Lloh76:
	add	x2, x2, l_.str.9@PAGEOFF
	b	LBB0_24
LBB0_43:
	cbz	w0, LBB0_51
; %bb.44:
	ldr	x8, [x21]
	cbz	x8, LBB0_52
; %bb.45:
Lloh77:
	adrp	x8, _EINVAL@GOTPAGE
Lloh78:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
Lloh80:
	adrp	x2, l_.str.11@PAGE
Lloh81:
	add	x2, x2, l_.str.11@PAGEOFF
	b	LBB0_24
LBB0_46:
	mov	x0, x19
	mov	x1, x24
	bl	_archive_entry_copy_pathname
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_ar_parse_common_header
	mov	x20, x0
Lloh82:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh83:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_archive_entry_set_filetype
	b	LBB0_27
LBB0_47:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_ar_parse_common_header
	ldrsw	x8, [x26]
	add	x8, x22, x8
	add	x0, x8, #3
	ldr	w8, [x25]
	sub	w1, w8, #3
	bl	_ar_atol10
                                        ; kill: def $w0 killed $w0 def $x0
Lloh85:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh86:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
	cmp	w0, #256, lsl #12               ; =1048576
	ccmp	w0, w8, #0, le
	b.ge	LBB0_49
; %bb.48:
	sxtw	x22, w0
	ldr	x8, [x21, #16]
	subs	x1, x8, x22
	b.ge	LBB0_57
LBB0_49:
Lloh88:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh90:
	ldr	w1, [x8]
Lloh91:
	adrp	x2, l_.str.14@PAGE
Lloh92:
	add	x2, x2, l_.str.14@PAGEOFF
	b	LBB0_24
LBB0_50:
Lloh93:
	adrp	x8, _EINVAL@GOTPAGE
Lloh94:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
Lloh96:
	adrp	x2, l_.str.13@PAGE
Lloh97:
	add	x2, x2, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_archive_set_error
	mov	x0, x19
	mov	x1, x24
	bl	_archive_entry_copy_pathname
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_ar_parse_common_header
	b	LBB0_25
LBB0_51:
Lloh98:
	adrp	x8, _EINVAL@GOTPAGE
Lloh99:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x8]
Lloh101:
	adrp	x2, l_.str.10@PAGE
Lloh102:
	add	x2, x2, l_.str.10@PAGEOFF
	b	LBB0_24
LBB0_52:
	sxtw	x22, w0
	mov	x0, x22
	bl	_malloc
	cbz	x0, LBB0_62
; %bb.53:
	mov	x24, x0
	stp	x0, x22, [x21]
	ldr	x1, [x23]
	cbz	x1, LBB0_55
; %bb.54:
	mov	x0, x20
	bl	___archive_read_consume
	str	xzr, [x23]
LBB0_55:
	mov	x0, x20
	mov	x1, x22
	mov	x2, #0
	bl	___archive_read_ahead
	cbz	x0, LBB0_25
; %bb.56:
	mov	x1, x0
	mov	x0, x24
	mov	x2, x22
	bl	_memcpy
	mov	x0, x20
	mov	x1, x22
	bl	___archive_read_consume
	str	xzr, [x21, #16]
	mov	x0, x19
	mov	x1, #0
	bl	_archive_entry_set_size
	mov	x0, x20
	bl	_ar_parse_gnu_filename_table
	b	LBB0_40
LBB0_57:
	str	x1, [x21, #16]
	mov	x0, x19
	bl	_archive_entry_set_size
	ldr	x1, [x23]
	cbz	x1, LBB0_59
; %bb.58:
	mov	x0, x20
	bl	___archive_read_consume
	str	xzr, [x23]
LBB0_59:
	mov	x0, x20
	mov	x1, x22
	mov	x2, #0
	bl	___archive_read_ahead
	cbz	x0, LBB0_63
; %bb.60:
	mov	x23, x0
	add	x0, x22, #1
	bl	_malloc
	cbz	x0, LBB0_64
; %bb.61:
	mov	x21, x0
	mov	x1, x23
	mov	x2, x22
	bl	_strncpy
	strb	wzr, [x21, x22]
	mov	x0, x20
	mov	x1, x22
	bl	___archive_read_consume
	mov	x0, x19
	mov	x1, x21
	bl	_archive_entry_copy_pathname
	mov	x0, x21
	bl	_free
Lloh103:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh104:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_26
LBB0_62:
Lloh105:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh106:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh107:
	ldr	w1, [x8]
Lloh108:
	adrp	x2, l_.str.12@PAGE
Lloh109:
	add	x2, x2, l_.str.12@PAGEOFF
	b	LBB0_24
LBB0_63:
Lloh110:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh111:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh112:
	ldr	w1, [x8]
Lloh113:
	adrp	x2, l_.str.15@PAGE
Lloh114:
	add	x2, x2, l_.str.15@PAGEOFF
	b	LBB0_24
LBB0_64:
Lloh115:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh116:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh117:
	ldr	w1, [x8]
Lloh118:
	adrp	x2, l_.str.16@PAGE
Lloh119:
	add	x2, x2, l_.str.16@PAGEOFF
	b	LBB0_24
LBB0_65:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_name_size,4,2               ; @AR_name_size
	.comm	_AR_fmag_offset,4,2             ; @AR_fmag_offset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"`\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Incorrect file header signature"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_AR_name_offset,4,2             ; @AR_name_offset
	.comm	_ARCHIVE_FORMAT_AR,8,3          ; @ARCHIVE_FORMAT_AR
l_.str.2:                               ; @.str.2
	.asciz	"#1/"

	.comm	_ARCHIVE_FORMAT_AR_BSD,8,3      ; @ARCHIVE_FORMAT_AR_BSD
	.comm	_ARCHIVE_FORMAT_AR_GNU,8,3      ; @ARCHIVE_FORMAT_AR_GNU
l_.str.3:                               ; @.str.3
	.asciz	"__.SYMDEF"

l_.str.4:                               ; @.str.4
	.asciz	"ar (GNU/SVR4)"

l_.str.5:                               ; @.str.5
	.asciz	"ar (BSD)"

l_.str.6:                               ; @.str.6
	.asciz	"ar"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
l_.str.7:                               ; @.str.7
	.asciz	"Found entry with empty filename"

l_.str.8:                               ; @.str.8
	.asciz	"//"

	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
	.comm	_AR_size_offset,4,2             ; @AR_size_offset
	.comm	_AR_size_size,4,2               ; @AR_size_size
	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
l_.str.9:                               ; @.str.9
	.asciz	"Filename table too large"

l_.str.10:                              ; @.str.10
	.asciz	"Invalid string table"

l_.str.11:                              ; @.str.11
	.asciz	"More than one string tables exist"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.12:                              ; @.str.12
	.asciz	"Can't allocate filename table buffer"

l_.str.13:                              ; @.str.13
	.asciz	"Can't find long filename for GNU/SVR4 archive entry"

l_.str.14:                              ; @.str.14
	.asciz	"Bad input file size"

l_.str.15:                              ; @.str.15
	.asciz	"Truncated input file"

l_.str.16:                              ; @.str.16
	.asciz	"Can't allocate fname buffer"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
l_.str.17:                              ; @.str.17
	.asciz	"/"

l_.str.18:                              ; @.str.18
	.asciz	"/SYM64/"

	.no_dead_strip	__ar_read_header
.subsections_via_symbols
