	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function server_alpn_cb
_server_alpn_cb:                        ## @server_alpn_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%r8d, %eax
	movq	%rcx, %r8
	movq	%rsi, %r14
	movl	(%r9), %ecx
	movl	4(%r9), %ebx
	leaq	-24(%rbp), %rdi
	movq	%rdx, %rsi
	movl	%ebx, %edx
	movl	%eax, %r9d
	callq	_SSL_select_next_proto
	movq	-24(%rbp), %rcx
	movq	%rcx, (%r14)
	movq	_OPENSSL_NPN_NEGOTIATED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_SSL_TLSEXT_ERR_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SSL_TLSEXT_ERR_ALERT_FATAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENSSL_NPN_NEGOTIATED,4,2     ## @OPENSSL_NPN_NEGOTIATED
	.comm	_SSL_TLSEXT_ERR_OK,4,2          ## @SSL_TLSEXT_ERR_OK
	.comm	_SSL_TLSEXT_ERR_ALERT_FATAL,4,2 ## @SSL_TLSEXT_ERR_ALERT_FATAL
	.no_dead_strip	_server_alpn_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function server_alpn_cb
_server_alpn_cb:                        ; @server_alpn_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x4
	mov	x4, x3
	mov	x9, x2
	mov	x19, x1
	ldp	w3, w2, [x5]
	add	x0, sp, #8
	mov	x1, x9
	mov	x5, x8
	bl	_SSL_select_next_proto
	ldr	x8, [sp, #8]
	str	x8, [x19]
Lloh0:
	adrp	x8, _OPENSSL_NPN_NEGOTIATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPENSSL_NPN_NEGOTIATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SSL_TLSEXT_ERR_OK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SSL_TLSEXT_ERR_OK@GOTPAGEOFF]
Lloh5:
	adrp	x10, _SSL_TLSEXT_ERR_ALERT_FATAL@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SSL_TLSEXT_ERR_ALERT_FATAL@GOTPAGEOFF]
	cmp	w0, w8
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENSSL_NPN_NEGOTIATED,4,2     ; @OPENSSL_NPN_NEGOTIATED
	.comm	_SSL_TLSEXT_ERR_OK,4,2          ; @SSL_TLSEXT_ERR_OK
	.comm	_SSL_TLSEXT_ERR_ALERT_FATAL,4,2 ; @SSL_TLSEXT_ERR_ALERT_FATAL
	.no_dead_strip	_server_alpn_cb
.subsections_via_symbols
