	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_protocol
_check_protocol:                        ## @check_protocol
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	8(%rbx), %rsi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rsi
	movl	$1, %r15d
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.3:
	movq	(%rbx), %rdi
	callq	_TEST_int_eq
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %r12
	leaq	L_.str.1(%rip), %r15
	movq	%r14, %rbx
	jmp	LBB0_5
LBB0_1:
	movq	%rbx, %r12
	addq	$8, %r12
	leaq	L_.str(%rip), %r15
LBB0_5:
	movq	(%rbx), %rdi
	callq	_ssl_protocol_name
	movl	%eax, %ebx
	movq	(%r12), %rdi
	callq	_ssl_protocol_name
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_TEST_info
	xorl	%r15d, %r15d
LBB0_6:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Client has protocol %s but server has %s."

L_.str.1:                               ## @.str.1
	.asciz	"Protocol mismatch: expected %s, got %s.\n"

	.no_dead_strip	_check_protocol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_protocol
_check_protocol:                        ; @check_protocol
	.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, x1
	mov	x19, x0
	ldr	x0, [x0]
	mov	x22, x19
	ldr	x1, [x22, #8]!
	bl	_TEST_int_eq
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x1, [x20]
	cbz	x1, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	bl	_TEST_int_eq
	cbz	w0, LBB0_5
LBB0_3:
	mov	w0, #1
	b	LBB0_7
LBB0_4:
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
	mov	x22, x19
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x19, x20
LBB0_6:
	ldr	x0, [x19]
	bl	_ssl_protocol_name
	mov	x19, x0
	ldr	x0, [x22]
	bl	_ssl_protocol_name
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_TEST_info
	mov	w0, #0
LBB0_7:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Client has protocol %s but server has %s."

l_.str.1:                               ; @.str.1
	.asciz	"Protocol mismatch: expected %s, got %s.\n"

	.no_dead_strip	_check_protocol
.subsections_via_symbols
