	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openssl_lh_strcasehash         ## -- Begin function openssl_lh_strcasehash
	.p2align	4, 0x90
_openssl_lh_strcasehash:                ## @openssl_lh_strcasehash
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_6
## %bb.2:
	incq	%r14
	movl	$256, %r15d                     ## imm = 0x100
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_ossl_tolower
	movl	%eax, %edx
	shrl	$2, %edx
	xorl	%eax, %edx
	andb	$15, %dl
	leal	32(%rdx), %ecx
	negb	%cl
	movq	%rbx, %rsi
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rsi
	movl	%edx, %ecx
	shll	%cl, %ebx
	orq	%r15, %rax
	orl	%ebx, %esi
	imulq	%rax, %rax
	movq	%rax, %rbx
	xorq	%rsi, %rbx
	addq	$256, %r15                      ## imm = 0x100
	movzbl	(%r14), %eax
	incq	%r14
	testb	%al, %al
	jne	LBB0_3
## %bb.4:
	movq	%rbx, %rax
	shrq	$16, %rax
	xorq	%rbx, %rax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openssl_lh_strcasehash         ; -- Begin function openssl_lh_strcasehash
	.p2align	2
_openssl_lh_strcasehash:                ; @openssl_lh_strcasehash
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_6
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.2:
	mov	x20, #0
	add	x19, x0, #1
	mov	w21, #256
	mov	w22, #32
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_ossl_tolower
	orr	x8, x0, x21
	eor	w9, w0, w0, lsr #2
	and	w9, w9, #0xf
	sub	w10, w22, w9
	lsr	x10, x20, x10
	lsl	w9, w20, w9
	orr	w9, w10, w9
	mul	x8, x8, x8
	eor	x20, x9, x8
	add	x21, x21, #256
	ldrb	w8, [x19], #1
	cbnz	w8, LBB0_3
; %bb.4:
	eor	x0, x20, x20, lsr #16
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
