	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrotliSetDepth                 ## -- Begin function BrotliSetDepth
	.p2align	4, 0x90
_BrotliSetDepth:                        ## @BrotliSetDepth
	.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	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorl	%edi, %edi
	cmpl	$16, %ecx
	setl	%dil
	callq	_assert
	movl	$-1, -112(%rbp)
	movq	_BROTLI_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movslq	%ebx, %rax
	movl	(%r12,%rax,8), %ebx
	testl	%ebx, %ebx
	js	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r15d, %edx
	jge	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r12,%rax,8), %eax
	movslq	%edx, %rdi
	incl	%edx
	movl	%eax, -108(%rbp,%rdi,4)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%edx, %rsi
	movslq	4(%r12,%rax,8), %rax
	movq	%rsi, (%r14,%rax,8)
	testl	%esi, %esi
	js	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %eax
	leaq	-112(,%rax,4), %rax
	addq	%rbp, %rax
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, %esi
	movl	-112(%rbp,%rsi,4), %ebx
	cmpl	$-1, %ebx
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	leal	-1(%rdx), %esi
	addq	$-4, %rax
	testl	%edx, %edx
	movl	%esi, %edx
	jg	LBB0_10
	jmp	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$-1, (%rax)
	movq	(%rcx), %rsi
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
                                        ## implicit-def: $rax
	testq	%rsi, %rsi
	jne	LBB0_3
	jmp	LBB0_13
LBB0_12:
	movq	(%rcx), %rax
	jmp	LBB0_13
LBB0_1:
                                        ## implicit-def: $rax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_16
## %bb.14:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_BROTLI_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_13
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BROTLI_TRUE,8,3                ## @BROTLI_TRUE
	.comm	_BROTLI_FALSE,8,3               ## @BROTLI_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrotliSetDepth                 ; -- Begin function BrotliSetDepth
	.p2align	2
_BrotliSetDepth:                        ; @BrotliSetDepth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cmp	w3, #16
	cset	w0, lt
	bl	_assert
	mov	w8, #-1
	str	w8, [sp, #8]
Lloh3:
	adrp	x9, _BROTLI_TRUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BROTLI_TRUE@GOTPAGEOFF]
	ldr	x12, [x9]
	cbz	x12, LBB0_11
; %bb.1:
	mov	w11, #0
	add	x10, sp, #8
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	sxtw	x13, w22
	sbfiz	x14, x22, #3, #32
	ldr	w22, [x21, x14]
	tbnz	w22, #31, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w11, w19
	b.ge	LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x11, w11
	add	x11, x11, #1
	add	x13, x21, x13, lsl #3
	ldr	w13, [x13, #4]
	str	w13, [x10, x11, lsl #2]
                                        ; kill: def $w11 killed $w11 killed $x11 def $x11
                                        ; implicit-def: $x0
	cbnz	x12, LBB0_2
	b	LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x12, x11
	sxtw	x12, w12
	add	x13, x21, x13, lsl #3
	ldrsw	x13, [x13, #4]
	str	x12, [x20, x13, lsl #3]
	tbnz	w11, #31, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x10, w11, uxtw #2
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w22, [x10, w11, uxtw #2]
	cmn	w22, #1
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	sub	w13, w11, #1
	sub	x12, x12, #4
	cmp	w11, #0
	mov	x11, x13
	b.gt	LBB0_7
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w8, [x12]
	ldr	x12, [x9]
                                        ; implicit-def: $x0
	cbnz	x12, LBB0_2
	b	LBB0_12
LBB0_10:
	ldr	x0, [x9]
	b	LBB0_12
LBB0_11:
                                        ; implicit-def: $x0
LBB0_12:
	ldur	x8, [x29, #-40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_14:
Lloh8:
	adrp	x8, _BROTLI_FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BROTLI_FALSE@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	b	LBB0_12
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BROTLI_TRUE,8,3                ; @BROTLI_TRUE
	.comm	_BROTLI_FALSE,8,3               ; @BROTLI_FALSE
.subsections_via_symbols
