	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__libelf_ar_process_svr4_symtab ## -- Begin function _libelf_ar_process_svr4_symtab
	.p2align	4, 0x90
__libelf_ar_process_svr4_symtab:        ## @_libelf_ar_process_svr4_symtab
	.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	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 24(%r15)
	sete	%dil
	callq	_assert
	movq	8(%r15), %rbx
	movq	_INTSZ@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rbx
	jb	LBB0_5
## %bb.1:
	movq	32(%r15), %rdi
	callq	_GET_WORD
	cmpq	%rbx, (%r14)
	jge	LBB0_5
## %bb.2:
	xorl	%edi, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	$-1, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movq	%rax, 24(%r15)
	jmp	LBB0_7
LBB0_5:
	movq	_ARCHIVE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_LIBELF_SET_ERROR
LBB0_7:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_RESOURCE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_INTSZ,8,3                      ## @INTSZ
	.comm	_RESOURCE,4,2                   ## @RESOURCE
	.comm	_ARCHIVE,4,2                    ## @ARCHIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__libelf_ar_process_svr4_symtab ; -- Begin function _libelf_ar_process_svr4_symtab
	.p2align	2
__libelf_ar_process_svr4_symtab:        ; @_libelf_ar_process_svr4_symtab
	.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, x1
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x20, [x19, #8]
Lloh0:
	adrp	x21, _INTSZ@GOTPAGE
Lloh1:
	ldr	x21, [x21, _INTSZ@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x20, x8
	b.lo	LBB0_4
; %bb.1:
	ldr	x0, [x19, #32]
	bl	_GET_WORD
	ldr	x8, [x21]
	cmp	x8, x20
	b.ge	LBB0_4
; %bb.2:
	mov	w0, #0
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.3:
	stp	xzr, xzr, [x0, #8]
	mov	x8, #-1
	str	x8, [x0]
	str	x0, [x19, #24]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _ARCHIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_LIBELF_SET_ERROR
	mov	x0, #0
LBB0_6:
	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
LBB0_7:
Lloh4:
	adrp	x8, _RESOURCE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RESOURCE@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INTSZ,8,3                      ; @INTSZ
	.comm	_RESOURCE,4,2                   ; @RESOURCE
	.comm	_ARCHIVE,4,2                    ; @ARCHIVE
.subsections_via_symbols
