	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mcp_wakeup                     ## -- Begin function mcp_wakeup
	.p2align	4, 0x90
_mcp_wakeup:                            ## @mcp_wakeup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_MCS_DATA
	movq	_conn_generation@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	incq	%rdx
	movq	%rdx, (%rcx)
	movq	%rdx, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_conn_expect_query@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movl	$12287, %ecx                    ## imm = 0x2FFF
	andl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_9
## %bb.1:
	movl	$52, %eax
	btl	%ecx, %eax
	jb	LBB0_4
## %bb.2:
	movl	$67, %eax
	btl	%ecx, %eax
	jae	LBB0_3
## %bb.6:
	cmpl	$0, 4(%rbx)
	jne	LBB0_9
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$12, %edx
	jmp	LBB0_8
LBB0_4:
	cmpl	$0, 4(%rbx)
	jne	LBB0_9
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$11, %edx
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
LBB0_8:
	callq	_write_out
LBB0_9:
	movq	%rbx, %rdi
	callq	_clear_connection_timeout
	movq	%rbx, %rdi
	callq	_mcs_pad_response
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conn_generation,8,3            ## @conn_generation
	.comm	_conn_expect_query,4,2          ## @conn_expect_query
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"END\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"NOT_FOUND\r\n"

L_.str.2:                               ## @.str.2
	.asciz	"NOT_STORED\r\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mcp_wakeup                     ; -- Begin function mcp_wakeup
	.p2align	2
_mcp_wakeup:                            ; @mcp_wakeup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_MCS_DATA
Lloh0:
	adrp	x8, _conn_generation@GOTPAGE
Lloh1:
	ldr	x8, [x8, _conn_generation@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	stp	xzr, x9, [x19, #16]
Lloh2:
	adrp	x8, _conn_expect_query@GOTPAGE
Lloh3:
	ldr	x8, [x8, _conn_expect_query@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w8, [x0]
	mov	w9, #12287
	and	w8, w8, w9
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_9
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #52
	tst	w8, w9
	b.ne	LBB0_5
; %bb.2:
	mov	w9, #67
	tst	w8, w9
	b.eq	LBB0_7
; %bb.3:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_9
; %bb.4:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #12
	b	LBB0_8
LBB0_5:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_9
; %bb.6:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #11
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #5
LBB0_8:
	bl	_write_out
LBB0_9:
	mov	x0, x19
	bl	_clear_connection_timeout
	mov	x0, x19
	bl	_mcs_pad_response
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_conn_generation,8,3            ; @conn_generation
	.comm	_conn_expect_query,4,2          ; @conn_expect_query
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"END\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"NOT_FOUND\r\n"

l_.str.2:                               ; @.str.2
	.asciz	"NOT_STORED\r\n"

.subsections_via_symbols
