	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zmalloc_mlist_decoder          ## -- Begin function zmalloc_mlist_decoder
	.p2align	4, 0x90
_zmalloc_mlist_decoder:                 ## @zmalloc_mlist_decoder
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movl	%esi, %r12d
	movl	%edi, %r15d
	testl	%esi, %esi
	movl	%esi, %edi
	cmovsl	%r15d, %edi
	incl	%edi
	callq	_bsr
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,2), %eax
	leal	72(,%rax,8), %r13d
	movl	%r13d, %edi
	callq	_zmalloc
	movq	%rax, %rbx
	movl	%r13d, (%rax)
	movq	%rax, %r13
	addq	$24, %r13
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_bread_init
	cmpl	$-1, %r12d
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_bread_gamma_code
	movl	%eax, %r12d
LBB0_2:
	movl	%r15d, 4(%rbx)
	movl	%r12d, 8(%rbx)
	movq	$0, 40(%rbx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%rbx)
	movq	32(%rbx), %r14
	movq	$0, 16(%r14)
	movl	$-1, (%r14)
	incl	%r12d
	movl	%r12d, 4(%r14)
	movl	%r15d, 8(%r14)
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_bread_nbits
	movl	%eax, 28(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mlist_decode_node
	movq	$0, 16(%rbx)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zmalloc_mlist_decoder          ; -- Begin function zmalloc_mlist_decoder
	.p2align	2
_zmalloc_mlist_decoder:                 ; @zmalloc_mlist_decoder
	.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	x21, x4
	mov	x24, x3
	mov	x25, x2
	mov	x22, x1
	mov	x19, x0
	cmp	w1, #0
	csel	w8, w0, w1, lt
	add	w0, w8, #1
	bl	_bsr
	mov	w8, #24
	mul	w8, w0, w8
	add	w26, w8, #72
	mov	x0, x26
	bl	_zmalloc
	mov	x20, x0
	mov	x23, x0
	str	w26, [x23], #24
	mov	x0, x23
	mov	x1, x25
	mov	x2, x24
	bl	_bread_init
	cmn	w22, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_bread_gamma_code
	mov	x22, x0
LBB0_2:
	stp	w19, w22, [x20, #4]
	str	xzr, [x20, #40]
	str	w21, [x20, #12]
	ldr	x21, [x20, #32]
	str	xzr, [x21, #16]
	mov	w8, #-1
	add	w9, w22, #1
	stp	w8, w9, [x21]
	str	w19, [x21, #8]
	mov	x0, x23
	mov	w1, #1
	bl	_bread_nbits
	str	w0, [x20, #28]
	mov	x0, x20
	mov	x1, x21
	bl	_mlist_decode_node
	str	xzr, [x20, #16]
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
