	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__libelf_checksum               ## -- Begin function _libelf_checksum
	.p2align	4, 0x90
__libelf_checksum:                      ## @_libelf_checksum
	.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
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rdi, %r15
	cmpl	%esi, (%rdi)
	jne	LBB0_15
## %bb.2:
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdi
	callq	_gelf_getehdr
	testq	%rax, %rax
	je	LBB0_18
## %bb.3:
	cmpq	$2, 8(%r15)
	jb	LBB0_19
## %bb.4:
	movl	$1, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	cmpq	8(%r15), %r12
	jae	LBB0_20
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_elf_getscn
	testq	%rax, %rax
	je	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	leaq	-64(%rbp), %rsi
	callq	_gelf_getshdr
	testq	%rax, %rax
	je	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_SHF_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -64(%rbp)
	je	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax
	movq	_SHT_DYNAMIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_SHT_DYNSYM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_elf_rawdata
	testq	%rax, %rax
	je	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r14
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rdx
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
	callq	__libelf_sum
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_elf_rawdata
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_5
LBB0_14:
	movq	_ARGUMENT@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_CLASS@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_LIBELF_SET_ERROR
	jmp	LBB0_17
LBB0_18:
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_19:
	xorl	%ebx, %ebx
LBB0_20:
	movl	%ebx, %eax
	shrl	$16, %eax
	movzwl	%bx, %ebx
	addq	%rax, %rbx
LBB0_17:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARGUMENT,4,2                   ## @ARGUMENT
	.comm	_CLASS,4,2                      ## @CLASS
	.comm	_SHF_ALLOC,4,2                  ## @SHF_ALLOC
	.comm	_SHT_DYNAMIC,8,3                ## @SHT_DYNAMIC
	.comm	_SHT_DYNSYM,8,3                 ## @SHT_DYNSYM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__libelf_checksum               ; -- Begin function _libelf_checksum
	.p2align	2
__libelf_checksum:                      ; @_libelf_checksum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.ne	LBB0_14
; %bb.2:
	add	x1, sp, #28
	mov	x0, x19
	bl	_gelf_getehdr
	cbz	x0, LBB0_16
; %bb.3:
	ldr	x8, [x19, #8]
	cmp	x8, #2
	b.lo	LBB0_17
; %bb.4:
	mov	x20, #0
	mov	w21, #1
Lloh0:
	adrp	x24, _SHF_ALLOC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SHF_ALLOC@GOTPAGEOFF]
Lloh2:
	adrp	x25, _SHT_DYNAMIC@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SHT_DYNAMIC@GOTPAGEOFF]
Lloh4:
	adrp	x26, _SHT_DYNSYM@GOTPAGE
Lloh5:
	ldr	x26, [x26, _SHT_DYNSYM@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19, #8]
	cmp	x21, x8
	b.hs	LBB0_18
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x0, x19
	mov	x1, x21
	bl	_elf_getscn
	cbz	x0, LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	add	x1, sp, #8
	bl	_gelf_getshdr
	cbz	x0, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [x25]
	ldr	x10, [x26]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, #0
	bl	_elf_rawdata
	cbz	x0, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x2, x1, [x23]
	mov	x0, x20
	bl	__libelf_sum
	mov	x20, x0
	mov	x0, x22
	mov	x1, x23
	bl	_elf_rawdata
	mov	x23, x0
	cbnz	x0, LBB0_12
	b	LBB0_5
LBB0_13:
Lloh6:
	adrp	x8, _ARGUMENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARGUMENT@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh8:
	adrp	x8, _CLASS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CLASS@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_LIBELF_SET_ERROR
	mov	x0, #0
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
	mov	x20, #0
LBB0_18:
	ubfx	x8, x20, #16, #16
	add	x0, x8, w20, uxth
	b	LBB0_16
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ARGUMENT,4,2                   ; @ARGUMENT
	.comm	_CLASS,4,2                      ; @CLASS
	.comm	_SHF_ALLOC,4,2                  ; @SHF_ALLOC
	.comm	_SHT_DYNAMIC,8,3                ; @SHT_DYNAMIC
	.comm	_SHT_DYNSYM,8,3                 ; @SHT_DYNSYM
.subsections_via_symbols
