	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_servername
_verify_servername:                     ## @verify_servername
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rdi
	callq	_SSL_get_SSL_CTX
	movq	%rax, %rbx
	movq	_sn_expect@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	cmpl	$1, %edx
	jne	LBB0_5
## %bb.3:
	movq	_s_ctx@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_7
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_1:
	movl	%edx, %eax
	jmp	LBB0_13
LBB0_5:
	cmpl	$2, %edx
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	movq	_s_ctx2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	je	LBB0_13
LBB0_7:
	movq	_bio_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	_s_ctx2@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_8
## %bb.9:
	movq	_s_ctx@GOTPCREL(%rip), %rax
	movl	(%r14), %edi
	cmpq	(%rax), %rbx
	je	LBB0_10
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_12
LBB0_8:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
LBB0_12:
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	$-1, %eax
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sn_expect,4,2                  ## @sn_expect
	.comm	_s_ctx,8,3                      ## @s_ctx
	.comm	_s_ctx2,8,3                     ## @s_ctx2
	.comm	_bio_stdout,4,2                 ## @bio_stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Servername: expected context %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Servername: context is 2\n"

L_.str.2:                               ## @.str.2
	.asciz	"Servername: context is 1\n"

L_.str.3:                               ## @.str.3
	.asciz	"Servername: context is unknown\n"

	.no_dead_strip	_verify_servername
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_servername
_verify_servername:                     ; @verify_servername
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x0, x1
	bl	_SSL_get_SSL_CTX
	mov	x19, x0
Lloh0:
	adrp	x8, _sn_expect@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sn_expect@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	cbz	w0, LBB0_11
; %bb.1:
Lloh3:
	adrp	x20, _s_ctx2@GOTPAGE
Lloh4:
	ldr	x20, [x20, _s_ctx2@GOTPAGEOFF]
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.2:
Lloh5:
	adrp	x8, _s_ctx@GOTPAGE
Lloh6:
	ldr	x8, [x8, _s_ctx@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x19, x8
	b.eq	LBB0_7
LBB0_3:
Lloh8:
	adrp	x21, _bio_stdout@GOTPAGE
Lloh9:
	ldr	x21, [x21, _bio_stdout@GOTPAGEOFF]
	ldr	w8, [x21]
	str	x0, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_BIO_printf
	ldr	x8, [x20]
	cmp	x19, x8
	b.eq	LBB0_8
; %bb.4:
Lloh12:
	adrp	x8, _s_ctx@GOTPAGE
Lloh13:
	ldr	x8, [x8, _s_ctx@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w0, [x21]
	cmp	x19, x8
	b.eq	LBB0_9
; %bb.5:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_6:
	ldr	x8, [x20]
	cmp	w0, #2
	ccmp	x19, x8, #0, eq
	b.ne	LBB0_3
LBB0_7:
	mov	w0, #0
	b	LBB0_11
LBB0_8:
	ldr	w0, [x21]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_10:
	bl	_BIO_printf
	mov	w0, #-1
LBB0_11:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_sn_expect,4,2                  ; @sn_expect
	.comm	_s_ctx,8,3                      ; @s_ctx
	.comm	_s_ctx2,8,3                     ; @s_ctx2
	.comm	_bio_stdout,4,2                 ; @bio_stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Servername: expected context %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Servername: context is 2\n"

l_.str.2:                               ; @.str.2
	.asciz	"Servername: context is 1\n"

l_.str.3:                               ; @.str.3
	.asciz	"Servername: context is unknown\n"

	.no_dead_strip	_verify_servername
.subsections_via_symbols
