	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_subscribe_watchcat             ## -- Begin function subscribe_watchcat
	.p2align	4, 0x90
_subscribe_watchcat:                    ## @subscribe_watchcat
	.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
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_my_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_fprintf
LBB0_2:
	movq	%rbx, %rdi
	callq	_create_watchcat_query
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_watchcat_query_hash_impl
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_get_watchcat
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_rand
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_trp_add
	movq	%rax, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wkey_fix                       ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_watchcat_query            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_my_verbosity,4,2               ## @my_verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"subscribe wathcat %lld (%s), q_id = %d, timeout = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_subscribe_watchcat             ; -- Begin function subscribe_watchcat
	.p2align	2
_subscribe_watchcat:                    ; @subscribe_watchcat
	.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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _my_verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _my_verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x22
	mov	x4, x20
	mov	x5, x19
	bl	_fprintf
LBB0_2:
	mov	x0, x22
	bl	_create_watchcat_query
	mov	x22, x0
	bl	_watchcat_query_hash_impl
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x22
	bl	_get_watchcat
	mov	x21, x0
	bl	_rand
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	mov	x3, x21
	bl	_trp_add
	mov	x1, 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
	b	_wkey_fix
LBB0_4:
	mov	x0, x22
	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
	b	_free_watchcat_query
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_my_verbosity,4,2               ; @my_verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"subscribe wathcat %lld (%s), q_id = %d, timeout = %d\n"

.subsections_via_symbols
