	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function servername_cb
_servername_cb:                         ## @servername_cb
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_TLSEXT_NAMETYPE_host_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSL_get_servername
	movq	_sn_server2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	_SSL_TLSEXT_ERR_OK@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_s_ctx2@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.4:
	movq	%rax, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_bio_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_BIO_printf
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_SSL_set_SSL_CTX
	jmp	LBB0_6
LBB0_1:
	movq	_bio_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_printf
	movq	_SSL_TLSEXT_ERR_NOACK@GOTPCREL(%rip), %r14
LBB0_6:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLSEXT_NAMETYPE_host_name,4,2  ## @TLSEXT_NAMETYPE_host_name
	.comm	_sn_server2,8,3                 ## @sn_server2
	.comm	_bio_stdout,4,2                 ## @bio_stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Servername 2 is NULL\n"

	.comm	_SSL_TLSEXT_ERR_NOACK,4,2       ## @SSL_TLSEXT_ERR_NOACK
	.comm	_s_ctx2,8,3                     ## @s_ctx2
L_.str.1:                               ## @.str.1
	.asciz	"Switching server context.\n"

	.comm	_SSL_TLSEXT_ERR_OK,4,2          ## @SSL_TLSEXT_ERR_OK
	.no_dead_strip	_servername_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function servername_cb
_servername_cb:                         ; @servername_cb
	.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
Lloh0:
	adrp	x8, _TLSEXT_NAMETYPE_host_name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLSEXT_NAMETYPE_host_name@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_SSL_get_servername
Lloh3:
	adrp	x8, _sn_server2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sn_server2@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	cbz	x1, LBB0_5
; %bb.1:
Lloh6:
	adrp	x20, _s_ctx2@GOTPAGE
Lloh7:
	ldr	x20, [x20, _s_ctx2@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_4
; %bb.2:
	bl	_strcasecmp
	cbnz	w0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _bio_stdout@GOTPAGE
Lloh9:
	ldr	x8, [x8, _bio_stdout@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BIO_printf
	ldr	x1, [x20]
	mov	x0, x19
	bl	_SSL_set_SSL_CTX
LBB0_4:
Lloh13:
	adrp	x8, _SSL_TLSEXT_ERR_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_TLSEXT_ERR_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x8, _bio_stdout@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bio_stdout@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
Lloh20:
	adrp	x8, _SSL_TLSEXT_ERR_NOACK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SSL_TLSEXT_ERR_NOACK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TLSEXT_NAMETYPE_host_name,4,2  ; @TLSEXT_NAMETYPE_host_name
	.comm	_sn_server2,8,3                 ; @sn_server2
	.comm	_bio_stdout,4,2                 ; @bio_stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Servername 2 is NULL\n"

	.comm	_SSL_TLSEXT_ERR_NOACK,4,2       ; @SSL_TLSEXT_ERR_NOACK
	.comm	_s_ctx2,8,3                     ; @s_ctx2
l_.str.1:                               ; @.str.1
	.asciz	"Switching server context.\n"

	.comm	_SSL_TLSEXT_ERR_OK,4,2          ; @SSL_TLSEXT_ERR_OK
	.no_dead_strip	_servername_cb
.subsections_via_symbols
