	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__libelf_ar_open_member         ## -- Begin function _libelf_ar_open_member
	.p2align	4, 0x90
__libelf_ar_open_member:                ## @_libelf_ar_open_member
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	(%rdx), %rax
	movq	_ELF_K_AR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movslq	24(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	movl	%ebx, %edi
	notl	%edi
	andl	$1, %edi
	callq	_assert
	movq	48(%r12), %r13
	movq	(%r13,%rbx), %rdi
	leaq	-48(%rbp), %rcx
	movl	$8, %esi
	movl	$10, %edx
	callq	__libelf_ar_get_number
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	addq	%rbx, %r13
	movq	8(%r13), %rdi
	callq	_IS_EXTENDED_BSD_NAME
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movl	$8, %esi
	subl	%edi, %esi
	addq	8(%r13), %rdi
	leaq	-56(%rbp), %rcx
	movl	$10, %edx
	callq	__libelf_ar_get_number
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	-56(%rbp), %rax
	leaq	(%rax,%r13), %rdi
	addq	$16, %rdi
	movq	-48(%rbp), %rsi
	subq	%rax, %rsi
	movq	%rsi, -48(%rbp)
	jmp	LBB0_8
LBB0_6:
	movq	_ARCHIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_LIBELF_SET_ERROR
	jmp	LBB0_11
LBB0_7:
	leaq	16(%r13), %rdi
	movq	-48(%rbp), %rsi
LBB0_8:
	callq	_elf_memory
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, %rbx
	movl	%r15d, 8(%rax)
	movl	%r14d, 40(%rax)
	movq	%r13, 32(%rax)
	incl	28(%r12)
	movq	%r12, 16(%rax)
	jmp	LBB0_11
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELF_K_AR,8,3                   ## @ELF_K_AR
	.comm	_ARCHIVE,4,2                    ## @ARCHIVE
	.comm	_LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE,4,2 ## @LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__libelf_ar_open_member         ; -- Begin function _libelf_ar_open_member
	.p2align	2
__libelf_ar_open_member:                ; @_libelf_ar_open_member
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _ELF_K_AR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ELF_K_AR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldrsw	x22, [x19, #24]
	cbz	w22, LBB0_5
; %bb.1:
	mvn	w8, w22
	and	w0, w8, #0x1
	bl	_assert
	ldr	x8, [x19, #48]
	add	x22, x8, x22
	ldr	x0, [x22]
	mov	x3, sp
	mov	w1, #8
	mov	w2, #10
	bl	__libelf_ar_get_number
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x0, [x22, #8]
	bl	_IS_EXTENDED_BSD_NAME
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x22, #8]
Lloh3:
	adrp	x9, _LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	add	x0, x8, x9
	mov	w8, #8
	sub	w1, w8, w9
	add	x3, sp, #8
	mov	w2, #10
	bl	__libelf_ar_get_number
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [sp, #8]
	add	x9, x22, x8
	add	x0, x9, #16
	ldr	x9, [sp]
	sub	x1, x9, x8
	str	x1, [sp]
	bl	_elf_memory
	cbnz	x0, LBB0_8
	b	LBB0_9
LBB0_5:
	mov	x0, #0
	b	LBB0_9
LBB0_6:
Lloh6:
	adrp	x8, _ARCHIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARCHIVE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_LIBELF_SET_ERROR
	mov	x0, #0
	b	LBB0_9
LBB0_7:
	add	x0, x22, #16
	ldr	x1, [sp]
	bl	_elf_memory
	cbz	x0, LBB0_9
LBB0_8:
	str	w21, [x0, #8]
	str	w20, [x0, #40]
	str	x22, [x0, #32]
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
	str	x19, [x0, #16]
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ELF_K_AR,8,3                   ; @ELF_K_AR
	.comm	_ARCHIVE,4,2                    ; @ARCHIVE
	.comm	_LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE,4,2 ; @LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE
.subsections_via_symbols
