	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_n_ssl3_mac                     ## -- Begin function n_ssl3_mac
	.p2align	4, 0x90
_n_ssl3_mac:                            ## @n_ssl3_mac
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	movq	%rsi, -168(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	24(%rbx), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	16(%rbx), %rdi
	callq	_RECORD_LAYER_get_write_sequence
	movq	%rax, %r14
	leaq	40(%rbx), %rax
	jmp	LBB0_3
LBB0_2:
	movq	32(%rbx), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	16(%rbx), %rdi
	callq	_RECORD_LAYER_get_read_sequence
	movq	%rax, %r14
	leaq	8(%rbx), %rax
LBB0_3:
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_EVP_MD_CTX_size
	testl	%eax, %eax
	js	LBB0_24
## %bb.4:
	movl	%eax, %r12d
	movq	%r14, -160(%rbp)                ## 8-byte Spill
	movl	$48, %eax
	xorl	%edx, %edx
	divl	%r12d
                                        ## kill: def $edx killed $edx def $rdx
	movl	$48, %r14d
	subq	%rdx, %r14
	movl	%r12d, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	%rax, -184(%rbp)
	testl	%r13d, %r13d
	jne	LBB0_9
## %bb.5:
	movl	(%rbx), %edi
	callq	_EVP_CIPHER_CTX_mode
	movq	_EVP_CIPH_CBC_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.6:
	movq	%r15, %rdi
	callq	_ssl3_cbc_record_digest_supported
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	-128(%rbp), %rdi
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcpy
	movq	-152(%rbp), %r13                ## 8-byte Reload
	leaq	-128(,%r13), %rdi
	addq	%rbp, %rdi
	movq	_ssl3_pad_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%r14d, %edx
	callq	_memcpy
	addq	%r13, %r14
	leaq	(%r14,%rbp), %rdi
	addq	$-128, %rdi
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	movb	(%rdx), %al
	movb	%al, -120(%rbp,%r14)
	movl	4(%rdx), %eax
	movl	%eax, %ecx
	rolw	$8, %cx
	addl	%eax, %r12d
	movw	%cx, -119(%rbp,%r14)
	movq	8(%rdx), %r8
	movl	16(%rdx), %eax
	leaq	-184(%rbp), %rdx
	movq	%r15, %rdi
	movq	-176(%rbp), %rsi                ## 8-byte Reload
	leaq	-128(%rbp), %rcx
	movl	%r12d, %r9d
	pushq	$1
	pushq	%r13
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	callq	_ssl3_cbc_digest_record
	addq	$32, %rsp
	testq	%rax, %rax
	jle	LBB0_24
LBB0_8:
	movq	%rbx, %rdi
	callq	_ssl3_record_sequence_update
	movl	$1, %r12d
	jmp	LBB0_26
LBB0_9:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	testq	%rax, %rax
	je	LBB0_26
## %bb.10:
	movq	%rax, %r13
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movb	(%rcx), %al
	movb	%al, -129(%rbp)
	movl	4(%rcx), %edi
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_s2n
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_EVP_MD_CTX_copy_ex
	testq	%rax, %rax
	jle	LBB0_25
## %bb.11:
	movq	%r13, %rdi
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_25
## %bb.12:
	movq	_ssl3_pad_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_25
## %bb.13:
	movl	$8, %edx
	movq	%r13, %rdi
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_25
## %bb.14:
	leaq	-129(%rbp), %rsi
	movl	$1, %edx
	movq	%r13, %rdi
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_25
## %bb.15:
	movl	$2, %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_25
## %bb.16:
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rsi
	movslq	4(%rax), %rdx
	movq	%r13, %rdi
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_25
## %bb.17:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestFinal_ex
	testq	%rax, %rax
	jle	LBB0_25
## %bb.18:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_EVP_MD_CTX_copy_ex
	testq	%rax, %rax
	jle	LBB0_25
## %bb.19:
	movq	%r13, %rdi
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_25
## %bb.20:
	movq	_ssl3_pad_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_25
## %bb.21:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_25
## %bb.22:
	leaq	-128(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_EVP_DigestFinal_ex
	testq	%rax, %rax
	jle	LBB0_25
## %bb.23:
	movq	%r13, %rdi
	callq	_EVP_MD_CTX_free
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_8
LBB0_24:
	xorl	%r12d, %r12d
	jmp	LBB0_26
LBB0_25:
	movq	%r13, %rdi
	callq	_EVP_MD_CTX_free
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.27:
	movl	%r12d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_CIPH_CBC_MODE,8,3          ## @EVP_CIPH_CBC_MODE
	.comm	_ssl3_pad_1,8,3                 ## @ssl3_pad_1
	.comm	_ssl3_pad_2,8,3                 ## @ssl3_pad_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_n_ssl3_mac                     ; -- Begin function n_ssl3_mac
	.p2align	2
_n_ssl3_mac:                            ; @n_ssl3_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x28, x3
	mov	x20, x2
	mov	x23, x1
	mov	x27, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cbz	w3, LBB0_2
; %bb.1:
	ldr	x21, [x27, #24]
	add	x0, x27, #16
	bl	_RECORD_LAYER_get_write_sequence
	mov	x19, x0
	add	x8, x27, #40
	b	LBB0_3
LBB0_2:
	ldr	x21, [x27, #32]
	add	x0, x27, #16
	bl	_RECORD_LAYER_get_read_sequence
	mov	x19, x0
	add	x8, x27, #8
LBB0_3:
	ldr	x24, [x8]
	mov	x0, x24
	bl	_EVP_MD_CTX_size
	tbnz	w0, #31, LBB0_25
; %bb.4:
	mov	x26, x0
	mov	w22, w0
	str	x22, [sp, #16]
	mov	w8, #48
	udiv	w9, w8, w0
	msub	w9, w9, w0, w8
	sub	x25, x8, x9
	cbnz	w28, LBB0_9
; %bb.5:
	ldr	w0, [x27]
	bl	_EVP_CIPHER_CTX_mode
Lloh3:
	adrp	x8, _EVP_CIPH_CBC_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_CIPH_CBC_MODE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x24
	bl	_ssl3_cbc_record_digest_supported
	cbz	x0, LBB0_9
; %bb.7:
	add	x27, sp, #28
	add	x0, sp, #28
	mov	x1, x21
	mov	x2, x26
	bl	_memcpy
	add	x0, x27, x22
Lloh6:
	adrp	x8, _ssl3_pad_1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ssl3_pad_1@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	mov	x2, x25
	bl	_memcpy
	add	x8, x25, x22
	add	x25, x27, x8
	mov	x0, x25
	mov	x1, x19
	mov	w2, #8
	bl	_memcpy
	ldrb	w8, [x23]
	strb	w8, [x25, #8]
	ldr	w8, [x23, #4]
	rev	w9, w8
	lsr	w9, w9, #16
	sturh	w9, [x25, #9]
	ldr	x4, [x23, #8]
	add	w5, w8, w26
	ldr	w6, [x23, #16]
	mov	w8, #1
	str	w8, [sp, #8]
	str	x22, [sp]
	add	x2, sp, #16
	add	x3, sp, #28
	mov	x0, x24
	mov	x1, x20
	mov	x7, x21
	bl	_ssl3_cbc_digest_record
	cmp	x0, #1
	b.lt	LBB0_25
LBB0_8:
	mov	x0, x19
	bl	_ssl3_record_sequence_update
	mov	w0, #1
	b	LBB0_26
LBB0_9:
	bl	_EVP_MD_CTX_new
	cbz	x0, LBB0_25
; %bb.10:
	mov	x26, x0
	ldrb	w8, [x23]
	strb	w8, [sp, #27]
	ldr	w0, [x23, #4]
	mov	x1, x20
	bl	_s2n
	mov	x0, x26
	mov	x1, x24
	bl	_EVP_MD_CTX_copy_ex
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.11:
	mov	x0, x26
	mov	x1, x21
	mov	x2, x22
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.12:
Lloh9:
	adrp	x8, _ssl3_pad_1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ssl3_pad_1@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
	mov	x0, x26
	mov	x2, x25
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.13:
	mov	x0, x26
	mov	x1, x19
	mov	w2, #8
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.14:
	add	x1, sp, #27
	mov	x0, x26
	mov	w2, #1
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.15:
	mov	x0, x26
	mov	x1, x20
	mov	w2, #2
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.16:
	ldr	x1, [x23, #8]
	ldrsw	x2, [x23, #4]
	mov	x0, x26
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.17:
	mov	x0, x26
	mov	x1, x20
	mov	x2, #0
	bl	_EVP_DigestFinal_ex
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.18:
	mov	x0, x26
	mov	x1, x24
	bl	_EVP_MD_CTX_copy_ex
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.19:
	mov	x0, x26
	mov	x1, x21
	mov	x2, x22
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.20:
Lloh12:
	adrp	x8, _ssl3_pad_2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ssl3_pad_2@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x8]
	mov	x0, x26
	mov	x2, x25
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.21:
	mov	x0, x26
	mov	x1, x20
	mov	x2, x22
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.22:
	add	x2, sp, #28
	mov	x0, x26
	mov	x1, x20
	bl	_EVP_DigestFinal_ex
	cmp	x0, #0
	b.le	LBB0_24
; %bb.23:
	mov	x0, x26
	bl	_EVP_MD_CTX_free
	b	LBB0_8
LBB0_24:
	mov	x0, x26
	bl	_EVP_MD_CTX_free
LBB0_25:
	mov	w0, #0
LBB0_26:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_CIPH_CBC_MODE,8,3          ; @EVP_CIPH_CBC_MODE
	.comm	_ssl3_pad_1,8,3                 ; @ssl3_pad_1
	.comm	_ssl3_pad_2,8,3                 ; @ssl3_pad_2
.subsections_via_symbols
