	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ccm_check_tag               ## -- Begin function br_ccm_check_tag
	.p2align	4, 0x90
_br_ccm_check_tag:                      ## @br_ccm_check_tag
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-48(%rbp), %rsi
	callq	_br_ccm_get_tag
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpq	$8, %rax
	jae	LBB0_5
## %bb.3:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_1:
	xorl	%edx, %edx
	jmp	LBB0_19
LBB0_5:
	cmpq	$32, %rax
	jae	LBB0_7
## %bb.6:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_15
LBB0_7:
	movq	%rax, %rcx
	andq	$-32, %rcx
	leaq	-32(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$5, %rsi
	incq	%rsi
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.9:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	pxor	%xmm2, %xmm2
	xorl	%edx, %edx
	pxor	%xmm3, %xmm3
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%r14,%rdx), %xmm4
	movdqu	16(%r14,%rdx), %xmm5
	movdqu	32(%r14,%rdx), %xmm0
	movdqu	48(%r14,%rdx), %xmm1
	pxor	-48(%rbp,%rdx), %xmm4
	por	%xmm2, %xmm4
	pxor	-32(%rbp,%rdx), %xmm5
	por	%xmm3, %xmm5
	pxor	-16(%rbp,%rdx), %xmm0
	pxor	(%rbp,%rdx), %xmm1
	por	%xmm4, %xmm0
	por	%xmm5, %xmm1
	addq	$64, %rdx
	movdqa	%xmm0, %xmm2
	movdqa	%xmm1, %xmm3
	addq	$-2, %rdi
	jne	LBB0_10
## %bb.11:
	testb	$1, %sil
	je	LBB0_13
LBB0_12:
	movdqu	(%r14,%rdx), %xmm2
	movdqu	16(%r14,%rdx), %xmm3
	pxor	-48(%rbp,%rdx), %xmm2
	por	%xmm2, %xmm0
	pxor	-32(%rbp,%rdx), %xmm3
	por	%xmm3, %xmm1
LBB0_13:
	por	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrld	$16, %xmm1
	por	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrlw	$8, %xmm0
	por	%xmm1, %xmm0
	movd	%xmm0, %edx
	cmpq	%rcx, %rax
	je	LBB0_19
## %bb.14:
	testb	$24, %al
	je	LBB0_4
LBB0_15:
	movq	%rcx, %rsi
	movq	%rax, %rcx
	andq	$-8, %rcx
	movzbl	%dl, %edx
	movd	%edx, %xmm0
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rsi), %rdx
	xorq	-48(%rbp,%rsi), %rdx
	movq	%rdx, %xmm1
	por	%xmm1, %xmm0
	addq	$8, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_16
## %bb.17:
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrld	$16, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrlw	$8, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %edx
	jmp	LBB0_18
LBB0_8:
	pxor	%xmm0, %xmm0
	xorl	%edx, %edx
	pxor	%xmm1, %xmm1
	testb	$1, %sil
	jne	LBB0_12
	jmp	LBB0_13
LBB0_4:
	movb	(%r14,%rcx), %bl
	xorb	-48(%rbp,%rcx), %bl
	orb	%bl, %dl
	incq	%rcx
LBB0_18:
	cmpq	%rcx, %rax
	jne	LBB0_4
LBB0_19:
	movzbl	%dl, %edi
	callq	_EQ0
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_21
## %bb.20:
	movzbl	%al, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ccm_check_tag               ; -- Begin function br_ccm_check_tag
	.p2align	2
_br_ccm_check_tag:                      ; @br_ccm_check_tag
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x1, sp, #8
	bl	_br_ccm_get_tag
	cbz	x0, LBB0_3
; %bb.1:
	cmp	x0, #8
	b.hs	LBB0_4
; %bb.2:
	mov	w9, #0
	mov	x8, #0
	b	LBB0_13
LBB0_3:
	mov	w9, #0
	b	LBB0_15
LBB0_4:
	cmp	x0, #64
	b.hs	LBB0_6
; %bb.5:
	mov	w9, #0
	mov	x8, #0
	b	LBB0_10
LBB0_6:
	and	x8, x0, #0xffffffffffffffc0
	add	x9, sp, #8
	add	x9, x9, #32
	add	x10, x19, #32
	movi.2d	v0, #0000000000000000
	mov	x11, x8
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x9, #-32]
	ldp	q6, q7, [x9], #64
	ldp	q16, q17, [x10, #-32]
	ldp	q18, q19, [x10], #64
	eor.16b	v4, v16, v4
	eor.16b	v5, v17, v5
	eor.16b	v6, v18, v6
	eor.16b	v7, v19, v7
	orr.16b	v0, v4, v0
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	subs	x11, x11, #64
	b.ne	LBB0_7
; %bb.8:
	orr.16b	v0, v1, v0
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	umov.b	w9, v0[1]
	umov.b	w10, v0[0]
	umov.b	w11, v0[2]
	orr	w9, w10, w9
	orr	w9, w9, w11
	umov.b	w10, v0[3]
	umov.b	w11, v0[4]
	orr	w9, w9, w10
	orr	w9, w9, w11
	umov.b	w10, v0[5]
	umov.b	w11, v0[6]
	orr	w9, w9, w10
	orr	w9, w9, w11
	umov.b	w10, v0[7]
	orr	w9, w9, w10
	cmp	x0, x8
	b.eq	LBB0_15
; %bb.9:
	tst	x0, #0x38
	b.eq	LBB0_13
LBB0_10:
	mov	x11, x8
	and	x8, x0, #0xfffffffffffffff8
	movi	d0, #0000000000000000
	mov.b	v0[0], w9
	add	x9, sp, #8
	add	x9, x9, x11
	add	x10, x19, x11
	sub	x11, x11, x8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x9], #8
	ldr	d2, [x10], #8
	eor.8b	v1, v2, v1
	orr.8b	v0, v1, v0
	adds	x11, x11, #8
	b.ne	LBB0_11
; %bb.12:
	umov.b	w9, v0[1]
	umov.b	w10, v0[0]
	umov.b	w11, v0[2]
	orr	w9, w10, w9
	orr	w9, w9, w11
	umov.b	w10, v0[3]
	umov.b	w11, v0[4]
	orr	w9, w9, w10
	orr	w9, w9, w11
	umov.b	w10, v0[5]
	umov.b	w11, v0[6]
	orr	w9, w9, w10
	orr	w9, w9, w11
	umov.b	w10, v0[7]
	orr	w9, w9, w10
	cmp	x0, x8
	b.eq	LBB0_15
LBB0_13:
	sub	x10, x0, x8
	add	x11, x19, x8
	add	x12, sp, #8
	add	x8, x12, x8
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x8], #1
	ldrb	w13, [x11], #1
	eor	w12, w13, w12
	orr	w9, w12, w9
	subs	x10, x10, #1
	b.ne	LBB0_14
LBB0_15:
	and	w0, w9, #0xff
	bl	_EQ0
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
