	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bread_huffman_decode_int       ## -- Begin function bread_huffman_decode_int
	.p2align	4, 0x90
_bread_huffman_decode_int:              ## @bread_huffman_decode_int
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_decode_cur_bit@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	cmpq	$0, (%r14)
	setne	%bl
	xorl	%eax, %eax
	callq	_decode_load_bit
	movl	$1, %eax
	cmpl	%ebx, 4(%r12)
	jle	LBB0_4
## %bb.1:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	$2, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	xorl	%eax, %eax
	cmpq	$0, (%r14)
	setne	%al
	leal	(%rax,%rbx,2), %ebx
	xorl	%eax, %eax
	callq	_decode_load_bit
	leaq	1(%r13), %rax
	cmpl	(%r12,%r13,4), %ebx
	jl	LBB0_2
## %bb.3:
	decl	%eax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_4:
	movl	%eax, %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, (%r15)
	movq	_HUFFMAN_MAX_CODE_LENGTH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	incl	%edx
	subl	(%r12,%rcx,4), %ebx
	imull	%edx, %ebx
	addl	%eax, %ebx
	movslq	%ebx, %rax
	movl	(%r13,%rax,4), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_decode_cur_bit,8,3             ## @decode_cur_bit
	.comm	_HUFFMAN_MAX_CODE_LENGTH,4,2    ## @HUFFMAN_MAX_CODE_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bread_huffman_decode_int       ; -- Begin function bread_huffman_decode_int
	.p2align	2
_bread_huffman_decode_int:              ; @bread_huffman_decode_int
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w22, [x0]
Lloh0:
	adrp	x24, _decode_cur_bit@GOTPAGE
Lloh1:
	ldr	x24, [x24, _decode_cur_bit@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, #0
	cset	w23, ne
	bl	_decode_load_bit
	ldr	w8, [x20, #4]
	cmp	w8, w23
	b.le	LBB0_4
; %bb.1:
	mov	w25, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	cmp	x8, #0
	cset	w26, ne
	bfi	w26, w23, #1, #31
	mov	x23, x26
	bl	_decode_load_bit
	ldr	w8, [x20, x25, lsl #2]
	add	x25, x25, #1
	cmp	w26, w8
	b.lt	LBB0_2
; %bb.3:
	sub	w8, w25, #1
	b	LBB0_5
LBB0_4:
	mov	w8, #1
LBB0_5:
	str	w22, [x21]
Lloh2:
	adrp	x9, _HUFFMAN_MAX_CODE_LENGTH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HUFFMAN_MAX_CODE_LENGTH@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	ldr	w10, [x20, w8, uxtw #2]
	sub	w10, w23, w10
	madd	w9, w10, w9, w10
	add	w8, w9, w8
	ldr	w0, [x19, w8, sxtw #2]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_decode_cur_bit,8,3             ; @decode_cur_bit
	.comm	_HUFFMAN_MAX_CODE_LENGTH,4,2    ; @HUFFMAN_MAX_CODE_LENGTH
.subsections_via_symbols
