	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_elf64
_extract_elf64:                         ## @extract_elf64
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, -240(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	leaq	16(%rdx), %rdi
	callq	_get64
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	addq	%rax, %rbx
	movq	%r14, %rdi
	callq	_get16
	leaq	(%rax,%rax,8), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	addq	%rax, %rcx
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	leaq	(%rbx,%rcx), %rdi
	addq	$16, %rdi
	callq	_get64
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_get16
	movq	%rax, %rbx
	leal	(%rax,%rax), %esi
	movl	$4, %edi
	callq	_calloc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_61
## %bb.1:
	movq	%r14, -232(%rbp)                ## 8-byte Spill
	cmpl	$2, %ebx
	jl	LBB0_65
## %bb.2:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, -128(%rbp)                ## 8-byte Folded Spill
	movslq	%ebx, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	%rbx, -224(%rbp)                ## 8-byte Spill
	movl	%ebx, %ecx
	movq	-216(%rbp), %rax                ## 8-byte Reload
	leaq	52(%rax), %rdx
	leaq	40(%rax), %rbx
	leaq	32(%rax), %r13
	leaq	36(%rax), %rsi
	leaq	48(%rax), %r14
	leaq	44(%rax), %r12
	xorl	%eax, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	$1, %r15d
	xorl	%eax, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.3(%rip), %rsi
	movq	%rdx, %rbx
	callq	_strcmp
	testq	%rax, %rax
	movq	-176(%rbp), %rax                ## 8-byte Reload
	cmoveq	-120(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	-136(%rbp), %rax                ## 8-byte Reload
	cmoveq	%rbx, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	incq	%r15
	addq	$28, %rdx
	addq	$28, %rbx
	addq	$28, %r13
	addq	$28, %rsi
	addq	$28, %r14
	addq	$28, %r12
	cmpq	%r15, %rcx
	je	LBB0_18
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -184(%rbp)                ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %r12
	movq	%rsi, %r14
	movq	%r13, %r15
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	leaq	(%rdx,%r13), %rdi
	callq	_get32
	movl	%eax, -152(%rbp)                ## 4-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r13), %rdi
	callq	_get32
	movslq	%eax, %rbx
	movq	%r15, -160(%rbp)                ## 8-byte Spill
	leaq	(%r15,%r13), %rdi
	callq	_get64
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r13), %rdi
	movq	%r12, %r14
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	callq	_get64
	movq	%rax, %r15
	leaq	(%r14,%r13), %rdi
	callq	_get32
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	leaq	(%r12,%r13), %rdi
	callq	_get64
	movq	%rax, %rdx
	movq	_SHT_NOBITS@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	%rdx, %rax
	cmpq	-240(%rbp), %rax                ## 8-byte Folded Reload
	ja	LBB0_62
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_SHF_ALLOC@GOTPCREL(%rip), %rax
	testq	%r15, (%rax)
	movq	-160(%rbp), %r13                ## 8-byte Reload
	movq	-184(%rbp), %r15                ## 8-byte Reload
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movslq	%ecx, %rax
	incl	%ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, (%rcx,%rax,4)
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_SHT_REL@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_SHT_RELA@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	-72(%rbp), %rax                 ## 4-byte Folded Reload
	leaq	(%rax,%rax,8), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	addq	%rax, %rcx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rcx), %rdi
	addq	$8, %rdi
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	callq	_get64
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	_SHF_ALLOC@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	jne	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	-152(%rbp), %rdi                ## 4-byte Folded Reload
	addq	-128(%rbp), %rdi                ## 8-byte Folded Reload
	addq	-96(%rbp), %rdx                 ## 8-byte Folded Reload
	cmpq	$129, %rbx
	je	LBB0_3
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$128, %rbx
	jne	LBB0_4
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	shrq	$2, %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -168(%rbp)                ## 8-byte Spill
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_18:
	cmpq	$0, -168(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_65
## %bb.19:
	cmpq	$0, -136(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_66
## %bb.20:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leal	-1(%rax), %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpl	$2, %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jl	LBB0_27
## %bb.21:
	setl	-64(%rbp)                       ## 1-byte Folded Spill
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	-128(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	orb	-64(%rbp), %al                  ## 1-byte Folded Reload
	cmpb	$1, %al
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_27
LBB0_23:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
	movl	(%rbx), %r12d
	xorl	%r14d, %r14d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_25 Depth=2
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r14
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_22
LBB0_25:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%r12d, %rax
	leaq	(%rax,%rax,8), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	addq	%rax, %rcx
	leaq	(%r15,%rcx), %rdi
	addq	$24, %rdi
	callq	_get32
	movslq	%eax, %rbx
	addq	%r13, %rbx
	leaq	1(%r14), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movslq	4(%rax,%r14,4), %r12
	leaq	(%r12,%r12,8), %rax
	leaq	(%rax,%rax,2), %rax
	addq	%r12, %rax
	leaq	(%r15,%rax), %rdi
	addq	$24, %rdi
	callq	_get32
	movslq	%eax, %rsi
	addq	%r13, %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jle	LBB0_24
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%r14,4), %eax
	movl	%r12d, (%rcx,%r14,4)
	movl	%eax, 4(%rcx,%r14,4)
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movl	%eax, %r12d
	jmp	LBB0_24
LBB0_27:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %r13d
	testl	%eax, %eax
	movq	-192(%rbp), %rax                ## 8-byte Reload
	jle	LBB0_35
## %bb.28:
	leaq	-1(%r13), %rcx
	movl	%r13d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rcx
	jae	LBB0_30
## %bb.29:
	xorl	%ecx, %ecx
	jmp	LBB0_32
LBB0_30:
	movl	%r13d, %edx
	andl	$-4, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rbx,%rcx,4), %rsi
	leal	1(%rcx), %edi
	movl	%edi, (%rax,%rsi,4)
	movslq	4(%rbx,%rcx,4), %rsi
	leal	2(%rcx), %edi
	movl	%edi, (%rax,%rsi,4)
	movslq	8(%rbx,%rcx,4), %rsi
	leal	3(%rcx), %edi
	movl	%edi, (%rax,%rsi,4)
	movslq	12(%rbx,%rcx,4), %rsi
	addq	$4, %rcx
	movl	%ecx, (%rax,%rsi,4)
	cmpq	%rcx, %rdx
	jne	LBB0_31
LBB0_32:
	testq	%r8, %r8
	je	LBB0_35
## %bb.33:
	leaq	(%rbx,%rcx,4), %rdx
	incl	%ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rdx,%rsi,4), %rdi
	leal	(%rcx,%rsi), %ebx
	movl	%ebx, (%rax,%rdi,4)
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_34
LBB0_35:
	movq	_is_verbose@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jl	LBB0_41
## %bb.36:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	-216(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax), %r14
	addq	$52, %r14
	movl	$1, %ebx
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	-192(%rbp), %r12                ## 8-byte Reload
	movq	-144(%rbp), %r15                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_get32
	movslq	%eax, %rdx
	addq	%r13, %rdx
	movl	(%r12,%rbx,4), %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	incq	%rbx
	addq	$28, %r14
	cmpq	%rbx, %r15
	jne	LBB0_37
## %bb.38:
	leaq	L_str.16(%rip), %rdi
	callq	_puts
	cmpl	$0, -112(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_58
## %bb.39:
	xorl	%ebx, %ebx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r15,%rbx,4), %r14
	leaq	(%r14,%r14,8), %rax
	leaq	(%rax,%rax,2), %rax
	addq	%r14, %rax
	leaq	(%r12,%rax), %rdi
	addq	$24, %rdi
	callq	_get32
	movslq	%eax, %rdx
	addq	-128(%rbp), %rdx                ## 8-byte Folded Reload
	leaq	L_.str.7(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_40
LBB0_41:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_verbose
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_verbose
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_verbose
	cmpl	$0, -112(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_59
## %bb.42:
	movq	%r12, %r14
	xorl	%r15d, %r15d
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_46 Depth=1
	subq	$8, %rsp
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movq	-168(%rbp), %r9                 ## 8-byte Reload
	pushq	%r12
	pushq	-176(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	%rbx
	pushq	-224(%rbp)                      ## 8-byte Folded Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
	pushq	%r14
	pushq	-200(%rbp)                      ## 8-byte Folded Reload
	callq	_extract_elf64_rela
LBB0_44:                                ##   in Loop: Header=BB0_46 Depth=1
	addq	$64, %rsp
LBB0_45:                                ##   in Loop: Header=BB0_46 Depth=1
	incq	%r15
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_59
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r15,4), %rcx
	leaq	(%rcx,%rcx,8), %rax
	leaq	(%rax,%rax,2), %rbx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	addq	%rcx, %rbx
	leaq	(%r14,%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rbx), %rdi
	addq	$24, %rdi
	callq	_get32
	movslq	%eax, %r12
	addq	-128(%rbp), %r12                ## 8-byte Folded Reload
	leaq	(%r14,%rbx), %rdi
	addq	$12, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_get32
	movslq	%eax, %r13
	leaq	(%r14,%rbx), %rdi
	addq	$4, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_get64
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	leaq	(%r14,%rbx), %rdi
	addq	$8, %rdi
	movq	%rdi, -160(%rbp)                ## 8-byte Spill
	callq	_get64
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	(%r14,%rbx), %rdi
	addq	$20, %rdi
	callq	_get32
	movq	%r14, %rcx
	movl	%eax, %r14d
	leaq	(%rcx,%rbx), %rdi
	addq	$16, %rdi
	callq	_get64
	addq	-96(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_csum@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_SHT_REL@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_54
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	_SHT_RELA@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_54
## %bb.48:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	_SHT_NOBITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r13, %rax
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r12, %rbx
	jne	LBB0_51
## %bb.49:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	_SHF_ALLOC@GOTPCREL(%rip), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, (%rax)
	je	LBB0_45
## %bb.50:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	_outfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ftell
	leaq	L_.str.13(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_verbose
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %rsi
	movq	%rbx, %rdi
	callq	_write_out
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	_csum@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.14(%rip), %rdi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_verbose
	movq	_SHT_NOBITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_51:                                ##   in Loop: Header=BB0_46 Depth=1
	cmpq	%r13, %rax
	je	LBB0_45
## %bb.52:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	_SHF_ALLOC@GOTPCREL(%rip), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, (%rax)
	je	LBB0_45
## %bb.53:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	_outfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ftell
	leaq	L_.str.13(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_verbose
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %rsi
	movq	%rbx, %rdi
	callq	_write_out
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	-184(%rbp), %rsi                ## 8-byte Reload
	callq	_write_out
	movq	_csum@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.14(%rip), %rdi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_verbose
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_54:                                ##   in Loop: Header=BB0_46 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	-232(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_64
LBB0_56:                                ##   in Loop: Header=BB0_46 Depth=1
	movslq	%r14d, %r14
	movq	_outfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ftell
	leaq	L_.str.13(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_verbose
	movq	-192(%rbp), %rbx                ## 8-byte Reload
	movl	(%rbx,%r14,4), %esi
	leaq	-204(%rbp), %rdi
	callq	_set32
	movq	%r12, %rdi
	callq	_strlen
	movslq	%eax, %rsi
	movq	%r12, %rdi
	callq	_write_out
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_write_out_val
	movl	-204(%rbp), %edi
	callq	_write_out_val
	movq	-184(%rbp), %r8                 ## 8-byte Reload
	shrq	$2, %r8
	movq	_SHT_RELA@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_43
## %bb.57:                              ##   in Loop: Header=BB0_46 Depth=1
	subq	$8, %rsp
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movq	-168(%rbp), %r9                 ## 8-byte Reload
	pushq	%r12
	pushq	-176(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	%rbx
	pushq	-224(%rbp)                      ## 8-byte Folded Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
	pushq	%r14
	pushq	-200(%rbp)                      ## 8-byte Folded Reload
	callq	_extract_elf64_rel
	jmp	LBB0_44
LBB0_58:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_verbose
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_verbose
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_verbose
LBB0_59:
	movq	_outfd@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ftell
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_ftell
	movq	_xcsum@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	L_.str.15(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_verbose
LBB0_60:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_61:
	callq	_extract_elf64.cold.1
	jmp	LBB0_60
LBB0_62:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_63:
	callq	_fprintf
	movl	$3, %edi
	callq	_exit
LBB0_64:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_63
LBB0_65:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_63
LBB0_66:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_63
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function extract_elf64.cold.1
_extract_elf64.cold.1:                  ## @extract_elf64.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"calloc"

	.comm	_SHT_NOBITS,8,3                 ## @SHT_NOBITS
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Section goes beyond EOF\n"

	.comm	_SHF_ALLOC,8,3                  ## @SHF_ALLOC
	.comm	_SHT_REL,8,3                    ## @SHT_REL
	.comm	_SHT_RELA,8,3                   ## @SHT_RELA
L_.str.2:                               ## @.str.2
	.asciz	".symtab"

L_.str.3:                               ## @.str.3
	.asciz	".strtab"

L_.str.4:                               ## @.str.4
	.asciz	"Couldn't locate symbol table\n"

L_.str.5:                               ## @.str.5
	.asciz	"Couldn't locate strings table\n"

	.comm	_is_verbose,4,2                 ## @is_verbose
L_.str.7:                               ## @.str.7
	.asciz	"%4d %s\n"

L_.str.9:                               ## @.str.9
	.asciz	"\n"

L_.str.10:                              ## @.str.10
	.asciz	"CAN FILE POS CS SECT NAME\n"

L_.str.11:                              ## @.str.11
	.asciz	"=== ======== == ==== ==============================\n"

	.comm	_csum,4,2                       ## @csum
L_.str.12:                              ## @.str.12
	.asciz	"Invalid ELF - REL/RELA sh_info does not refer to a valid section\n"

L_.str.13:                              ## @.str.13
	.asciz	"%3u %08lx "

	.comm	_outfd,4,2                      ## @outfd
L_.str.14:                              ## @.str.14
	.asciz	"%02x %4d %s\n"

L_.str.15:                              ## @.str.15
	.asciz	"%08lx         (%lu bytes csum 0x%02x)\n"

	.comm	_xcsum,8,3                      ## @xcsum
L_str:                                  ## @str
	.asciz	"\nSection canonicalisation map:"

L_str.16:                               ## @str.16
	.asciz	"\nAllocated section list in canonical order:"

	.no_dead_strip	_extract_elf64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_elf64
_extract_elf64:                         ; @extract_elf64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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	x23, x2
	str	x1, [sp, #120]                  ; 8-byte Folded Spill
	mov	x19, x0
	add	x0, x2, #16
	bl	_get64
	stur	x19, [x29, #-104]               ; 8-byte Folded Spill
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
	add	x20, x19, x0
	mov	x0, x23
	bl	_get16
	mov	w8, #28
	madd	x8, x0, x8, x20
	add	x0, x8, #16
	bl	_get64
	mov	x22, x0
	add	x0, x23, #8
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	bl	_get16
	mov	x21, x0
	lsl	w1, w21, #1
	mov	w0, #4
	bl	_calloc
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
	cbz	x0, LBB0_52
; %bb.1:
	cmp	w21, #2
	b.lt	LBB0_51
; %bb.2:
	stp	xzr, xzr, [sp, #104]            ; 16-byte Folded Spill
	stp	xzr, xzr, [sp, #88]             ; 16-byte Folded Spill
	stur	wzr, [x29, #-120]               ; 4-byte Folded Spill
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	add	x19, x8, x22
	sxtw	x8, w21
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	add	x8, x8, w21, sxtw #2
	stp	x21, x8, [sp, #56]              ; 16-byte Folded Spill
	and	x8, x21, #0xffffffff
	str	x8, [sp, #128]                  ; 8-byte Folded Spill
	mov	w24, #1
	ldr	x21, [sp, #80]                  ; 8-byte Folded Reload
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh0:
	adrp	x1, l_.str.3@PAGE
Lloh1:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	csel	x8, x25, x8, eq
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	csel	x8, x22, x8, eq
	str	x8, [sp, #104]                  ; 8-byte Folded Spill
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	add	x21, x21, #28
	ldr	x8, [sp, #128]                  ; 8-byte Folded Reload
	cmp	x8, x24
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	add	x28, x8, x21
	add	x0, x28, #52
	bl	_get32
	mov	x27, x0
	add	x0, x28, #40
	bl	_get32
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x23, w0
	add	x0, x28, #32
	bl	_get64
	mov	x25, x0
	add	x0, x28, #36
	bl	_get64
	mov	x22, x0
	add	x0, x28, #48
	bl	_get32
	mov	x26, x0
	add	x0, x28, #44
	bl	_get64
Lloh2:
	adrp	x8, _SHT_NOBITS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SHT_NOBITS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x9, x0, x25
	cmp	x8, x23
	ldr	x8, [sp, #120]                  ; 8-byte Folded Reload
	ccmp	x9, x8, #0, ne
	b.hi	LBB0_48
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x0
Lloh5:
	adrp	x8, _SHF_ALLOC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SHF_ALLOC@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	tst	x8, x22
	b.eq	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	ldur	w9, [x29, #-120]                ; 4-byte Folded Reload
	str	w24, [x8, w9, sxtw #2]
	add	w8, w9, #1
	stur	w8, [x29, #-120]                ; 4-byte Folded Spill
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh8:
	adrp	x8, _SHT_REL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SHT_REL@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _SHT_RELA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SHT_RELA@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x23
	ccmp	x9, x23, #4, ne
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w26
	mov	w9, #28
	madd	x8, x8, x9, x20
	add	x0, x8, #8
	bl	_get64
Lloh14:
	adrp	x8, _SHF_ALLOC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SHF_ALLOC@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	tst	x8, x0
	b.ne	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x19, w27, sxtw
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	add	x22, x8, x28
	cmp	x23, #129
	b.eq	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x23, #128
	b.ne	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	lsr	x8, x25, #2
	cmp	x0, #0
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	csel	x9, x9, x8, ne
	str	x9, [sp, #96]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #112]                  ; 8-byte Folded Reload
	csel	x8, x8, x22, ne
	str	x8, [sp, #112]                  ; 8-byte Folded Spill
	b	LBB0_4
LBB0_13:
	ldr	x8, [sp, #112]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_51
; %bb.14:
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_53
; %bb.15:
	ldur	w8, [x29, #-120]                ; 4-byte Folded Reload
	subs	w8, w8, #1
	str	x8, [sp, #120]                  ; 8-byte Folded Spill
	ldur	x11, [x29, #-112]               ; 8-byte Folded Reload
	b.le	LBB0_22
; %bb.16:
	ldur	w8, [x29, #-120]                ; 4-byte Folded Reload
	cmp	w8, #2
	cset	w24, lt
	add	x25, x11, #4
	mov	w23, #28
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	cmp	w26, #0
	cset	w8, eq
	orr	w8, w8, w24
	cmp	w8, #1
	ldur	x11, [x29, #-112]               ; 8-byte Folded Reload
	b.eq	LBB0_22
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	mov	w26, #0
	ldr	w22, [x11]
	ldr	x27, [sp, #120]                 ; 8-byte Folded Reload
	mov	x28, x25
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	add	x28, x28, #4
	subs	x27, x27, #1
	b.eq	LBB0_17
LBB0_20:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	smaddl	x8, w22, w23, x20
	add	x0, x8, #24
	bl	_get32
	add	x21, x19, w0, sxtw
	ldrsw	x22, [x28]
	madd	x8, x22, x23, x20
	add	x0, x8, #24
	bl	_get32
	add	x1, x19, w0, sxtw
	mov	x0, x21
	bl	_strcmp
	cmp	x0, #1
	b.lt	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldur	w8, [x28, #-4]
	stp	w22, w8, [x28, #-4]
	mov	w26, #1
	mov	x22, x8
	b	LBB0_19
LBB0_22:
	ldur	w8, [x29, #-120]                ; 4-byte Folded Reload
	mov	w26, w8
	cmp	w8, #1
	ldr	x12, [sp, #64]                  ; 8-byte Folded Reload
	b.lt	LBB0_25
; %bb.23:
	mov	x8, #0
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x9, [x11, x8, lsl #2]
	add	x10, x8, #1
	str	w10, [x12, x9, lsl #2]
	mov	x8, x10
	cmp	x26, x10
	b.ne	LBB0_24
LBB0_25:
Lloh19:
	adrp	x8, _is_verbose@GOTPAGE
Lloh20:
	ldr	x8, [x8, _is_verbose@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, #1
	b.le	LBB0_31
; %bb.26:
Lloh22:
	adrp	x0, l_str@PAGE
Lloh23:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	add	x8, x8, x9, lsl #2
	add	x23, x8, #4
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	add	x8, x9, x8
	add	x21, x8, #52
	ldr	x8, [sp, #128]                  ; 8-byte Folded Reload
	sub	x24, x8, #1
Lloh24:
	adrp	x22, l_.str.7@PAGE
Lloh25:
	add	x22, x22, l_.str.7@PAGEOFF
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_get32
	add	x8, x19, w0, sxtw
	ldr	w9, [x23], #4
	stp	x9, x8, [sp]
	mov	x0, x22
	bl	_printf
	add	x21, x21, #28
	subs	x24, x24, #1
	b.ne	LBB0_27
; %bb.28:
Lloh26:
	adrp	x0, l_str.16@PAGE
Lloh27:
	add	x0, x0, l_str.16@PAGEOFF
	bl	_puts
	ldur	w8, [x29, #-120]                ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.29:
	mov	w22, #28
	mov	x23, x26
	ldur	x24, [x29, #-112]               ; 8-byte Folded Reload
Lloh28:
	adrp	x21, l_.str.7@PAGE
Lloh29:
	add	x21, x21, l_.str.7@PAGEOFF
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x25, [x24], #4
	madd	x8, x25, x22, x20
	add	x0, x8, #24
	bl	_get32
	add	x8, x19, w0, sxtw
	stp	x25, x8, [sp]
	mov	x0, x21
	bl	_printf
	subs	x23, x23, #1
	b.ne	LBB0_30
LBB0_31:
Lloh30:
	adrp	x0, l_.str.9@PAGE
Lloh31:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_verbose
Lloh32:
	adrp	x0, l_.str.10@PAGE
Lloh33:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_verbose
Lloh34:
	adrp	x0, l_.str.11@PAGE
Lloh35:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_verbose
	ldur	w8, [x29, #-120]                ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_47
; %bb.32:
	mov	x22, #0
	str	x26, [sp, #72]                  ; 8-byte Folded Spill
	b	LBB0_35
LBB0_33:                                ;   in Loop: Header=BB0_35 Depth=1
	ldp	x8, x6, [sp, #88]               ; 16-byte Folded Reload
	stp	x8, x26, [sp, #24]
	ldp	x8, x5, [sp, #104]              ; 16-byte Folded Reload
	stp	x23, x8, [sp, #8]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	str	w8, [sp]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	ldur	x1, [x29, #-120]                ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x27
	ldr	x3, [sp, #120]                  ; 8-byte Folded Reload
	mov	x7, x20
	bl	_extract_elf64_rela
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	add	x22, x22, #1
	ldr	x26, [sp, #72]                  ; 8-byte Folded Reload
	cmp	x26, x22
	b.eq	LBB0_47
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	ldrsw	x9, [x8, x22, lsl #2]
	mov	w8, #28
	stur	x9, [x29, #-120]                ; 8-byte Folded Spill
	madd	x28, x9, x8, x20
	add	x0, x28, #24
	bl	_get32
	add	x26, x19, w0, sxtw
	add	x25, x28, #12
	mov	x0, x25
	bl	_get32
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	add	x0, x28, #4
	str	x0, [sp, #128]                  ; 8-byte Folded Spill
	bl	_get64
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
	add	x24, x28, #8
	mov	x0, x24
	bl	_get64
	mov	x27, x0
	add	x0, x28, #20
	bl	_get32
	mov	x23, x0
	add	x0, x28, #16
	bl	_get64
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	add	x8, x8, x0
	str	x8, [sp, #120]                  ; 8-byte Folded Spill
Lloh36:
	adrp	x8, _csum@GOTPAGE
Lloh37:
	ldr	x8, [x8, _csum@GOTPAGEOFF]
Lloh38:
	str	wzr, [x8]
Lloh39:
	adrp	x8, _SHT_REL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SHT_REL@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _SHT_RELA@GOTPAGE
Lloh43:
	ldr	x9, [x9, _SHT_RELA@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x8, x21
	ccmp	x9, x21, #4, ne
	b.ne	LBB0_40
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	sxtw	x27, w23
	cbnz	w27, LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	cbz	x8, LBB0_50
LBB0_38:                                ;   in Loop: Header=BB0_35 Depth=1
Lloh45:
	adrp	x8, _outfd@GOTPAGE
Lloh46:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_ftell
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh48:
	adrp	x0, l_.str.13@PAGE
Lloh49:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_verbose
	ldr	x23, [sp, #64]                  ; 8-byte Folded Reload
	ldr	w1, [x23, x27, lsl #2]
	sub	x0, x29, #92
	bl	_set32
	mov	x0, x26
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	mov	x0, x26
	bl	_write_out
	ldr	w0, [x25]
	bl	_write_out_val
	ldr	w0, [x24]
	bl	_write_out_val
	ldr	x8, [sp, #128]                  ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_write_out_val
	ldr	w0, [x28]
	bl	_write_out_val
	ldur	w0, [x29, #-92]
	bl	_write_out_val
Lloh50:
	adrp	x8, _SHT_RELA@GOTPAGE
Lloh51:
	ldr	x8, [x8, _SHT_RELA@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	lsr	x4, x9, #2
	cmp	x8, x21
	b.eq	LBB0_33
; %bb.39:                               ;   in Loop: Header=BB0_35 Depth=1
	ldp	x8, x6, [sp, #88]               ; 16-byte Folded Reload
	stp	x8, x26, [sp, #24]
	ldp	x8, x5, [sp, #104]              ; 16-byte Folded Reload
	stp	x23, x8, [sp, #8]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	str	w8, [sp]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	ldur	x1, [x29, #-120]                ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x27
	ldr	x3, [sp, #120]                  ; 8-byte Folded Reload
	mov	x7, x20
	bl	_extract_elf64_rel
	b	LBB0_34
LBB0_40:                                ;   in Loop: Header=BB0_35 Depth=1
Lloh53:
	adrp	x8, _SHT_NOBITS@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SHT_NOBITS@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_35 Depth=1
Lloh56:
	adrp	x8, _SHF_ALLOC@GOTPAGE
Lloh57:
	ldr	x8, [x8, _SHF_ALLOC@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	tst	x8, x27
	b.eq	LBB0_34
; %bb.42:                               ;   in Loop: Header=BB0_35 Depth=1
Lloh59:
	adrp	x8, _outfd@GOTPAGE
Lloh60:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	bl	_ftell
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh62:
	adrp	x0, l_.str.13@PAGE
Lloh63:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_verbose
	mov	x0, x26
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	mov	x0, x26
	bl	_write_out
	ldr	w0, [x25]
	bl	_write_out_val
	ldr	w0, [x24]
	bl	_write_out_val
	ldr	x8, [sp, #128]                  ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_write_out_val
	ldr	w0, [x28]
	bl	_write_out_val
Lloh64:
	adrp	x8, _csum@GOTPAGE
Lloh65:
	ldr	x8, [x8, _csum@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	str	x26, [sp, #16]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	stp	x8, x9, [sp]
Lloh67:
	adrp	x0, l_.str.14@PAGE
Lloh68:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_verbose
Lloh69:
	adrp	x8, _SHT_NOBITS@GOTPAGE
Lloh70:
	ldr	x8, [x8, _SHT_NOBITS@GOTPAGEOFF]
Lloh71:
	ldr	x8, [x8]
LBB0_43:                                ;   in Loop: Header=BB0_35 Depth=1
	cmp	x8, x21
	b.eq	LBB0_34
; %bb.44:                               ;   in Loop: Header=BB0_35 Depth=1
Lloh72:
	adrp	x8, _SHF_ALLOC@GOTPAGE
Lloh73:
	ldr	x8, [x8, _SHF_ALLOC@GOTPAGEOFF]
Lloh74:
	ldr	x8, [x8]
	tst	x8, x27
	b.eq	LBB0_34
; %bb.45:                               ;   in Loop: Header=BB0_35 Depth=1
Lloh75:
	adrp	x8, _outfd@GOTPAGE
Lloh76:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
	bl	_ftell
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh78:
	adrp	x0, l_.str.13@PAGE
Lloh79:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_verbose
	mov	x0, x26
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	mov	x0, x26
	bl	_write_out
	ldr	w0, [x25]
	bl	_write_out_val
	ldr	w0, [x24]
	bl	_write_out_val
	ldr	x8, [sp, #128]                  ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_write_out_val
	ldr	w0, [x28]
	bl	_write_out_val
	ldr	x0, [sp, #120]                  ; 8-byte Folded Reload
	ldr	x1, [sp, #80]                   ; 8-byte Folded Reload
	bl	_write_out
Lloh80:
	adrp	x8, _csum@GOTPAGE
Lloh81:
	ldr	x8, [x8, _csum@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
	str	x26, [sp, #16]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	stp	x8, x9, [sp]
Lloh83:
	adrp	x0, l_.str.14@PAGE
Lloh84:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_verbose
	b	LBB0_34
LBB0_46:
Lloh85:
	adrp	x0, l_.str.9@PAGE
Lloh86:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_verbose
Lloh87:
	adrp	x0, l_.str.10@PAGE
Lloh88:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_verbose
Lloh89:
	adrp	x0, l_.str.11@PAGE
Lloh90:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_verbose
LBB0_47:
Lloh91:
	adrp	x20, _outfd@GOTPAGE
Lloh92:
	ldr	x20, [x20, _outfd@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ftell
	mov	x19, x0
	ldr	w0, [x20]
	bl	_ftell
                                        ; kill: def $w0 killed $w0 def $x0
Lloh93:
	adrp	x8, _xcsum@GOTPAGE
Lloh94:
	ldr	x8, [x8, _xcsum@GOTPAGEOFF]
Lloh95:
	ldr	x8, [x8]
	stp	x0, x8, [sp, #8]
	str	x19, [sp]
Lloh96:
	adrp	x0, l_.str.15@PAGE
Lloh97:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_verbose
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_48:
Lloh98:
	adrp	x8, _stderr@GOTPAGE
Lloh99:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh100:
	ldr	w0, [x8]
Lloh101:
	adrp	x1, l_.str.1@PAGE
Lloh102:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_49:
	bl	_fprintf
	mov	w0, #3
	bl	_exit
LBB0_50:
Lloh103:
	adrp	x8, _stderr@GOTPAGE
Lloh104:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh105:
	ldr	w0, [x8]
Lloh106:
	adrp	x1, l_.str.12@PAGE
Lloh107:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_49
LBB0_51:
Lloh108:
	adrp	x8, _stderr@GOTPAGE
Lloh109:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh110:
	ldr	w0, [x8]
Lloh111:
	adrp	x1, l_.str.4@PAGE
Lloh112:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_49
LBB0_52:
	bl	_extract_elf64.cold.1
LBB0_53:
Lloh113:
	adrp	x8, _stderr@GOTPAGE
Lloh114:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh115:
	ldr	w0, [x8]
Lloh116:
	adrp	x1, l_.str.5@PAGE
Lloh117:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_49
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpAdd	Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function extract_elf64.cold.1
_extract_elf64.cold.1:                  ; @extract_elf64.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh118:
	adrp	x0, l_.str@PAGE
Lloh119:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh118, Lloh119
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"calloc"

	.comm	_SHT_NOBITS,8,3                 ; @SHT_NOBITS
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Section goes beyond EOF\n"

	.comm	_SHF_ALLOC,8,3                  ; @SHF_ALLOC
	.comm	_SHT_REL,8,3                    ; @SHT_REL
	.comm	_SHT_RELA,8,3                   ; @SHT_RELA
l_.str.2:                               ; @.str.2
	.asciz	".symtab"

l_.str.3:                               ; @.str.3
	.asciz	".strtab"

l_.str.4:                               ; @.str.4
	.asciz	"Couldn't locate symbol table\n"

l_.str.5:                               ; @.str.5
	.asciz	"Couldn't locate strings table\n"

	.comm	_is_verbose,4,2                 ; @is_verbose
l_.str.7:                               ; @.str.7
	.asciz	"%4d %s\n"

l_.str.9:                               ; @.str.9
	.asciz	"\n"

l_.str.10:                              ; @.str.10
	.asciz	"CAN FILE POS CS SECT NAME\n"

l_.str.11:                              ; @.str.11
	.asciz	"=== ======== == ==== ==============================\n"

	.comm	_csum,4,2                       ; @csum
l_.str.12:                              ; @.str.12
	.asciz	"Invalid ELF - REL/RELA sh_info does not refer to a valid section\n"

l_.str.13:                              ; @.str.13
	.asciz	"%3u %08lx "

	.comm	_outfd,4,2                      ; @outfd
l_.str.14:                              ; @.str.14
	.asciz	"%02x %4d %s\n"

l_.str.15:                              ; @.str.15
	.asciz	"%08lx         (%lu bytes csum 0x%02x)\n"

	.comm	_xcsum,8,3                      ; @xcsum
l_str:                                  ; @str
	.asciz	"\nSection canonicalisation map:"

l_str.16:                               ; @str.16
	.asciz	"\nAllocated section list in canonical order:"

	.no_dead_strip	_extract_elf64
.subsections_via_symbols
