	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_do_change_cipher_spec     ## -- Begin function ssl3_do_change_cipher_spec
	.p2align	4, 0x90
_ssl3_do_change_cipher_spec:            ## @ssl3_do_change_cipher_spec
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	jne	LBB0_2
## %bb.1:
	movq	_SSL3_CHANGE_CIPHER_CLIENT_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_SSL3_CHANGE_CIPHER_SERVER_READ@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r14d
	cmpq	$0, 16(%rbx)
	je	LBB0_5
LBB0_4:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	*(%rax)
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	jmp	LBB0_11
LBB0_5:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.7:
	movl	8(%rbx), %ecx
	movl	%ecx, 8(%rax)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_10
LBB0_9:
	movq	_SSL_F_SSL3_DO_CHANGE_CIPHER_SPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_CCS_RECEIVED_EARLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_CHANGE_CIPHER_SERVER_READ,4,2 ## @SSL3_CHANGE_CIPHER_SERVER_READ
	.comm	_SSL3_CHANGE_CIPHER_CLIENT_READ,4,2 ## @SSL3_CHANGE_CIPHER_CLIENT_READ
	.comm	_SSL_F_SSL3_DO_CHANGE_CIPHER_SPEC,4,2 ## @SSL_F_SSL3_DO_CHANGE_CIPHER_SPEC
	.comm	_SSL_R_CCS_RECEIVED_EARLY,4,2   ## @SSL_R_CCS_RECEIVED_EARLY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_do_change_cipher_spec     ; -- Begin function ssl3_do_change_cipher_spec
	.p2align	2
_ssl3_do_change_cipher_spec:            ; @ssl3_do_change_cipher_spec
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #32]
Lloh0:
	adrp	x9, _SSL3_CHANGE_CIPHER_CLIENT_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL3_CHANGE_CIPHER_CLIENT_READ@GOTPAGEOFF]
Lloh2:
	adrp	x10, _SSL3_CHANGE_CIPHER_SERVER_READ@GOTPAGE
Lloh3:
	ldr	x10, [x10, _SSL3_CHANGE_CIPHER_SERVER_READ@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w20, [x8]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
LBB0_1:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_6
LBB0_2:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x9, [x8]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	w9, [x19, #8]
	str	w9, [x8, #8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	cbnz	w0, LBB0_1
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _SSL_F_SSL3_DO_CHANGE_CIPHER_SPEC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SSL_F_SSL3_DO_CHANGE_CIPHER_SPEC@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _SSL_R_CCS_RECEIVED_EARLY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SSL_R_CCS_RECEIVED_EARLY@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_CHANGE_CIPHER_SERVER_READ,4,2 ; @SSL3_CHANGE_CIPHER_SERVER_READ
	.comm	_SSL3_CHANGE_CIPHER_CLIENT_READ,4,2 ; @SSL3_CHANGE_CIPHER_CLIENT_READ
	.comm	_SSL_F_SSL3_DO_CHANGE_CIPHER_SPEC,4,2 ; @SSL_F_SSL3_DO_CHANGE_CIPHER_SPEC
	.comm	_SSL_R_CCS_RECEIVED_EARLY,4,2   ; @SSL_R_CCS_RECEIVED_EARLY
.subsections_via_symbols
