	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ccm_reset                   ## -- Begin function br_ccm_reset
	.p2align	4, 0x90
_br_ccm_reset:                          ## @br_ccm_reset
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-14(%rdx), %rax
	xorl	%r13d, %r13d
	cmpq	$-7, %rax
	jb	LBB0_18
## %bb.1:
	leaq	-4(%r9), %rax
	cmpq	$12, %rax
	ja	LBB0_18
## %bb.2:
	movl	%r9d, %eax
	andl	$1, %eax
	testq	%rax, %rax
	jne	LBB0_18
## %bb.3:
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	%r9, (%rdi)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setg	%al
	shll	$6, %eax
	leal	248(,%r9,4), %ecx
	addl	$-14, %edx
	negl	%edx
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	orl	%edx, %ecx
	orl	%eax, %ecx
	movb	%cl, -64(%rbp)
	leaq	-63(%rbp), %rdi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	callq	_memcpy
	movb	%r15b, -49(%rbp)
	cmpl	$14, %ebx
	jne	LBB0_4
LBB0_11:
	movl	%r15d, %eax
	jmp	LBB0_12
LBB0_4:
	movl	%r15d, %eax
	sarl	$8, %eax
	movb	%al, -50(%rbp)
	cmpl	$13, %ebx
	je	LBB0_12
## %bb.5:
	movl	%r15d, %eax
	sarl	$16, %eax
	movb	%al, -51(%rbp)
	cmpl	$12, %ebx
	je	LBB0_12
## %bb.6:
	movl	%r15d, %eax
	sarl	$24, %eax
	movb	%al, -52(%rbp)
	cmpl	$11, %ebx
	jne	LBB0_7
LBB0_12:
	cmpl	$255, %eax
	ja	LBB0_18
## %bb.13:
	movl	$15, %r15d
	subl	%ebx, %r15d
	movq	8(%r14), %rdi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	8(%r14), %rsi
	movq	48(%r14), %rdi
	movq	(%rdi), %rax
	leaq	-64(%rbp), %rdx
	movl	$16, %ecx
	callq	*8(%rax)
	cmpl	$65280, %r12d                   ## imm = 0xFF00
	jl	LBB0_15
## %bb.14:
	movq	16(%r14), %rdi
	movabsq	$1090921693439, %rax            ## imm = 0xFE000000FF
	movq	%rax, (%rdi)
	addq	$8, %rdi
	movl	%r12d, %esi
	callq	_br_enc32be
	movl	$6, %r13d
	jmp	LBB0_17
LBB0_15:
	testl	%r12d, %r12d
	jle	LBB0_17
## %bb.16:
	movq	16(%r14), %rdi
	movl	%r12d, %esi
	callq	_br_enc16be
	movl	$2, %r13d
LBB0_17:
	movl	%r13d, 24(%r14)
	movq	32(%r14), %rdi
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rdi)
	addq	$4, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_memcpy
	movq	32(%r14), %rax
	leaq	(%rax,%rbx,4), %rdi
	addq	$4, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movq	40(%r14), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	48(%r14), %rdi
	movq	(%rdi), %rax
	movq	32(%r14), %rsi
	movq	40(%r14), %rdx
	movl	$8, %ecx
	callq	*(%rax)
	movl	$1, %r13d
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	sarl	$31, %r15d
	movb	%r15b, -53(%rbp)
	cmpl	$10, %ebx
	je	LBB0_11
## %bb.8:
	movb	%r15b, -54(%rbp)
	cmpl	$9, %ebx
	je	LBB0_11
## %bb.9:
	movb	%r15b, -55(%rbp)
	cmpl	$8, %ebx
	je	LBB0_11
## %bb.10:
	movb	%r15b, -56(%rbp)
	jmp	LBB0_11
LBB0_20:
	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
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function br_ccm_reset
lCPI0_0:
	.long	255                             ; 0xff
	.long	254                             ; 0xfe
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_br_ccm_reset
	.p2align	2
_br_ccm_reset:                          ; @br_ccm_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	sub	x8, x2, #14
	cmn	x8, #7
	b.hs	LBB0_4
LBB0_1:
	mov	w0, #0
LBB0_2:
	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_22
; %bb.3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	mov	x19, x0
	mov	w0, #0
	sub	x8, x5, #4
	cmp	x8, #12
	b.hi	LBB0_2
; %bb.5:
	tbnz	w5, #0, LBB0_2
; %bb.6:
	mov	x23, x4
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	str	x5, [x19]
	cmp	w3, #0
	cset	w8, gt
	lsl	w9, w5, #2
	add	w9, w9, #248
	mov	w10, #14
	sub	w24, w10, w20
	orr	w8, w24, w8, lsl #6
	orr	w8, w8, w9
	strb	w8, [sp, #8]
	add	x8, sp, #8
	add	x0, x8, #1
	bl	_memcpy
	strb	w23, [sp, #23]
	cmp	w20, #14
	b.ne	LBB0_8
; %bb.7:
	mov	x8, x23
	b	LBB0_15
LBB0_8:
	asr	w8, w23, #8
	strb	w8, [sp, #22]
	cmp	w20, #13
	b.eq	LBB0_15
; %bb.9:
	asr	w8, w23, #16
	strb	w8, [sp, #21]
	cmp	w20, #12
	b.eq	LBB0_15
; %bb.10:
	asr	w8, w23, #24
	strb	w8, [sp, #20]
	cmp	w20, #11
	b.eq	LBB0_15
; %bb.11:
	asr	w8, w23, #31
	strb	w8, [sp, #19]
	cmp	w20, #10
	b.eq	LBB0_15
; %bb.12:
	strb	w8, [sp, #18]
	cmp	w20, #9
	b.eq	LBB0_15
; %bb.13:
	strb	w8, [sp, #17]
	cmp	w20, #8
	b.eq	LBB0_15
; %bb.14:
	strb	w8, [sp, #16]
LBB0_15:
	cmp	w8, #255
	b.hi	LBB0_1
; %bb.16:
	mov	w8, #15
	sub	w23, w8, w20
	ldr	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [x19, #48]
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	ldr	x1, [x19, #8]
	add	x2, sp, #8
	mov	w3, #16
	blr	x8
	mov	w8, #65280
	cmp	w22, w8
	b.lt	LBB0_18
; %bb.17:
	ldr	x0, [x19, #16]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0], #8
	mov	x1, x22
	bl	_br_enc32be
	mov	w8, #6
	b	LBB0_21
LBB0_18:
	cmp	w22, #1
	b.lt	LBB0_20
; %bb.19:
	ldr	x0, [x19, #16]
	mov	x1, x22
	bl	_br_enc16be
	mov	w8, #2
	b	LBB0_21
LBB0_20:
	mov	w8, #0
LBB0_21:
	str	w8, [x19, #24]
	ldr	x0, [x19, #32]
	str	w24, [x0], #4
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [x19, #32]
	add	x8, x8, x20, lsl #2
	add	x0, x8, #4
	mov	w1, #0
	mov	x2, x23
	bl	_memset
	ldr	x0, [x19, #40]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldp	x2, x0, [x19, #40]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x1, [x19, #32]
	mov	w3, #8
	blr	x8
	mov	w0, #1
	b	LBB0_2
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
