	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qp_get_mtt_size
_qp_get_mtt_size:                       ## @qp_get_mtt_size
	.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
	movq	%rdi, %r15
	movl	(%rdi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rdi), %r12d
	movl	8(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	24(%rdi), %edi
	callq	_be32_to_cpu
	movl	%eax, %r13d
	shrl	$24, %r13d
	movl	20(%r15), %edi
	callq	_be32_to_cpu
	movl	%eax, %r14d
	shrl	$13, %r14d
	orl	%r13d, %r14d
	movl	16(%r15), %edi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	shrl	$23, %ebx
	orl	%r14d, %ebx
	movl	12(%r15), %edi
	callq	_be32_to_cpu
	xorl	%edx, %edx
	testb	$1, %bl
	jne	LBB0_2
## %bb.1:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %edx
	andl	$7, %edx
	shrl	$3, %ecx
	andl	$15, %ecx
	addl	%edx, %ecx
	movl	$16, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
LBB0_2:
	movl	%r12d, %ecx
	shrl	$3, %ecx
	andl	$15, %ecx
	andl	$7, %r12d
	addl	%ecx, %r12d
	movl	$16, %esi
	movl	%r12d, %ecx
	shll	%cl, %esi
	andl	$4032, %eax                     ## imm = 0xFC0
	addl	%esi, %eax
	addl	%edx, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	andb	$63, %cl
	addb	$12, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_roundup_pow_of_two             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_qp_get_mtt_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qp_get_mtt_size
_qp_get_mtt_size:                       ; @qp_get_mtt_size
	.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, x0
	ldp	w22, w23, [x0]
	ldr	w24, [x0, #8]
	ldr	w0, [x0, #24]
	bl	_be32_to_cpu
	mov	x20, x0
	ldr	w0, [x19, #20]
	bl	_be32_to_cpu
	lsr	w25, w0, #13
	ldr	w0, [x19, #16]
	bl	_be32_to_cpu
	mov	x21, x0
	ldr	w0, [x19, #12]
	bl	_be32_to_cpu
	orr	w8, w25, w20, lsr #24
	orr	w8, w8, w21, lsr #23
	and	w9, w24, #0x7
	ubfx	w10, w24, #3, #4
	add	w9, w10, w9
	mov	w10, #16
	lsl	w9, w10, w9
	tst	w8, #0x1
	csel	w8, wzr, w9, ne
	ubfx	w9, w23, #3, #4
	and	w11, w23, #0x7
	add	w9, w9, w11
	lsl	w9, w10, w9
	and	w10, w0, #0xfc0
	and	w11, w22, #0x3f
	add	w11, w11, #12
	add	w9, w10, w9
	add	w8, w9, w8
	lsr	w0, w8, w11
	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
	b	_roundup_pow_of_two
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_qp_get_mtt_size
.subsections_via_symbols
