	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecoff_armap_hash
_ecoff_armap_hash:                      ## @ecoff_armap_hash
	.cfi_startproc
## %bb.0:
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movsbl	(%rdi), %eax
	movb	1(%rdi), %r8b
	testb	%r8b, %r8b
	je	LBB0_5
## %bb.3:
	addq	$2, %rdi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%r8b, %r8d
	roll	$5, %eax
	addl	%r8d, %eax
	movzbl	(%rdi), %r8d
	incq	%rdi
	testb	%r8b, %r8b
	jne	LBB0_4
LBB0_5:
	movq	_ARMAP_HASH_MAGIC@GOTPCREL(%rip), %rdi
	imull	(%rdi), %eax
	decl	%edx
	andl	%eax, %edx
	orl	$1, %edx
	movl	%edx, (%rsi)
	negb	%cl
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARMAP_HASH_MAGIC,4,2           ## @ARMAP_HASH_MAGIC
	.no_dead_strip	_ecoff_armap_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecoff_armap_hash
_ecoff_armap_hash:                      ; @ecoff_armap_hash
	.cfi_startproc
; %bb.0:
	cbz	w3, LBB0_5
; %bb.1:
	ldrsb	w8, [x0]
	ldrb	w9, [x0, #1]
	cbz	w9, LBB0_4
; %bb.2:
	add	x10, x0, #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ror	w8, w8, #27
	add	w8, w8, w9, sxtb
	ldrb	w9, [x10], #1
	cbnz	w9, LBB0_3
LBB0_4:
Lloh0:
	adrp	x9, _ARMAP_HASH_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARMAP_HASH_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w8, w9, w8
	sub	w9, w2, #1
	and	w9, w8, w9
	orr	w9, w9, #0x1
	str	w9, [x1]
	neg	w9, w3
	lsr	w0, w8, w9
	ret
LBB0_5:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARMAP_HASH_MAGIC,4,2           ; @ARMAP_HASH_MAGIC
	.no_dead_strip	_ecoff_armap_hash
.subsections_via_symbols
