	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_alpn_select
_on_alpn_select:                        ## @on_alpn_select
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SSL_TLSEXT_ERR_NOACK@GOTPCREL(%rip), %rax
	cmpq	$0, (%r9)
	je	LBB0_11
## %bb.1:
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%r8d, %r14d
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	addq	%rcx, %r14
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r9, %rbx
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	shlq	$4, %rax
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	leaq	(%r9,%rax), %rbx
	cmpq	$0, (%r9,%rax)
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	je	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testl	%r8d, %r8d
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	shlq	$4, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %r15
	addq	$8, %r15
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=2
	addq	%r12, %r13
	cmpq	%r14, %r13
	je	LBB0_2
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13), %r12d
	incq	%r13
	movq	%r14, %rax
	subq	%r13, %rax
	cmpq	%r12, %rax
	jb	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpq	%r12, (%rbx)
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r15), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.9:
	movq	(%r15), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movb	(%rbx), %al
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx)
	movq	_SSL_TLSEXT_ERR_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_SSL_TLSEXT_ERR_NOACK@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_TLSEXT_ERR_NOACK,4,2       ## @SSL_TLSEXT_ERR_NOACK
	.comm	_SSL_TLSEXT_ERR_OK,4,2          ## @SSL_TLSEXT_ERR_OK
	.no_dead_strip	_on_alpn_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_alpn_select
_on_alpn_select:                        ; @on_alpn_select
	.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
	ldr	x8, [x5]
	cbz	x8, LBB0_10
; %bb.1:
	mov	x20, x5
	mov	x21, x4
	mov	x23, x3
	stp	x1, x2, [sp]                    ; 16-byte Folded Spill
	mov	x27, #0
Lloh0:
	adrp	x26, _SSL_TLSEXT_ERR_NOACK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SSL_TLSEXT_ERR_NOACK@GOTPAGEOFF]
	mov	x28, x5
	add	x19, x3, w4, uxtw
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	add	x28, x20, x27, lsl #4
	ldr	x8, [x28]
	cbz	x8, LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cbz	w21, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x20, x27, lsl #4
	add	x22, x8, #8
	mov	x24, x23
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x24, x24, x25
	cmp	x24, x19
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w25, [x24], #1
	sub	x8, x19, x24
	cmp	x8, x25
	b.lo	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x28]
	cmp	x8, x25
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x1, [x22]
	mov	x0, x24
	mov	x2, x25
	bl	_memcmp
	cbnz	x0, LBB0_5
; %bb.9:
	ldr	x8, [x22]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	x8, [x9]
	ldr	x8, [x28]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	strb	w8, [x9]
Lloh2:
	adrp	x26, _SSL_TLSEXT_ERR_OK@GOTPAGE
Lloh3:
	ldr	x26, [x26, _SSL_TLSEXT_ERR_OK@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh4:
	adrp	x26, _SSL_TLSEXT_ERR_NOACK@GOTPAGE
Lloh5:
	ldr	x26, [x26, _SSL_TLSEXT_ERR_NOACK@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x26]
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_TLSEXT_ERR_NOACK,4,2       ; @SSL_TLSEXT_ERR_NOACK
	.comm	_SSL_TLSEXT_ERR_OK,4,2          ; @SSL_TLSEXT_ERR_OK
	.no_dead_strip	_on_alpn_select
.subsections_via_symbols
