	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function full_client_hello_callback
_full_client_hello_callback:            ## @full_client_hello_callback
	.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	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movw	$-256, -68(%rbp)
	movl	$750820608, -72(%rbp)           ## imm = 0x2CC09D00
	movq	l___const.full_client_hello_callback.expected_extensions+16(%rip), %rax
	movq	%rax, -32(%rbp)
	movaps	l___const.full_client_hello_callback.expected_extensions(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movl	(%rdx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rdx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	-64(%rbp), %rsi
	callq	_SSL_client_hello_get0_ciphers
	movq	%rax, -56(%rbp)
	movq	-64(%rbp), %rdi
	leaq	-72(%rbp), %rdx
	movq	%rax, %rsi
	movl	$6, %ecx
	callq	_TEST_mem_eq
	movq	_SSL_CLIENT_HELLO_ERROR@GOTPCREL(%rip), %r14
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_SSL_client_hello_get0_compression_methods
	movl	%eax, %edi
	movl	$1, %esi
	callq	_TEST_size_t_eq
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	movq	-64(%rbp), %rax
	movzbl	(%rax), %edi
	xorl	%esi, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	leaq	-80(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_SSL_client_hello_get1_extensions_present
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	movq	-56(%rbp), %rbx
	leaq	-48(%rbp), %rdi
	callq	_OSSL_NELEM
	cmpq	%rax, %rbx
	jne	LBB0_9
## %bb.7:
	movq	-80(%rbp), %rdi
	movq	-56(%rbp), %rdx
	shlq	$2, %rdx
	leaq	-48(%rbp), %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_9:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_SSL_CLIENT_HELLO_ERROR@GOTPCREL(%rip), %r14
LBB0_10:
	movq	-80(%rbp), %rdi
	callq	_OPENSSL_free
	jmp	LBB0_11
LBB0_1:
	movq	_SSL_CLIENT_HELLO_RETRY@GOTPCREL(%rip), %r14
LBB0_11:
	movl	(%r14), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_SSL_CLIENT_HELLO_SUCCESS@GOTPCREL(%rip), %r14
	jmp	LBB0_10
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
l___const.full_client_hello_callback.expected_ciphers: ## @__const.full_client_hello_callback.expected_ciphers
	.ascii	"\000\235\300,\000\377"

	.p2align	4                               ## @__const.full_client_hello_callback.expected_extensions
l___const.full_client_hello_callback.expected_extensions:
	.long	11                              ## 0xb
	.long	10                              ## 0xa
	.long	35                              ## 0x23
	.long	22                              ## 0x16
	.long	23                              ## 0x17
	.long	13                              ## 0xd

	.comm	_SSL_CLIENT_HELLO_RETRY,4,2     ## @SSL_CLIENT_HELLO_RETRY
	.comm	_SSL_CLIENT_HELLO_ERROR,4,2     ## @SSL_CLIENT_HELLO_ERROR
	.comm	_SSL_CLIENT_HELLO_SUCCESS,4,2   ## @SSL_CLIENT_HELLO_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"ClientHello callback expected extensions mismatch"

	.no_dead_strip	_full_client_hello_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function full_client_hello_callback
_full_client_hello_callback:            ; @full_client_hello_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	w8, #65280
	strh	w8, [sp, #12]
	mov	w8, #40192
	movk	w8, #11456, lsl #16
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, l___const.full_client_hello_callback.expected_extensions@PAGE
Lloh4:
	add	x8, x8, l___const.full_client_hello_callback.expected_extensions@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #32]
	ldr	x8, [x8, #16]
	str	x8, [sp, #48]
	ldr	w8, [x2]
	add	w9, w8, #1
	str	w9, [x2]
	cbz	w8, LBB0_10
; %bb.1:
	mov	x19, x0
	add	x1, sp, #24
	bl	_SSL_client_hello_get0_ciphers
	mov	x1, x0
	str	x0, [sp]
	ldr	x0, [sp, #24]
	add	x2, sp, #8
	mov	w3, #6
	bl	_TEST_mem_eq
	cbz	w0, LBB0_9
; %bb.2:
	add	x1, sp, #24
	mov	x0, x19
	bl	_SSL_client_hello_get0_compression_methods
	mov	w1, #1
	bl	_TEST_size_t_eq
	cbz	w0, LBB0_9
; %bb.3:
	ldr	x8, [sp, #24]
	ldrb	w0, [x8]
	mov	w1, #0
	bl	_TEST_int_eq
	cbz	w0, LBB0_9
; %bb.4:
	add	x1, sp, #16
	mov	x2, sp
	mov	x0, x19
	bl	_SSL_client_hello_get1_extensions_present
	cbz	w0, LBB0_9
; %bb.5:
	ldr	x19, [sp]
	add	x0, sp, #32
	bl	_OSSL_NELEM
	cmp	x19, x0
	b.ne	LBB0_7
; %bb.6:
	ldr	x0, [sp, #16]
	ldr	x8, [sp]
	lsl	x2, x8, #2
	add	x1, sp, #32
	bl	_memcmp
	cbz	x0, LBB0_13
LBB0_7:
Lloh5:
	adrp	x0, l_str@PAGE
Lloh6:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh7:
	adrp	x19, _SSL_CLIENT_HELLO_ERROR@GOTPAGE
Lloh8:
	ldr	x19, [x19, _SSL_CLIENT_HELLO_ERROR@GOTPAGEOFF]
LBB0_8:
	ldr	x0, [sp, #16]
	bl	_OPENSSL_free
	b	LBB0_11
LBB0_9:
Lloh9:
	adrp	x19, _SSL_CLIENT_HELLO_ERROR@GOTPAGE
Lloh10:
	ldr	x19, [x19, _SSL_CLIENT_HELLO_ERROR@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x19, _SSL_CLIENT_HELLO_RETRY@GOTPAGE
Lloh12:
	ldr	x19, [x19, _SSL_CLIENT_HELLO_RETRY@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x19]
	ldur	x8, [x29, #-24]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
Lloh16:
	adrp	x19, _SSL_CLIENT_HELLO_SUCCESS@GOTPAGE
Lloh17:
	ldr	x19, [x19, _SSL_CLIENT_HELLO_SUCCESS@GOTPAGEOFF]
	b	LBB0_8
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.full_client_hello_callback.expected_ciphers: ; @__const.full_client_hello_callback.expected_ciphers
	.ascii	"\000\235\300,\000\377"

	.p2align	2                               ; @__const.full_client_hello_callback.expected_extensions
l___const.full_client_hello_callback.expected_extensions:
	.long	11                              ; 0xb
	.long	10                              ; 0xa
	.long	35                              ; 0x23
	.long	22                              ; 0x16
	.long	23                              ; 0x17
	.long	13                              ; 0xd

	.comm	_SSL_CLIENT_HELLO_RETRY,4,2     ; @SSL_CLIENT_HELLO_RETRY
	.comm	_SSL_CLIENT_HELLO_ERROR,4,2     ; @SSL_CLIENT_HELLO_ERROR
	.comm	_SSL_CLIENT_HELLO_SUCCESS,4,2   ; @SSL_CLIENT_HELLO_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"ClientHello callback expected extensions mismatch"

	.no_dead_strip	_full_client_hello_callback
.subsections_via_symbols
