	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_store_qp                  ## -- Begin function mlx4_store_qp
	.p2align	4, 0x90
_mlx4_store_qp:                         ## @mlx4_store_qp
	.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	%esi, %r15d
	movl	(%rdi), %eax
	decl	%eax
	andl	%esi, %eax
	movb	4(%rdi), %cl
	sarl	%cl, %eax
	movq	16(%rdi), %r12
	movslq	%eax, %rbx
	shlq	$4, %rbx
	movl	8(%r12,%rbx), %r13d
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.1:
	movq	(%r12,%rbx), %rax
	movl	8(%rdi), %r14d
	jmp	LBB0_2
LBB0_3:
	movl	8(%rdi), %r14d
	leal	1(%r14), %edi
	movl	$8, %esi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_calloc
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%r12,%rbx)
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	leaq	(%r12,%rbx), %rcx
	addq	$8, %rcx
	incl	%r13d
	movl	%r13d, (%rcx)
	andl	%r15d, %r14d
	movslq	%r14d, %rcx
	movq	%rdx, (%rax,%rcx,8)
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_store_qp                  ; -- Begin function mlx4_store_qp
	.p2align	2
_mlx4_store_qp:                         ; @mlx4_store_qp
	.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	x8, x0
	ldp	w9, w10, [x0]
	sub	w9, w9, #1
	and	w9, w9, w1
	asr	w9, w9, w10
	ldr	x24, [x0, #16]
	sxtw	x25, w9
	add	x21, x24, w9, sxtw #4
	ldr	w22, [x21, #8]!
	cbz	w22, LBB0_2
; %bb.1:
	lsl	x9, x25, #4
	ldr	x0, [x24, x9]
	ldr	w23, [x8, #8]
	b	LBB0_3
LBB0_2:
	ldr	w23, [x8, #8]
	add	w0, w23, #1
	mov	w1, #8
	bl	_calloc
	lsl	x8, x25, #4
	str	x0, [x24, x8]
	cbz	x0, LBB0_5
LBB0_3:
	mov	w8, #0
	add	w9, w22, #1
	str	w9, [x21]
	and	w9, w23, w20
	str	x19, [x0, w9, sxtw #3]
LBB0_4:
	mov	x0, x8
	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
LBB0_5:
	mov	w8, #-1
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
