	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mthca_check_fmr
_mthca_check_fmr:                       ## @mthca_check_fmr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	%edx, 8(%rdi)
	jl	LBB0_3
## %bb.1:
	movl	%ecx, %eax
	movb	12(%rdi), %cl
	movl	$-1, %edx
	shll	%cl, %edx
	notl	%edx
	testl	%eax, %edx
	jne	LBB0_3
## %bb.2:
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	16(%rdi), %rcx
	jl	LBB0_4
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mthca_check_fmr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mthca_check_fmr
_mthca_check_fmr:                       ; @mthca_check_fmr
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #8]
	cmp	w8, w2
	b.lt	LBB0_4
; %bb.1:
	ldr	w8, [x0, #12]
	mov	w9, #-1
	lsl	w8, w9, w8
	bics	wzr, w3, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x0]
	ldr	x9, [x0, #16]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mthca_check_fmr
.subsections_via_symbols
