	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alpn_cb
_alpn_cb:                               ## @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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	_s_quiet@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jne	LBB0_7
## %bb.1:
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_bio_s_out@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_printf
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.2:
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %edi
	movl	%r13d, %r14d
	leaq	(%rbx,%r14), %rsi
	incq	%rsi
	movzbl	(%rbx,%r14), %edx
	xorl	%eax, %eax
	callq	_BIO_write
	movzbl	(%rbx,%r14), %eax
	addl	%eax, %r13d
	incl	%r13d
	cmpl	%r12d, %r13d
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edx
	xorl	%eax, %eax
	callq	_BIO_write
	jmp	LBB0_5
LBB0_6:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_BIO_write
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	_s_quiet@GOTPCREL(%rip), %r14
	movq	-48(%rbp), %r9                  ## 8-byte Reload
LBB0_7:
	movl	(%r9), %ecx
	movl	4(%r9), %edx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %r8
	movl	%r12d, %r9d
	callq	_SSL_select_next_proto
	movq	_OPENSSL_NPN_NEGOTIATED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.9:
	movq	_SSL_TLSEXT_ERR_OK@GOTPCREL(%rip), %rbx
	cmpl	$0, (%r14)
	jne	LBB0_11
## %bb.10:
	movq	_bio_s_out@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_BIO_printf
	movl	(%r14), %edi
	movq	(%r13), %rsi
	movzbl	(%r15), %edx
	xorl	%eax, %eax
	callq	_BIO_write
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_BIO_write
	jmp	LBB0_11
LBB0_8:
	movq	_SSL_TLSEXT_ERR_NOACK@GOTPCREL(%rip), %rbx
LBB0_11:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_quiet,4,2                    ## @s_quiet
	.comm	_bio_s_out,4,2                  ## @bio_s_out
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ALPN protocols advertised by the client: "

L_.str.1:                               ## @.str.1
	.asciz	", "

L_.str.2:                               ## @.str.2
	.asciz	"\n"

	.comm	_OPENSSL_NPN_NEGOTIATED,8,3     ## @OPENSSL_NPN_NEGOTIATED
	.comm	_SSL_TLSEXT_ERR_NOACK,4,2       ## @SSL_TLSEXT_ERR_NOACK
L_.str.3:                               ## @.str.3
	.asciz	"ALPN protocols selected: "

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alpn_cb
_alpn_cb:                               ; @alpn_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x5
	mov	x21, x4
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x24, _s_quiet@GOTPAGE
Lloh1:
	ldr	x24, [x24, _s_quiet@GOTPAGEOFF]
	ldr	w8, [x24]
	cbnz	w8, LBB0_7
; %bb.1:
Lloh2:
	adrp	x25, _bio_s_out@GOTPAGE
Lloh3:
	ldr	x25, [x25, _bio_s_out@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
	cbz	w21, LBB0_6
; %bb.2:
	mov	w28, #0
	mov	w26, #2
Lloh6:
	adrp	x27, l_.str.1@PAGE
Lloh7:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	add	w24, w28, #1
	add	x8, x22, x24
	mov	w28, w28
	ldrb	w9, [x22, x28]
	stp	x8, x9, [sp]
	bl	_BIO_write
	ldrb	w8, [x22, x28]
	add	w28, w24, w8
	cmp	w28, w21
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w28, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	stp	x27, x26, [sp]
	bl	_BIO_write
	b	LBB0_3
LBB0_6:
	ldr	w0, [x25]
	mov	w8, #1
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x9, x8, [sp]
	bl	_BIO_write
Lloh10:
	adrp	x24, _s_quiet@GOTPAGE
Lloh11:
	ldr	x24, [x24, _s_quiet@GOTPAGEOFF]
LBB0_7:
	ldp	w3, w2, [x23]
	mov	x0, x20
	mov	x1, x19
	mov	x4, x22
	mov	x5, x21
	bl	_SSL_select_next_proto
Lloh12:
	adrp	x8, _OPENSSL_NPN_NEGOTIATED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OPENSSL_NPN_NEGOTIATED@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.8:
	ldr	w8, [x24]
	cbnz	w8, LBB0_10
; %bb.9:
Lloh15:
	adrp	x21, _bio_s_out@GOTPAGE
Lloh16:
	ldr	x21, [x21, _bio_s_out@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x21]
	ldr	x8, [x20]
	ldrb	w9, [x19]
	stp	x8, x9, [sp]
	bl	_BIO_write
	ldr	w0, [x21]
	mov	w8, #1
Lloh19:
	adrp	x9, l_.str.2@PAGE
Lloh20:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x9, x8, [sp]
	bl	_BIO_write
LBB0_10:
Lloh21:
	adrp	x8, _SSL_TLSEXT_ERR_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SSL_TLSEXT_ERR_OK@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh23:
	adrp	x8, _SSL_TLSEXT_ERR_NOACK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SSL_TLSEXT_ERR_NOACK@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_s_quiet,4,2                    ; @s_quiet
	.comm	_bio_s_out,4,2                  ; @bio_s_out
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ALPN protocols advertised by the client: "

l_.str.1:                               ; @.str.1
	.asciz	", "

l_.str.2:                               ; @.str.2
	.asciz	"\n"

	.comm	_OPENSSL_NPN_NEGOTIATED,8,3     ; @OPENSSL_NPN_NEGOTIATED
	.comm	_SSL_TLSEXT_ERR_NOACK,4,2       ; @SSL_TLSEXT_ERR_NOACK
l_.str.3:                               ; @.str.3
	.asciz	"ALPN protocols selected: "

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