	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function string_to_hash
_string_to_hash:                        ## @string_to_hash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movb	(%rdi), %cl
	testb	%cl, %cl
	je	LBB0_1
## %bb.2:
	incq	%rdi
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	%cl, -32(%rbp,%rax)
	incq	%rax
	cmpq	$20, %rax
	je	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rdi), %ecx
	incq	%rdi
	testb	%cl, %cl
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-48(%rcx), %edx
	cmpb	$10, %dl
	jb	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-65(%rcx), %edx
	cmpb	$26, %dl
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-97(%rcx), %edx
	cmpb	$25, %dl
	ja	LBB0_8
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_9:
	movb	$0, -32(%rbp,%rax)
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_eqstring
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_br_md5_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_eqstring
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_br_sha1_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_7:
	movl	$-1, %eax
	jmp	LBB0_20
LBB0_13:
	leaq	L_.str.2(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_eqstring
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_br_sha224_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_15:
	leaq	L_.str.3(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_eqstring
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_br_sha256_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_17:
	leaq	L_.str.4(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_eqstring
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	_br_sha384_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_19:
	leaq	L_.str.5(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_eqstring
	movq	%rax, %rcx
	movq	_br_sha512_ID@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	$1, %rcx
	sbbl	%eax, %eax
	orl	(%rdx), %eax
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_22
## %bb.21:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"md5"

	.comm	_br_md5_ID,4,2                  ## @br_md5_ID
L_.str.1:                               ## @.str.1
	.asciz	"sha1"

	.comm	_br_sha1_ID,4,2                 ## @br_sha1_ID
L_.str.2:                               ## @.str.2
	.asciz	"sha224"

	.comm	_br_sha224_ID,4,2               ## @br_sha224_ID
L_.str.3:                               ## @.str.3
	.asciz	"sha256"

	.comm	_br_sha256_ID,4,2               ## @br_sha256_ID
L_.str.4:                               ## @.str.4
	.asciz	"sha384"

	.comm	_br_sha384_ID,4,2               ## @br_sha384_ID
L_.str.5:                               ## @.str.5
	.asciz	"sha512"

	.comm	_br_sha512_ID,4,2               ## @br_sha512_ID
	.no_dead_strip	_string_to_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function string_to_hash
_string_to_hash:                        ; @string_to_hash
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	ldrb	w11, [x0]
	cbz	w11, LBB0_7
; %bb.1:
	mov	x8, #0
	add	x9, x0, #1
	add	x10, sp, #4
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	w11, [x10, x8]
	add	x11, x8, #1
	mov	x8, x11
	cmp	x11, #20
	b.eq	LBB0_12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w11, [x9], #1
	cbz	w11, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w12, w11, #48
	cmp	w12, #10
	b.lo	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w12, w11, #65
	cmp	w12, #26
	b.lo	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w12, w11, #97
	cmp	w12, #25
	b.hi	LBB0_3
	b	LBB0_2
LBB0_7:
	mov	x8, #0
LBB0_8:
	add	x9, sp, #4
	strb	wzr, [x9, x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #4
	bl	_eqstring
	cbz	x0, LBB0_10
; %bb.9:
Lloh5:
	adrp	x8, _br_md5_ID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _br_md5_ID@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_10:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #4
	bl	_eqstring
	cbz	x0, LBB0_13
; %bb.11:
Lloh10:
	adrp	x8, _br_sha1_ID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _br_sha1_ID@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_12:
	mov	w0, #-1
	b	LBB0_20
LBB0_13:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #4
	bl	_eqstring
	cbz	x0, LBB0_15
; %bb.14:
Lloh15:
	adrp	x8, _br_sha224_ID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _br_sha224_ID@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_15:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #4
	bl	_eqstring
	cbz	x0, LBB0_17
; %bb.16:
Lloh20:
	adrp	x8, _br_sha256_ID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _br_sha256_ID@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_17:
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #4
	bl	_eqstring
	cbz	x0, LBB0_19
; %bb.18:
Lloh25:
	adrp	x8, _br_sha384_ID@GOTPAGE
Lloh26:
	ldr	x8, [x8, _br_sha384_ID@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_19:
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #4
	bl	_eqstring
Lloh30:
	adrp	x8, _br_sha512_ID@GOTPAGE
Lloh31:
	ldr	x8, [x8, _br_sha512_ID@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	x0, #0
	csinv	w0, w8, wzr, ne
LBB0_20:
	ldur	x8, [x29, #-8]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"md5"

	.comm	_br_md5_ID,4,2                  ; @br_md5_ID
l_.str.1:                               ; @.str.1
	.asciz	"sha1"

	.comm	_br_sha1_ID,4,2                 ; @br_sha1_ID
l_.str.2:                               ; @.str.2
	.asciz	"sha224"

	.comm	_br_sha224_ID,4,2               ; @br_sha224_ID
l_.str.3:                               ; @.str.3
	.asciz	"sha256"

	.comm	_br_sha256_ID,4,2               ; @br_sha256_ID
l_.str.4:                               ; @.str.4
	.asciz	"sha384"

	.comm	_br_sha384_ID,4,2               ; @br_sha384_ID
l_.str.5:                               ; @.str.5
	.asciz	"sha512"

	.comm	_br_sha512_ID,4,2               ; @br_sha512_ID
	.no_dead_strip	_string_to_hash
.subsections_via_symbols
