	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_link_register             ## -- Begin function rdma_link_register
	.p2align	4, 0x90
_rdma_link_register:                    ## @rdma_link_register
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_link_ops_rwsem@GOTPCREL(%rip), %rdi
	callq	_down_write
	movl	4(%rbx), %edi
	callq	_link_ops_get
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_link_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_list_add
LBB0_2:
	movq	_link_ops_rwsem@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_up_write                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_link_ops_rwsem,4,2             ## @link_ops_rwsem
	.comm	_link_ops,4,2                   ## @link_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_link_register             ; -- Begin function rdma_link_register
	.p2align	2
_rdma_link_register:                    ; @rdma_link_register
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, _link_ops_rwsem@GOTPAGE
Lloh1:
	ldr	x0, [x0, _link_ops_rwsem@GOTPAGEOFF]
	bl	_down_write
	ldr	w0, [x19, #4]
	bl	_link_ops_get
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, _link_ops@GOTPAGE
Lloh3:
	ldr	x1, [x1, _link_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_list_add
LBB0_2:
Lloh4:
	adrp	x0, _link_ops_rwsem@GOTPAGE
Lloh5:
	ldr	x0, [x0, _link_ops_rwsem@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_up_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_link_ops_rwsem,4,2             ; @link_ops_rwsem
	.comm	_link_ops,4,2                   ; @link_ops
.subsections_via_symbols
