	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_digest_cached_records     ## -- Begin function ssl3_digest_cached_records
	.p2align	4, 0x90
_ssl3_digest_cached_records:            ## @ssl3_digest_cached_records
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_1
LBB0_10:
	movl	$1, %r15d
	testl	%r14d, %r14d
	jne	LBB0_12
## %bb.11:
	movq	(%rbx), %rdi
	callq	_BIO_free
	movq	$0, (%rbx)
	jmp	LBB0_12
LBB0_1:
	movq	(%rbx), %rdi
	leaq	-40(%rbp), %rsi
	callq	_BIO_get_mem_data
	testq	%rax, %rax
	jle	LBB0_2
## %bb.4:
	movq	%rax, %r12
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_ssl_handshake_md
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	8(%rbx), %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	8(%rbx), %rdi
	movq	-40(%rbp), %rsi
	movq	%r12, %rdx
	callq	_EVP_DigestUpdate
	testl	%eax, %eax
	jne	LBB0_10
LBB0_9:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_SSL3_DIGEST_CACHED_RECORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_SSL3_DIGEST_CACHED_RECORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_HANDSHAKE_LENGTH@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_5:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_SSL3_DIGEST_CACHED_RECORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
LBB0_12:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_SSL3_DIGEST_CACHED_RECORDS,4,2 ## @SSL_F_SSL3_DIGEST_CACHED_RECORDS
	.comm	_SSL_R_BAD_HANDSHAKE_LENGTH,4,2 ## @SSL_R_BAD_HANDSHAKE_LENGTH
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_digest_cached_records     ; -- Begin function ssl3_digest_cached_records
	.p2align	2
_ssl3_digest_cached_records:            ; @ssl3_digest_cached_records
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
LBB0_1:
	cbnz	w20, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	bl	_BIO_free
	str	xzr, [x19]
LBB0_3:
	mov	w0, #1
	b	LBB0_13
LBB0_4:
	ldr	x0, [x19]
	add	x1, sp, #8
	bl	_BIO_get_mem_data
	cmp	x0, #0
	b.le	LBB0_10
; %bb.5:
	mov	x21, x0
	bl	_EVP_MD_CTX_new
	str	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.6:
	mov	x0, x19
	bl	_ssl_handshake_md
	cbz	x0, LBB0_9
; %bb.7:
	mov	x1, x0
	ldr	x0, [x19, #8]
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	cbz	w0, LBB0_9
; %bb.8:
	ldr	x0, [x19, #8]
	ldr	x1, [sp, #8]
	mov	x2, x21
	bl	_EVP_DigestUpdate
	cbnz	w0, LBB0_1
LBB0_9:
Lloh0:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SSL_F_SSL3_DIGEST_CACHED_RECORDS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_SSL3_DIGEST_CACHED_RECORDS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh8:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _SSL_F_SSL3_DIGEST_CACHED_RECORDS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSL_F_SSL3_DIGEST_CACHED_RECORDS@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _SSL_R_BAD_HANDSHAKE_LENGTH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SSL_R_BAD_HANDSHAKE_LENGTH@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh16:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _SSL_F_SSL3_DIGEST_CACHED_RECORDS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SSL_F_SSL3_DIGEST_CACHED_RECORDS@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_12:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_SSL3_DIGEST_CACHED_RECORDS,4,2 ; @SSL_F_SSL3_DIGEST_CACHED_RECORDS
	.comm	_SSL_R_BAD_HANDSHAKE_LENGTH,4,2 ; @SSL_R_BAD_HANDSHAKE_LENGTH
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
.subsections_via_symbols
