	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_64bit_elf_symbols
_get_64bit_elf_symbols:                 ## @get_64bit_elf_symbols
	.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	%rsi, %r12
	movq	%rdi, %rbx
	movl	16(%rsi), %r15d
	movq	(%rsi), %r13
	leaq	L_.str(%rip), %rdi
	callq	__
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	$1, %ecx
	movq	%r13, %r8
	movl	%eax, %r9d
	callq	_get_data
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %r15
	movq	_symtab_shndx_hdr@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%rax), %rbx
	movq	_section_headers@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	negq	%rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%r12,%rax,8), %rdi
	callq	_SECTION_HEADER_NUM
	cmpq	%rax, %rbx
	jne	LBB0_5
## %bb.3:
	movq	(%r13), %rax
	movl	16(%rax), %r13d
	movq	8(%rax), %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	$1, %ecx
	movq	%rbx, %r8
	movl	%eax, %r9d
	callq	_get_data
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_19
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	movq	(%r12), %r13
	movq	8(%r12), %r14
	movq	%r13, %rcx
	orq	%r14, %rcx
	movq	%rax, %r12
	shrq	$32, %rcx
	je	LBB0_8
## %bb.7:
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%r14
	movq	%rax, %rbx
	jmp	LBB0_9
LBB0_8:
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%r14d
	movl	%eax, %ebx
LBB0_9:
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_cmalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	%r13, %r14
	ja	LBB0_17
## %bb.11:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	4(%r15,%r14,8), %edi
	callq	_BYTE_GET
	movq	%rax, 16(%r13)
	movl	(%r15,%r14,8), %edi
	callq	_BYTE_GET
	movq	%rax, 8(%r13)
	incl	%ebx
	addq	$48, %r13
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	jbe	LBB0_17
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%rbx,2), %r14
	movl	20(%r15,%r14,8), %edi
	callq	_BYTE_GET
	movq	%rax, 40(%r13)
	movl	16(%r15,%r14,8), %edi
	callq	_BYTE_GET
	movq	%rax, 32(%r13)
	movl	12(%r15,%r14,8), %edi
	callq	_BYTE_GET
	movq	%rax, 24(%r13)
	movl	8(%r15,%r14,8), %edi
	callq	_BYTE_GET
	movq	%rax, (%r13)
	movq	_SHN_XINDEX@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	testq	%r12, %r12
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	(%r12,%r14,8), %rdi
	movl	$24, %esi
	callq	_byte_get
	movq	%rax, (%r13)
	jmp	LBB0_12
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_error
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_17:
	testq	%r12, %r12
	je	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	callq	_free
LBB0_19:
	movq	%r15, %rdi
	callq	_free
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_20:
	movq	%r14, %rax
	addq	$24, %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
	.asciz	"symbols"

	.comm	_symtab_shndx_hdr,8,3           ## @symtab_shndx_hdr
	.comm	_section_headers,4,2            ## @section_headers
L_.str.1:                               ## @.str.1
	.asciz	"symtab shndx"

L_.str.2:                               ## @.str.2
	.asciz	"Out of memory\n"

	.comm	_SHN_XINDEX,8,3                 ## @SHN_XINDEX
	.no_dead_strip	_get_64bit_elf_symbols
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_64bit_elf_symbols
_get_64bit_elf_symbols:                 ; @get_64bit_elf_symbols
	.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	x21, x1
	mov	x20, x0
	ldr	w19, [x1, #16]
	ldr	x22, [x1]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x5, x0
	mov	x0, #0
	mov	x1, x20
	mov	x2, x19
	mov	w3, #1
	mov	x4, x22
	bl	_get_data
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x22, _symtab_shndx_hdr@GOTPAGE
Lloh3:
	ldr	x22, [x22, _symtab_shndx_hdr@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x23, [x8]
Lloh4:
	adrp	x8, _section_headers@GOTPAGE
Lloh5:
	ldr	x8, [x8, _section_headers@GOTPAGEOFF]
Lloh6:
	ldrsw	x8, [x8]
	mov	w9, #24
	mneg	x8, x8, x9
	add	x0, x21, x8
	bl	_SECTION_HEADER_NUM
	cmp	x23, x0
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x22]
	ldr	w22, [x8, #16]
	ldr	x23, [x8, #8]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x5, x0
	mov	x0, #0
	mov	x1, x20
	mov	x2, x22
	mov	w3, #1
	mov	x4, x23
	bl	_get_data
	mov	x20, x0
	cbnz	x0, LBB0_6
; %bb.4:
	mov	x21, #0
	b	LBB0_10
LBB0_5:
	mov	x20, #0
LBB0_6:
	ldp	x23, x24, [x21]
	udiv	x22, x23, x24
	mov	x0, x22
	mov	w1, #48
	bl	_cmalloc
	mov	x21, x0
	cbz	x0, LBB0_13
; %bb.7:
	cmp	x24, x23
	b.ls	LBB0_14
LBB0_8:
	cbz	x20, LBB0_10
LBB0_9:
	mov	x0, x20
	bl	_free
LBB0_10:
	mov	x0, x19
	bl	_free
	b	LBB0_12
LBB0_11:
	mov	x21, #0
LBB0_12:
	mov	x0, x21
	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_13:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	bl	_error
	cbnz	x20, LBB0_9
	b	LBB0_10
LBB0_14:
	mov	x23, #0
	mov	w24, #24
Lloh11:
	adrp	x25, _SHN_XINDEX@GOTPAGE
Lloh12:
	ldr	x25, [x25, _SHN_XINDEX@GOTPAGEOFF]
	mov	x26, x21
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	madd	x27, x23, x24, x19
	ldr	w0, [x27, #4]
	bl	_BYTE_GET
	str	x0, [x26, #16]
	ldr	w0, [x27]
	bl	_BYTE_GET
	str	x0, [x26, #8]
	add	w23, w23, #1
	add	x26, x26, #48
	cmp	x22, x23
	b.ls	LBB0_8
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	madd	x27, x23, x24, x19
	ldr	w0, [x27, #20]
	bl	_BYTE_GET
	str	x0, [x26, #40]
	ldr	w0, [x27, #16]
	bl	_BYTE_GET
	str	x0, [x26, #32]
	ldr	w0, [x27, #12]
	bl	_BYTE_GET
	str	x0, [x26, #24]
	ldr	w0, [x27, #8]
	bl	_BYTE_GET
	str	x0, [x26]
	ldr	x8, [x25]
	cmp	x8, x0
	ccmp	x20, #0, #4, eq
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	madd	x0, x23, x24, x20
	mov	w1, #24
	bl	_byte_get
	str	x0, [x26]
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"symbols"

	.comm	_symtab_shndx_hdr,8,3           ; @symtab_shndx_hdr
	.comm	_section_headers,4,2            ; @section_headers
l_.str.1:                               ; @.str.1
	.asciz	"symtab shndx"

l_.str.2:                               ; @.str.2
	.asciz	"Out of memory\n"

	.comm	_SHN_XINDEX,8,3                 ; @SHN_XINDEX
	.no_dead_strip	_get_64bit_elf_symbols
.subsections_via_symbols
