	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_abi_version
_check_abi_version:                     ## @check_abi_version
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ibv_get_sysfs_path
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdx
	movl	%eax, %edi
	movl	$8, %ecx
	callq	_ibv_read_sysfs_file
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_ibv_get_sysfs_path
	leaq	L_.str.1(%rip), %rsi
	leaq	-24(%rbp), %rdx
	movl	%eax, %edi
	movl	$8, %ecx
	callq	_ibv_read_sysfs_file
	testq	%rax, %rax
	js	LBB0_3
LBB0_2:
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	_abi_ver@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_RDMA_USER_CM_MIN_ABI_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setl	%cl
	movq	_RDMA_USER_CM_MAX_ABI_VERSION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setg	%al
	orb	%cl, %al
	movzbl	%al, %ebx
	negl	%ebx
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"class/misc/rdma_cm/abi_version"

L_.str.1:                               ## @.str.1
	.asciz	"class/infiniband_ucma/abi_version"

	.comm	_abi_ver,8,3                    ## @abi_ver
	.comm	_RDMA_USER_CM_MIN_ABI_VERSION,8,3 ## @RDMA_USER_CM_MIN_ABI_VERSION
	.comm	_RDMA_USER_CM_MAX_ABI_VERSION,8,3 ## @RDMA_USER_CM_MAX_ABI_VERSION
	.no_dead_strip	_check_abi_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_abi_version
_check_abi_version:                     ; @check_abi_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	bl	_ibv_get_sysfs_path
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, sp
	mov	w3, #8
	bl	_ibv_read_sysfs_file
	tbz	x0, #63, LBB0_2
; %bb.1:
	bl	_ibv_get_sysfs_path
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, sp
	mov	w3, #8
	bl	_ibv_read_sysfs_file
	tbnz	x0, #63, LBB0_5
LBB0_2:
	mov	x0, sp
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
Lloh7:
	adrp	x8, _abi_ver@GOTPAGE
Lloh8:
	ldr	x8, [x8, _abi_ver@GOTPAGEOFF]
Lloh9:
	str	x0, [x8]
Lloh10:
	adrp	x8, _RDMA_USER_CM_MIN_ABI_VERSION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RDMA_USER_CM_MIN_ABI_VERSION@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
Lloh13:
	adrp	x8, _RDMA_USER_CM_MAX_ABI_VERSION@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RDMA_USER_CM_MAX_ABI_VERSION@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ccmp	x0, x8, #0, ge
	cset	w8, gt
	sbfx	w0, w8, #0, #1
LBB0_3:
	ldr	x8, [sp, #8]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_5:
	mov	w0, #0
	b	LBB0_3
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"class/misc/rdma_cm/abi_version"

l_.str.1:                               ; @.str.1
	.asciz	"class/infiniband_ucma/abi_version"

	.comm	_abi_ver,8,3                    ; @abi_ver
	.comm	_RDMA_USER_CM_MIN_ABI_VERSION,8,3 ; @RDMA_USER_CM_MIN_ABI_VERSION
	.comm	_RDMA_USER_CM_MAX_ABI_VERSION,8,3 ; @RDMA_USER_CM_MAX_ABI_VERSION
	.no_dead_strip	_check_abi_version
.subsections_via_symbols
