	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efa_qp_validate_cap
_efa_qp_validate_cap:                   ## @efa_qp_validate_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rdx
	movq	(%rdi), %rcx
	cmpq	%rcx, %rdx
	jle	LBB0_2
## %bb.1:
	addq	$40, %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_10
LBB0_2:
	movq	8(%rsi), %rdx
	movq	8(%rdi), %rcx
	cmpq	%rcx, %rdx
	jle	LBB0_4
## %bb.3:
	addq	$40, %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_10
LBB0_4:
	movq	16(%rsi), %rdx
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rdx
	jle	LBB0_6
## %bb.5:
	addq	$40, %rdi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_10
LBB0_6:
	movq	24(%rsi), %rdx
	movq	24(%rdi), %rcx
	cmpq	%rcx, %rdx
	jle	LBB0_8
## %bb.7:
	addq	$40, %rdi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_10
LBB0_8:
	movq	32(%rsi), %rdx
	movq	32(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rdx
	jle	LBB0_11
## %bb.9:
	addq	$40, %rdi
	leaq	L_.str.4(%rip), %rsi
LBB0_10:
	callq	_ibdev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qp: requested send wr[%u] exceeds the max[%u]\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"qp: requested receive wr[%u] exceeds the max[%u]\n"

L_.str.2:                               ## @.str.2
	.asciz	"qp: requested sge send[%u] exceeds the max[%u]\n"

L_.str.3:                               ## @.str.3
	.asciz	"qp: requested sge recv[%u] exceeds the max[%u]\n"

L_.str.4:                               ## @.str.4
	.asciz	"qp: requested inline data[%u] exceeds the max[%u]\n"

	.no_dead_strip	_efa_qp_validate_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efa_qp_validate_cap
_efa_qp_validate_cap:                   ; @efa_qp_validate_cap
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x2, [x1]
	ldr	x3, [x0]
	cmp	x2, x3
	b.le	LBB0_2
; %bb.1:
	add	x0, x0, #40
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_2:
	ldr	x2, [x1, #8]
	ldr	x3, [x0, #8]
	cmp	x2, x3
	b.le	LBB0_4
; %bb.3:
	add	x0, x0, #40
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_4:
	ldr	x2, [x1, #16]
	ldr	x3, [x0, #16]
	cmp	x2, x3
	b.le	LBB0_6
; %bb.5:
	add	x0, x0, #40
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_6:
	ldr	x2, [x1, #24]
	ldr	x3, [x0, #24]
	cmp	x2, x3
	b.le	LBB0_8
; %bb.7:
	add	x0, x0, #40
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_8:
	ldr	x2, [x1, #32]
	ldr	x3, [x0, #32]
	cmp	x2, x3
	b.le	LBB0_11
; %bb.9:
	add	x0, x0, #40
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_10:
	bl	_ibdev_dbg
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qp: requested send wr[%u] exceeds the max[%u]\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"qp: requested receive wr[%u] exceeds the max[%u]\n"

l_.str.2:                               ; @.str.2
	.asciz	"qp: requested sge send[%u] exceeds the max[%u]\n"

l_.str.3:                               ; @.str.3
	.asciz	"qp: requested sge recv[%u] exceeds the max[%u]\n"

l_.str.4:                               ; @.str.4
	.asciz	"qp: requested inline data[%u] exceeds the max[%u]\n"

	.no_dead_strip	_efa_qp_validate_cap
.subsections_via_symbols
