	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qede_rdma_dev_add              ## -- Begin function qede_rdma_dev_add
	.p2align	4, 0x90
_qede_rdma_dev_add:                     ## @qede_rdma_dev_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_qede_rdma_supported
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.1:
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_qede_rdma_create_wq
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_INIT_LIST_HEAD
	movq	_qedr_dev_list_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_qedr_dev_list@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
	movq	%r14, %rdi
	callq	__qede_rdma_dev_add
	movq	%rbx, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qedr_dev_list_lock,4,2         ## @qedr_dev_list_lock
	.comm	_qedr_dev_list,4,2              ## @qedr_dev_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qede_rdma_dev_add              ; -- Begin function qede_rdma_dev_add
	.p2align	2
_qede_rdma_dev_add:                     ; @qede_rdma_dev_add
	.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	x20, x1
	mov	x19, x0
	bl	_qede_rdma_supported
	mov	x8, x0
	mov	w0, #0
	cbnz	w20, LBB0_4
; %bb.1:
	cbz	w8, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_qede_rdma_create_wq
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_INIT_LIST_HEAD
Lloh0:
	adrp	x20, _qedr_dev_list_lock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _qedr_dev_list_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_mutex_lock
Lloh2:
	adrp	x1, _qedr_dev_list@GOTPAGE
Lloh3:
	ldr	x1, [x1, _qedr_dev_list@GOTPAGEOFF]
	mov	x0, x19
	bl	_list_add_tail
	mov	x0, x19
	bl	__qede_rdma_dev_add
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_qedr_dev_list_lock,4,2         ; @qedr_dev_list_lock
	.comm	_qedr_dev_list,4,2              ; @qedr_dev_list
.subsections_via_symbols
