	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_mc
_check_mc:                              ## @check_mc
	.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
	subq	$208, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_p@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	$0, -216(%rbp)
	movq	_APR_INET@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-216(%rbp), %rdi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_apr_socket_create
	movq	%rax, %rbx
	movq	_APR_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.1:
	movq	_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-232(%rbp), %rdi
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	_apr_sockaddr_info_get
	movq	%rax, %rbx
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.2:
	movq	-216(%rbp), %rdi
	movq	_APR_USEC_PER_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_apr_socket_timeout_set
	movq	%rax, %rbx
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.3:
	movq	-216(%rbp), %rdi
	movq	-232(%rbp), %rsi
	callq	_apr_socket_connect
	movq	%rax, %rbx
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.4:
	movq	-216(%rbp), %rdi
	movl	$-1, %esi
	callq	_apr_socket_timeout_set
	movq	%rax, %rbx
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.5:
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)
	movl	$7, -72(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -64(%rbp)
	movl	$2, -56(%rbp)
	movq	-216(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	leaq	-236(%rbp), %rcx
	movl	$2, %edx
	callq	_apr_socket_sendv
	movq	%rax, %rbx
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.6:
	movl	$128, -220(%rbp)
	movq	-216(%rbp), %rdi
	leaq	-208(%rbp), %rsi
	leaq	-220(%rbp), %rdx
	callq	_apr_socket_recv
	movq	%rax, %rbx
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	leaq	-208(%rbp), %rdi
	movl	$7, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_APR_EGENERAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_9:
	movq	-216(%rbp), %rdi
	callq	_apr_socket_close
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movq	%rbx, %rax
	addq	$208, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_p,8,3                          ## @p
	.comm	_APR_INET,4,2                   ## @APR_INET
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
	.comm	_HOST,4,2                       ## @HOST
	.comm	_PORT,4,2                       ## @PORT
	.comm	_APR_USEC_PER_SEC,4,2           ## @APR_USEC_PER_SEC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"version"

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

L_.str.2:                               ## @.str.2
	.asciz	"VERSION"

	.comm	_APR_EGENERAL,8,3               ## @APR_EGENERAL
	.no_dead_strip	_check_mc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_mc
_check_mc:                              ; @check_mc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _p@GOTPAGE
Lloh4:
	ldr	x8, [x8, _p@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	str	xzr, [sp, #16]
Lloh6:
	adrp	x22, _APR_INET@GOTPAGE
Lloh7:
	ldr	x22, [x22, _APR_INET@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh8:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x0, sp, #16
	mov	w3, #0
	mov	x4, x20
	bl	_apr_socket_create
	mov	x19, x0
Lloh11:
	adrp	x21, _APR_SUCCESS@GOTPAGE
Lloh12:
	ldr	x21, [x21, _APR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.1:
Lloh13:
	adrp	x8, _HOST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HOST@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x22]
Lloh16:
	adrp	x8, _PORT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PORT@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	w4, #0
	mov	x5, x20
	bl	_apr_sockaddr_info_get
	mov	x19, x0
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.2:
	ldr	x0, [sp, #16]
Lloh19:
	adrp	x8, _APR_USEC_PER_SEC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _APR_USEC_PER_SEC@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_apr_socket_timeout_set
	mov	x19, x0
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.3:
	ldp	x1, x0, [sp, #8]
	bl	_apr_socket_connect
	mov	x19, x0
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.4:
	ldr	x0, [sp, #16]
	mov	w1, #-1
	bl	_apr_socket_timeout_set
	mov	x19, x0
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:
Lloh22:
	adrp	x8, l_.str@PAGE
Lloh23:
	add	x8, x8, l_.str@PAGEOFF
	stur	x8, [x29, #-72]
	mov	w8, #7
	stur	w8, [x29, #-64]
Lloh24:
	adrp	x8, l_.str.1@PAGE
Lloh25:
	add	x8, x8, l_.str.1@PAGEOFF
	stur	x8, [x29, #-56]
	mov	w8, #2
	stur	w8, [x29, #-48]
	ldr	x0, [sp, #16]
	sub	x1, x29, #72
	add	x3, sp, #4
	mov	w2, #2
	bl	_apr_socket_sendv
	mov	x19, x0
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
	mov	w8, #128
	str	w8, [sp]
	ldr	x0, [sp, #16]
	add	x1, sp, #24
	mov	x2, sp
	bl	_apr_socket_recv
	mov	x19, x0
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #24
	mov	w2, #7
	bl	_strncmp
Lloh28:
	adrp	x8, _APR_EGENERAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _APR_EGENERAL@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x19, x19, x8, eq
	ldr	x0, [sp, #16]
	bl	_apr_socket_close
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_p,8,3                          ; @p
	.comm	_APR_INET,4,2                   ; @APR_INET
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
	.comm	_HOST,4,2                       ; @HOST
	.comm	_PORT,4,2                       ; @PORT
	.comm	_APR_USEC_PER_SEC,4,2           ; @APR_USEC_PER_SEC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"version"

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

l_.str.2:                               ; @.str.2
	.asciz	"VERSION"

	.comm	_APR_EGENERAL,8,3               ; @APR_EGENERAL
	.no_dead_strip	_check_mc
.subsections_via_symbols
