	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_clear_qp                  ## -- Begin function mlx4_clear_qp
	.p2align	4, 0x90
_mlx4_clear_qp:                         ## @mlx4_clear_qp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	decl	%eax
	andl	%esi, %eax
	movb	4(%rdi), %cl
	sarl	%cl, %eax
	movq	16(%rdi), %rcx
	cltq
	shlq	$4, %rax
	decl	8(%rcx,%rax)
	movq	(%rcx,%rax), %rax
	je	LBB0_2
## %bb.1:
	andl	8(%rdi), %esi
	movslq	%esi, %rcx
	movq	$0, (%rax,%rcx,8)
	popq	%rbp
	retq
LBB0_2:
	movq	%rax, %rdi
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_clear_qp                  ; -- Begin function mlx4_clear_qp
	.p2align	2
_mlx4_clear_qp:                         ; @mlx4_clear_qp
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	sub	w8, w8, #1
	and	w8, w8, w1
	asr	w8, w8, w9
	ldr	x9, [x0, #16]
	add	x9, x9, w8, sxtw #4
	ldr	w10, [x9, #8]
	ldr	x8, [x9]
	subs	w10, w10, #1
	str	w10, [x9, #8]
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x0, #8]
	and	w9, w9, w1
	str	xzr, [x8, w9, sxtw #3]
	ret
LBB0_2:
	mov	x0, x8
	b	_free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
