	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls1_mac                       ## -- Begin function tls1_mac
	.p2align	4, 0x90
_tls1_mac:                              ## @tls1_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %r15d
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	_SSL_MAC_FLAG_WRITE_MAC_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	20(%rbx), %rdi
	callq	_RECORD_LAYER_get_write_sequence
	movq	%rax, %r13
	leaq	32(%rbx), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_SSL_MAC_FLAG_READ_MAC_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	20(%rbx), %rdi
	callq	_RECORD_LAYER_get_read_sequence
	movq	%rax, %r13
	leaq	24(%rbx), %rax
LBB0_3:
	movq	(%rax), %rdi
	movq	%rdi, %r12
	callq	_EVP_MD_CTX_size
	movl	%eax, %ebx
	movl	%eax, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_36
## %bb.4:
	movslq	%ebx, %rbx
	movq	%rbx, -120(%rbp)
	testl	%r15d, %r14d
	je	LBB0_10
## %bb.5:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
LBB0_6:
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_SSL_IS_DTLS
	testq	%rax, %rax
	movq	-128(%rbp), %r15                ## 8-byte Reload
	je	LBB0_13
## %bb.7:
	movq	%r12, %rax
	movq	%rbx, %r12
	leaq	20(%rax), %rdi
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.8:
	callq	_DTLS_RECORD_LAYER_get_w_epoch
	jmp	LBB0_16
LBB0_10:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_EVP_MD_CTX_copy
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	jmp	LBB0_6
LBB0_13:
	leaq	-61(%rbp), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_17
LBB0_14:
	movq	%r14, %rdi
	callq	_EVP_MD_CTX_free
	jmp	LBB0_37
LBB0_15:
	callq	_DTLS_RECORD_LAYER_get_r_epoch
LBB0_16:
	leaq	-69(%rbp), %rbx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_s2n
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	2(%rax), %rsi
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_memcpy
	leaq	-61(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	%r12, %rbx
	movq	-112(%rbp), %r12                ## 8-byte Reload
LBB0_17:
	movb	(%r15), %al
	movb	%al, -53(%rbp)
	movzwl	4(%r12), %eax
	rolw	$8, %ax
	movw	%ax, -52(%rbp)
	movzwl	4(%r15), %eax
	rolw	$8, %ax
	movw	%ax, -50(%rbp)
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_22
## %bb.18:
	movq	%r12, %rdi
	callq	_SSL_READ_ETM
	testl	%eax, %eax
	jne	LBB0_22
## %bb.19:
	movl	16(%r12), %edi
	callq	_EVP_CIPHER_CTX_mode
	movq	_EVP_CIPH_CBC_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.20:
	movq	%rbx, %rdi
	callq	_ssl3_cbc_record_digest_supported
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	8(%r15), %r8
	movslq	4(%r15), %rax
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	addq	%rax, %r9
	movl	24(%r15), %r10d
	movq	8(%r12), %rcx
	movl	(%rcx), %eax
	movl	4(%rcx), %r15d
	leaq	-120(%rbp), %rdx
	leaq	-61(%rbp), %rcx
	movq	%rbx, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	pushq	$0
	pushq	%rax
	pushq	%r15
	pushq	%r10
	callq	_ssl3_cbc_digest_record
	addq	$32, %rsp
	jmp	LBB0_25
LBB0_22:
	leaq	-61(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$13, %edx
	callq	_EVP_DigestSignUpdate
	testq	%rax, %rax
	jle	LBB0_35
## %bb.23:
	movq	8(%r15), %rsi
	movl	4(%r15), %edx
	movq	%rbx, %rdi
	callq	_EVP_DigestSignUpdate
	testq	%rax, %rax
	jle	LBB0_35
## %bb.24:
	leaq	-120(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_EVP_DigestSignFinal
LBB0_25:
	testq	%rax, %rax
	jle	LBB0_35
## %bb.26:
	movq	%r14, %rdi
	callq	_EVP_MD_CTX_free
	movq	%r12, %rdi
	callq	_SSL_IS_DTLS
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_37
## %bb.27:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	incb	7(%rax)
	jne	LBB0_37
## %bb.28:
	incb	6(%rax)
	jne	LBB0_37
## %bb.29:
	incb	5(%rax)
	jne	LBB0_37
## %bb.30:
	incb	4(%rax)
	jne	LBB0_37
## %bb.31:
	incb	3(%rax)
	jne	LBB0_37
## %bb.32:
	incb	2(%rax)
	jne	LBB0_37
## %bb.33:
	incb	1(%rax)
	jne	LBB0_37
## %bb.34:
	incb	(%rax)
	jmp	LBB0_37
LBB0_35:
	movq	%r14, %rdi
	callq	_EVP_MD_CTX_free
LBB0_36:
	xorl	%r15d, %r15d
LBB0_37:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_39
## %bb.38:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_MAC_FLAG_WRITE_MAC_STREAM,4,2 ## @SSL_MAC_FLAG_WRITE_MAC_STREAM
	.comm	_SSL_MAC_FLAG_READ_MAC_STREAM,4,2 ## @SSL_MAC_FLAG_READ_MAC_STREAM
	.comm	_EVP_CIPH_CBC_MODE,8,3          ## @EVP_CIPH_CBC_MODE
	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls1_mac                       ; -- Begin function tls1_mac
	.p2align	2
_tls1_mac:                              ; @tls1_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x25, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	w27, [x0]
	cbz	w3, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SSL_MAC_FLAG_WRITE_MAC_STREAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_MAC_FLAG_WRITE_MAC_STREAM@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	add	x0, x20, #20
	bl	_RECORD_LAYER_get_write_sequence
	mov	x19, x0
	add	x8, x20, #32
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _SSL_MAC_FLAG_READ_MAC_STREAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_MAC_FLAG_READ_MAC_STREAM@GOTPAGEOFF]
Lloh8:
	ldr	w28, [x8]
	add	x0, x20, #20
	bl	_RECORD_LAYER_get_read_sequence
	mov	x19, x0
	add	x8, x20, #24
LBB0_3:
	ldr	x24, [x8]
	mov	x0, x24
	bl	_EVP_MD_CTX_size
	mov	x23, x0
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_ossl_assert
	cbz	w0, LBB0_35
; %bb.4:
	sxtw	x26, w23
	str	x26, [sp, #8]
	tst	w28, w27
	b.eq	LBB0_9
; %bb.5:
	mov	x23, #0
LBB0_6:
	mov	x0, x20
	bl	_SSL_IS_DTLS
	cbz	x0, LBB0_12
; %bb.7:
	add	x0, x20, #20
	cbz	w25, LBB0_13
; %bb.8:
	bl	_DTLS_RECORD_LAYER_get_w_epoch
	b	LBB0_14
LBB0_9:
	bl	_EVP_MD_CTX_new
	mov	x23, x0
	cbz	x0, LBB0_34
; %bb.10:
	mov	x0, x23
	mov	x1, x24
	bl	_EVP_MD_CTX_copy
	cbz	w0, LBB0_34
; %bb.11:
	mov	x24, x23
	b	LBB0_6
LBB0_12:
	add	x0, sp, #27
	mov	x1, x19
	b	LBB0_15
LBB0_13:
	bl	_DTLS_RECORD_LAYER_get_r_epoch
LBB0_14:
	add	x1, sp, #19
	bl	_s2n
	add	x1, x19, #2
	add	x0, sp, #19
	mov	w2, #6
	bl	_memcpy
	add	x0, sp, #27
	add	x1, sp, #19
LBB0_15:
	mov	w2, #8
	bl	_memcpy
	ldrb	w8, [x22]
	strb	w8, [sp, #35]
	ldrh	w8, [x20, #4]
	rev	w8, w8
	lsr	w8, w8, #16
	sturh	w8, [sp, #36]
	ldrh	w8, [x22, #4]
	rev	w8, w8
	lsr	w8, w8, #16
	sturh	w8, [sp, #38]
	cbnz	w25, LBB0_20
; %bb.16:
	mov	x0, x20
	bl	_SSL_READ_ETM
	cbnz	w0, LBB0_20
; %bb.17:
	ldr	w0, [x20, #16]
	bl	_EVP_CIPHER_CTX_mode
Lloh9:
	adrp	x8, _EVP_CIPH_CBC_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EVP_CIPH_CBC_MODE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.18:
	mov	x0, x24
	bl	_ssl3_cbc_record_digest_supported
	cbz	x0, LBB0_20
; %bb.19:
	ldr	x4, [x22, #8]
	ldrsw	x8, [x22, #4]
	add	x5, x26, x8
	ldr	w6, [x22, #24]
	ldr	x8, [x20, #8]
	ldp	w8, w7, [x8]
	stp	w8, wzr, [sp]
	add	x2, sp, #8
	add	x3, sp, #27
	mov	x0, x24
	mov	x1, x21
	bl	_ssl3_cbc_digest_record
	b	LBB0_23
LBB0_20:
	add	x1, sp, #27
	mov	x0, x24
	mov	w2, #13
	bl	_EVP_DigestSignUpdate
	cmp	x0, #1
	b.lt	LBB0_34
; %bb.21:
	ldr	x1, [x22, #8]
	ldr	w2, [x22, #4]
	mov	x0, x24
	bl	_EVP_DigestSignUpdate
	cmp	x0, #1
	b.lt	LBB0_34
; %bb.22:
	add	x2, sp, #8
	mov	x0, x24
	mov	x1, x21
	bl	_EVP_DigestSignFinal
LBB0_23:
	cmp	x0, #0
	b.le	LBB0_34
; %bb.24:
	mov	x0, x23
	bl	_EVP_MD_CTX_free
	mov	x0, x20
	bl	_SSL_IS_DTLS
	cbnz	x0, LBB0_33
; %bb.25:
	ldrb	w8, [x19, #7]
	add	w8, w8, #1
	strb	w8, [x19, #7]
	tbz	w8, #8, LBB0_33
; %bb.26:
	ldrb	w8, [x19, #6]
	add	w8, w8, #1
	strb	w8, [x19, #6]
	tbz	w8, #8, LBB0_33
; %bb.27:
	ldrb	w8, [x19, #5]
	add	w8, w8, #1
	strb	w8, [x19, #5]
	tbz	w8, #8, LBB0_33
; %bb.28:
	ldrb	w8, [x19, #4]
	add	w8, w8, #1
	strb	w8, [x19, #4]
	tbz	w8, #8, LBB0_33
; %bb.29:
	ldrb	w8, [x19, #3]
	add	w8, w8, #1
	strb	w8, [x19, #3]
	tbz	w8, #8, LBB0_33
; %bb.30:
	ldrb	w8, [x19, #2]
	add	w8, w8, #1
	strb	w8, [x19, #2]
	tbz	w8, #8, LBB0_33
; %bb.31:
	ldrb	w8, [x19, #1]
	add	w8, w8, #1
	strb	w8, [x19, #1]
	tbz	w8, #8, LBB0_33
; %bb.32:
	ldrb	w8, [x19]
	add	w8, w8, #1
	strb	w8, [x19]
LBB0_33:
	mov	w0, #1
	b	LBB0_35
LBB0_34:
	mov	x0, x23
	bl	_EVP_MD_CTX_free
	mov	w0, #0
LBB0_35:
	ldr	x8, [sp, #40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.36:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_37:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_MAC_FLAG_WRITE_MAC_STREAM,4,2 ; @SSL_MAC_FLAG_WRITE_MAC_STREAM
	.comm	_SSL_MAC_FLAG_READ_MAC_STREAM,4,2 ; @SSL_MAC_FLAG_READ_MAC_STREAM
	.comm	_EVP_CIPH_CBC_MODE,8,3          ; @EVP_CIPH_CBC_MODE
	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
