	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_ccs
_validate_ccs:                          ## @validate_ccs
	.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
	leaq	-32(%rbp), %rsi
	callq	_BIO_get_mem_data
	movq	-32(%rbp), %rsi
	leaq	-24(%rbp), %rdi
	movq	%rax, %rdx
	callq	_PACKET_buf_init
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_PACKET_get_1
	testl	%eax, %eax
	je	LBB0_15
## %bb.2:
	movl	-20(%rbp), %eax
	movq	_SSL3_RT_CHANGE_CIPHER_SPEC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.3:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	je	LBB0_15
## %bb.4:
	movl	-20(%rbp), %eax
	movq	_DTLS1_BAD_VER@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_15
## %bb.5:
	movq	_DTLS1_RT_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$-3, %rsi
	leaq	-24(%rbp), %rdi
	callq	_PACKET_forward
	testl	%eax, %eax
	je	LBB0_15
## %bb.6:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_PACKET_get_1
	testl	%eax, %eax
	je	LBB0_15
## %bb.7:
	movl	-20(%rbp), %eax
	movq	_SSL3_MT_CCS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.8:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	je	LBB0_15
## %bb.9:
	cmpl	$2, -20(%rbp)
	jne	LBB0_15
## %bb.10:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_PACKET_get_1
	testl	%eax, %eax
	je	LBB0_15
## %bb.11:
	movl	-20(%rbp), %eax
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.12:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	movl	-20(%rbp), %eax
	cmpl	(%r14), %eax
	jne	LBB0_15
## %bb.14:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	setne	%al
	cmpl	$1, -20(%rbp)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_RT_CHANGE_CIPHER_SPEC,4,2 ## @SSL3_RT_CHANGE_CIPHER_SPEC
	.comm	_DTLS1_BAD_VER,4,2              ## @DTLS1_BAD_VER
	.comm	_DTLS1_RT_HEADER_LENGTH,8,3     ## @DTLS1_RT_HEADER_LENGTH
	.comm	_SSL3_MT_CCS,4,2                ## @SSL3_MT_CCS
	.comm	_SSL3_RT_HANDSHAKE,4,2          ## @SSL3_RT_HANDSHAKE
	.no_dead_strip	_validate_ccs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_ccs
_validate_ccs:                          ; @validate_ccs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x1, sp, #16
	bl	_BIO_get_mem_data
	mov	x2, x0
	ldr	x1, [sp, #16]
	sub	x0, x29, #20
	bl	_PACKET_buf_init
	cbz	w0, LBB0_16
; %bb.1:
	sub	x0, x29, #20
	add	x1, sp, #12
	bl	_PACKET_get_1
	cbz	w0, LBB0_16
; %bb.2:
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _SSL3_RT_CHANGE_CIPHER_SPEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL3_RT_CHANGE_CIPHER_SPEC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.3:
	sub	x0, x29, #20
	add	x1, sp, #12
	bl	_PACKET_get_net_2
	cbz	w0, LBB0_16
; %bb.4:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x19, _DTLS1_BAD_VER@GOTPAGE
Lloh4:
	ldr	x19, [x19, _DTLS1_BAD_VER@GOTPAGEOFF]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.5:
Lloh5:
	adrp	x8, _DTLS1_RT_HEADER_LENGTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DTLS1_RT_HEADER_LENGTH@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	sub	x1, x8, #3
	sub	x0, x29, #20
	bl	_PACKET_forward
	cbz	w0, LBB0_16
; %bb.6:
	sub	x0, x29, #20
	add	x1, sp, #12
	bl	_PACKET_get_1
	cbz	w0, LBB0_16
; %bb.7:
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x9, _SSL3_MT_CCS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SSL3_MT_CCS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.8:
	sub	x0, x29, #20
	add	x1, sp, #12
	bl	_PACKET_get_net_2
	mov	x8, x0
	mov	w0, #0
	cbz	w8, LBB0_16
; %bb.9:
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.ne	LBB0_16
; %bb.10:
	sub	x0, x29, #20
	add	x1, sp, #12
	bl	_PACKET_get_1
	cbz	w0, LBB0_16
; %bb.11:
	ldr	w8, [sp, #12]
Lloh11:
	adrp	x9, _SSL3_RT_HANDSHAKE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SSL3_RT_HANDSHAKE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.12:
	sub	x0, x29, #20
	add	x1, sp, #12
	bl	_PACKET_get_net_2
	cbz	w0, LBB0_16
; %bb.13:
	ldr	w8, [sp, #12]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.14:
	sub	x0, x29, #20
	add	x1, sp, #12
	bl	_PACKET_get_net_2
	cmp	w0, #0
	ldr	w8, [sp, #12]
	ccmp	w8, #1, #0, ne
	cset	w0, eq
	b	LBB0_16
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_RT_CHANGE_CIPHER_SPEC,4,2 ; @SSL3_RT_CHANGE_CIPHER_SPEC
	.comm	_DTLS1_BAD_VER,4,2              ; @DTLS1_BAD_VER
	.comm	_DTLS1_RT_HEADER_LENGTH,8,3     ; @DTLS1_RT_HEADER_LENGTH
	.comm	_SSL3_MT_CCS,4,2                ; @SSL3_MT_CCS
	.comm	_SSL3_RT_HANDSHAKE,4,2          ; @SSL3_RT_HANDSHAKE
	.no_dead_strip	_validate_ccs
.subsections_via_symbols
