	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlist_decode_node
_mlist_decode_node:                     ## @mlist_decode_node
	.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	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rsi), %eax
	movl	4(%rsi), %ecx
	leal	(%rcx,%rax), %r12d
	sarl	%r12d
	movl	%r12d, %r13d
	subl	%eax, %r13d
	addl	12(%rsi), %r13d
	addl	8(%rsi), %r12d
	addl	%r13d, %ecx
	subl	%ecx, %r12d
	je	LBB0_5
## %bb.1:
	leal	1(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %ebx
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.2:
	movq	_decode_cur_bit@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	cmpq	$0, (%r14)
	setne	%al
	leal	(%rax,%rbx,2), %ebx
	xorl	%eax, %eax
	callq	_decode_load_bit
	cmpl	%r12d, %ebx
	jle	LBB0_3
LBB0_4:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r14)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	subl	%ecx, %ebx
	sarl	%ecx
	movl	%ebx, %eax
	sarl	%eax
	andl	$1, %ebx
	negl	%ebx
	xorl	%eax, %ebx
	addl	%ecx, %ebx
	addl	%r13d, %ebx
	movl	%ebx, %r13d
LBB0_5:
	movl	%r13d, 16(%r15)
	movl	$1, %eax
	cmpq	$0, 16(%r14)
	jne	LBB0_7
## %bb.6:
	leaq	8(%r14), %rdi
	callq	_bread_gamma_code
LBB0_7:
	movl	%eax, 20(%r15)
	movslq	4(%r15), %rax
	movslq	(%r15), %rcx
	subq	%rcx, %rax
	cmpq	%rax, (%r14)
	jle	LBB0_8
## %bb.9:
	movl	$-1, 24(%r15)
	jmp	LBB0_10
LBB0_8:
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_bread_gamma_code
	decl	%eax
	movl	%eax, 24(%r15)
	movq	%r14, %rdi
	callq	_bread_get_bitoffset
	addl	%eax, 24(%r15)
LBB0_10:
	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
	.no_dead_strip	_mlist_decode_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlist_decode_node
_mlist_decode_node:                     ; @mlist_decode_node
	.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, x1
	mov	x20, x0
	ldp	w8, w9, [x1]
	add	w10, w9, w8
	asr	w10, w10, #1
	ldp	w11, w12, [x1, #8]
	sub	w8, w10, w8
	add	w21, w8, w12
	add	w8, w10, w11
	add	w9, w21, w9
	subs	w24, w8, w9
	b.eq	LBB0_6
; %bb.1:
	add	w22, w24, #1
	ldr	w23, [x20, #8]
	cmp	w24, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w8, #1
Lloh0:
	adrp	x26, _decode_cur_bit@GOTPAGE
Lloh1:
	ldr	x26, [x26, _decode_cur_bit@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x26]
	cmp	x9, #0
	cset	w25, ne
	bfi	w25, w8, #1, #31
	bl	_decode_load_bit
	mov	x8, x25
	cmp	w25, w24
	b.le	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	w25, #1
LBB0_5:
	str	w23, [x20, #8]
	sub	w8, w25, w22
	and	w9, w8, #0x1
	neg	w9, w9
	eor	w8, w9, w8, asr #1
	add	w8, w8, w22, asr #1
	add	w21, w8, w21
LBB0_6:
	str	w21, [x19, #16]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_8
; %bb.7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	add	x0, x20, #8
	bl	_bread_gamma_code
LBB0_9:
	str	w0, [x19, #20]
	ldpsw	x9, x8, [x19]
	ldr	x10, [x20]
	sub	x8, x8, x9
	cmp	x10, x8
	b.le	LBB0_11
; %bb.10:
	mov	w8, #-1
	b	LBB0_12
LBB0_11:
	add	x20, x20, #8
	mov	x0, x20
	bl	_bread_gamma_code
	sub	w8, w0, #1
	str	w8, [x19, #24]
	mov	x0, x20
	bl	_bread_get_bitoffset
	ldr	w8, [x19, #24]
	add	w8, w8, w0
LBB0_12:
	str	w8, [x19, #24]
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_decode_cur_bit,8,3             ; @decode_cur_bit
	.no_dead_strip	_mlist_decode_node
.subsections_via_symbols
