	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_qp_roce_entropy           ## -- Begin function mlx4_qp_roce_entropy
	.p2align	4, 0x90
_mlx4_qp_roce_entropy:                  ## @mlx4_qp_roce_entropy
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, -40(%rbp)
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	callq	_mlx4_qp_query
	movl	%eax, %ecx
	movl	$57005, %eax                    ## imm = 0xDEAD
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	movl	-32(%rbp), %edi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	andl	$16777215, %ebx                 ## imm = 0xFFFFFF
	movq	%rbx, %rdi
	callq	_folded_qp
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_folded_qp
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpq	%r14, %rbx
	cmovnel	%r15d, %eax
	xorl	%ecx, %eax
	orl	$49152, %eax                    ## imm = 0xC000
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	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	_mlx4_qp_roce_entropy           ; -- Begin function mlx4_qp_roce_entropy
	.p2align	2
_mlx4_qp_roce_entropy:                  ; @mlx4_qp_roce_entropy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	str	x1, [sp]
	mov	x1, sp
	add	x2, sp, #8
	bl	_mlx4_qp_query
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #57005
	b	LBB0_3
LBB0_2:
	ldr	w0, [sp, #8]
	bl	_be32_to_cpu
	and	w20, w0, #0xffffff
	mov	x0, x20
	bl	_folded_qp
	mov	x21, x0
	mov	x0, x19
	bl	_folded_qp
	cmp	x20, x19
	csel	w8, wzr, w21, eq
	eor	w8, w8, w0
	orr	w0, w8, #0xc000
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
