	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function dump_svr4_hash
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dump_svr4_hash:                        ## @dump_svr4_hash
	.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	%rdi, %rbx
	xorl	%eax, %eax
	callq	_elf_errno
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_elf_getdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movslq	(%rax), %rcx
	cmpq	$7, %rcx
	ja	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	je	LBB0_33
## %bb.2:
	movl	%eax, %edi
	callq	_elf_errmsg
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
LBB0_6:
	movq	8(%rax), %r13
	movl	(%r13), %edi
	testl	%edi, %edi
	jle	LBB0_8
## %bb.7:
	movl	4(%r13), %ebx
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.9:
	leaq	2(%rdi), %r14
	leal	(%r14,%rbx), %eax
	shlq	$2, %rax
	cmpq	%rcx, %rax
	jne	LBB0_8
## %bb.10:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_errx
LBB0_12:
	leaq	(,%r14,4), %rax
	addq	%r13, %rax
	xorl	%ecx, %ecx
	xorl	%r12d, %r12d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	%esi, (%r15,%rcx,4)
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rcx
	cmpq	%rdi, %rcx
	je	LBB0_20
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movl	8(%r13,%rcx,4), %edx
	testl	%edx, %edx
	jle	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	%ebx, %edx
	jge	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	(%r15,%rcx,4), %esi
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
                                        ## kill: def $esi killed $esi def $rsi
	cmpl	%r12d, %esi
	leal	1(%rsi), %esi
	cmovgel	%esi, %r12d
	movl	%edx, %edx
	movl	(%rax,%rdx,4), %edx
	testl	%edx, %edx
	jle	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	cmpl	%ebx, %edx
	jl	LBB0_16
	jmp	LBB0_18
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
LBB0_5:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
LBB0_33:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	leal	1(%r12), %edi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_errx
LBB0_22:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leaq	-1(%rsi), %rcx
	movl	%esi, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_24
## %bb.23:
	xorl	%ecx, %ecx
	jmp	LBB0_26
LBB0_24:
	movl	%esi, %edx
	andl	$-4, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r15,%rcx,4), %rdi
	incl	(%r13,%rdi,4)
	movslq	4(%r15,%rcx,4), %rdi
	incl	(%r13,%rdi,4)
	movslq	8(%r15,%rcx,4), %rdi
	incl	(%r13,%rdi,4)
	movslq	12(%r15,%rcx,4), %rdi
	incl	(%r13,%rdi,4)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_25
LBB0_26:
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:
	leaq	(%r15,%rcx,4), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rcx,%rdx,4), %rdi
	incl	(%r13,%rdi,4)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_28
LBB0_29:
	leaq	L_.str.4(%rip), %rdi
	xorl	%r14d, %r14d
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	testl	%r12d, %r12d
	js	LBB0_32
## %bb.30:
	cvtsi2sdl	-48(%rbp), %xmm0        ## 4-byte Folded Reload
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	decl	%ebx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edx
	movl	%edx, %eax
	imull	%ebx, %eax
	addl	%eax, %r14d
	xorps	%xmm0, %xmm0
	cvtsi2sd	%edx, %xmm0
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm0
	divsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r14d, %xmm1
	mulsd	%xmm2, %xmm1
	divsd	-64(%rbp), %xmm1                ## 8-byte Folded Reload
	leaq	L_.str.6(%rip), %rdi
	movl	%ebx, %esi
	movb	$2, %al
	callq	_printf
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_31
LBB0_32:
	movq	%r13, %rdi
	callq	_free
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"elf_getdata failed: %s"

L_.str.1:                               ## @.str.1
	.asciz	".hash section too small"

L_.str.2:                               ## @.str.2
	.asciz	"Malformed .hash section"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.3:                               ## @.str.3
	.asciz	"calloc failed"

L_.str.4:                               ## @.str.4
	.asciz	"\nHistogram for bucket list length (total of %u buckets):\n"

L_.str.5:                               ## @.str.5
	.asciz	" Length\tNumber\t\t%% of total\tCoverage\n"

L_.str.6:                               ## @.str.6
	.asciz	"%7u\t%-10u\t(%5.1f%%)\t%5.1f%%\n"

	.no_dead_strip	_dump_svr4_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_svr4_hash
_dump_svr4_hash:                        ; @dump_svr4_hash
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 b8, -88
	.cfi_offset b9, -96
	mov	x19, x0
	bl	_elf_errno
	ldr	w0, [x19]
	mov	x1, #0
	bl	_elf_getdata
	cbz	x0, LBB0_3
; %bb.1:
	ldrsw	x8, [x0]
	cmp	w8, #7
	b.hi	LBB0_6
; %bb.2:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_3:
	bl	_elf_errno
	cbz	w0, LBB0_5
; %bb.4:
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_6:
	ldr	x22, [x0, #8]
	ldp	w20, w23, [x22]
	cmp	w20, #1
	ccmp	w23, #0, #4, ge
	b.le	LBB0_16
; %bb.7:
	add	x9, x20, #2
	add	w10, w9, w23
	cmp	x8, w10, uxtw #2
	b.ne	LBB0_16
; %bb.8:
	add	x21, x22, x9, lsl #2
	mov	x0, x20
	mov	w1, #4
	bl	_calloc
	mov	x19, x0
	cbnz	x0, LBB0_10
; %bb.9:
Lloh4:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errx
LBB0_10:
	mov	x8, #0
	mov	w24, #0
	add	x9, x22, #8
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x8, #1
	cmp	x8, x20
	b.eq	LBB0_18
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	w10, [x9, x8, lsl #2]
	cmp	w10, #1
	ccmp	w10, w23, #0, ge
	b.ge	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w11, [x19, x8, lsl #2]
LBB0_14:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w11, w24
	csinc	w24, w24, w11, lt
	add	w11, w11, #1
	ldr	w10, [x21, w10, uxtw #2]
	cmp	w10, #1
	ccmp	w10, w23, #0, ge
	b.lt	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	str	w11, [x19, x8, lsl #2]
	b	LBB0_11
LBB0_16:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_17:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_warnx
LBB0_18:
	add	w21, w24, #1
	mov	x0, x21
	mov	w1, #4
	bl	_calloc
	mov	x22, x0
	cbnz	x0, LBB0_20
; %bb.19:
Lloh11:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errx
LBB0_20:
	mov	x8, #0
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x9, [x19, x8, lsl #2]
	lsl	x9, x9, #2
	ldr	w10, [x22, x9]
	add	w10, w10, #1
	str	w10, [x22, x9]
	add	x8, x8, #1
	cmp	x20, x8
	b.ne	LBB0_21
; %bb.22:
	str	x20, [sp]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	tbnz	w24, #31, LBB0_25
; %bb.23:
	mov	x24, #0
	mov	w25, #0
	scvtf	d8, w20
	sub	w8, w23, #1
	scvtf	d9, w8
	mov	x23, #4636737291354636288
Lloh20:
	adrp	x20, l_.str.6@PAGE
Lloh21:
	add	x20, x20, l_.str.6@PAGEOFF
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22, x24, lsl #2]
	madd	w25, w8, w24, w25
	scvtf	d0, w8
	fmov	d1, x23
	fmul	d0, d0, d1
	fdiv	d0, d0, d8
	scvtf	d2, w25
	fmul	d1, d2, d1
	fdiv	d1, d1, d9
	stp	x24, x8, [sp]
	stp	d0, d1, [sp, #16]
	mov	x0, x20
	bl	_printf
	add	x24, x24, #1
	cmp	x21, x24
	b.ne	LBB0_24
LBB0_25:
	mov	x0, x22
	bl	_free
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"elf_getdata failed: %s"

l_.str.1:                               ; @.str.1
	.asciz	".hash section too small"

l_.str.2:                               ; @.str.2
	.asciz	"Malformed .hash section"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.3:                               ; @.str.3
	.asciz	"calloc failed"

l_.str.4:                               ; @.str.4
	.asciz	"\nHistogram for bucket list length (total of %u buckets):\n"

l_.str.5:                               ; @.str.5
	.asciz	" Length\tNumber\t\t%% of total\tCoverage\n"

l_.str.6:                               ; @.str.6
	.asciz	"%7u\t%-10u\t(%5.1f%%)\t%5.1f%%\n"

	.no_dead_strip	_dump_svr4_hash
.subsections_via_symbols
