	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_proto_cb
_next_proto_cb:                         ## @next_proto_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
	movq	%r9, %r14
	movl	%r8d, %r15d
	movq	%rcx, %rbx
	movq	%rsi, %rdi
	movq	_c_quiet@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.1:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_bio_c_out@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_printf
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.2:
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	movl	%r14d, %r12d
	leaq	(%rbx,%r12), %rsi
	incq	%rsi
	movzbl	(%rbx,%r12), %edx
	xorl	%eax, %eax
	callq	_BIO_write
	movzbl	(%rbx,%r12), %eax
	addl	%eax, %r14d
	incl	%r14d
	cmpl	%r15d, %r14d
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edx
	xorl	%eax, %eax
	callq	_BIO_write
	jmp	LBB0_5
LBB0_6:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_BIO_write
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_7:
	movl	(%r14), %r9d
	movl	4(%r14), %r8d
	movq	%rdx, %rsi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_SSL_select_next_proto
	movl	%eax, 8(%r14)
	movq	_SSL_TLSEXT_ERR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_c_quiet,4,2                    ## @c_quiet
	.comm	_bio_c_out,4,2                  ## @bio_c_out
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Protocols advertised by server: "

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

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

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_proto_cb
_next_proto_cb:                         ; @next_proto_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	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
Lloh0:
	adrp	x8, _c_quiet@GOTPAGE
Lloh1:
	ldr	x8, [x8, _c_quiet@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_7
; %bb.1:
Lloh3:
	adrp	x24, _bio_c_out@GOTPAGE
Lloh4:
	ldr	x24, [x24, _bio_c_out@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
	cbz	w20, LBB0_6
; %bb.2:
	mov	w27, #0
	mov	w25, #2
Lloh7:
	adrp	x26, l_.str.1@PAGE
Lloh8:
	add	x26, x26, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24]
	add	w28, w27, #1
	add	x8, x21, x28
	mov	w27, w27
	ldrb	w9, [x21, x27]
	stp	x8, x9, [sp]
	bl	_BIO_write
	ldrb	w8, [x21, x27]
	add	w27, w28, w8
	cmp	w27, w20
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w27, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24]
	stp	x26, x25, [sp]
	bl	_BIO_write
	b	LBB0_3
LBB0_6:
	ldr	w0, [x24]
	mov	w8, #1
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x9, x8, [sp]
	bl	_BIO_write
LBB0_7:
	ldp	w5, w4, [x19]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_SSL_select_next_proto
	str	w0, [x19, #8]
Lloh11:
	adrp	x8, _SSL_TLSEXT_ERR_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSL_TLSEXT_ERR_OK@GOTPAGEOFF]
Lloh13:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_c_quiet,4,2                    ; @c_quiet
	.comm	_bio_c_out,4,2                  ; @bio_c_out
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Protocols advertised by server: "

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

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

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