	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_qp_parameters
_verify_qp_parameters:                  ## @verify_qp_parameters
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r12
	movl	104(%r12), %edi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_be32_to_cpu
	addl	$-128, %r14d
	xorl	%r13d, %r13d
	cmpl	$4, %r14d
	ja	LBB0_8
## %bb.1:
	shrl	$16, %ebx
	addb	$123, %bl
	cmpb	$1, %bl
	ja	LBB0_8
## %bb.2:
	movl	%eax, %r15d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mlx4_master_func_num
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_5
## %bb.3:
	movq	_MLX4_QP_OPTPAR_PRIMARY_ADDR_PATH@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_5
## %bb.4:
	cmpl	$0, 100(%r12)
	jne	LBB0_7
LBB0_5:
	movq	_MLX4_QP_OPTPAR_ALT_ADDR_PATH@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.6:
	cmpl	$0, 96(%r12)
	je	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_8:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_QP_OPTPAR_PRIMARY_ADDR_PATH,4,2 ## @MLX4_QP_OPTPAR_PRIMARY_ADDR_PATH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MLX4_QP_OPTPAR_ALT_ADDR_PATH,4,2 ## @MLX4_QP_OPTPAR_ALT_ADDR_PATH
	.no_dead_strip	_verify_qp_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_qp_parameters
_verify_qp_parameters:                  ; @verify_qp_parameters
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x24, [x1]
	ldr	w0, [x24, #104]
	bl	_be32_to_cpu
	mov	x22, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_be32_to_cpu
	mov	x20, x0
	mov	w0, #0
	sub	w8, w23, #128
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.1:
	lsr	w8, w22, #16
	add	w8, w8, #123
	and	w8, w8, #0xff
	cmp	w8, #1
	b.hi	LBB0_9
; %bb.2:
	mov	x0, x21
	bl	_mlx4_master_func_num
	cmp	w0, w19
	b.eq	LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _MLX4_QP_OPTPAR_PRIMARY_ADDR_PATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_QP_OPTPAR_PRIMARY_ADDR_PATH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x24, #100]
	cbnz	w8, LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _MLX4_QP_OPTPAR_ALT_ADDR_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX4_QP_OPTPAR_ALT_ADDR_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.6:
	ldr	w8, [x24, #96]
	cbz	w8, LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_QP_OPTPAR_PRIMARY_ADDR_PATH,4,2 ; @MLX4_QP_OPTPAR_PRIMARY_ADDR_PATH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MLX4_QP_OPTPAR_ALT_ADDR_PATH,4,2 ; @MLX4_QP_OPTPAR_ALT_ADDR_PATH
	.no_dead_strip	_verify_qp_parameters
.subsections_via_symbols
