	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_watchcat_id                ## -- Begin function get_watchcat_id
	.p2align	4, 0x90
_get_watchcat_id:                       ## @get_watchcat_id
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpb	$119, (%r14)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpb	$95, 1(%r14)
	sete	%dil
	callq	_assert
	movb	2(%r14), %al
	testb	%al, %al
	je	LBB0_1
## %bb.2:
	addq	$3, %r14
	movl	$1, %r12d
	xorl	%r15d, %r15d
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_char_to_int
	imulq	%r12, %rax
	addq	%rax, %r15
	shlq	$6, %rbx
	subq	%r12, %rbx
	subq	%r12, %rbx
	movzbl	(%r14), %eax
	incq	%r14
	movq	%rbx, %r12
	testb	%al, %al
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r15d, %r15d
LBB0_4:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	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	_get_watchcat_id                ; -- Begin function get_watchcat_id
	.p2align	2
_get_watchcat_id:                       ; @get_watchcat_id
	.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
	mov	x20, x0
	ldrb	w8, [x0]
	cmp	w8, #119
	cset	w0, eq
	bl	_assert
	ldrb	w8, [x20, #1]
	cmp	w8, #95
	cset	w0, eq
	bl	_assert
	ldrb	w8, [x20, #2]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, #0
	add	x20, x20, #3
	mov	w21, #1
	mov	w22, #62
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_char_to_int
	madd	x19, x0, x21, x19
	mul	x21, x21, x22
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	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
