	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_rdma_dev_shutdown
_qede_rdma_dev_shutdown:                ## @qede_rdma_dev_shutdown
	.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
	callq	_qede_rdma_supported
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	_qedr_dev_list_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_qedr_drv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_QEDE_CLOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	callq	*%rax
LBB0_5:
	movq	_qedr_dev_list_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qedr_dev_list_lock,4,2         ## @qedr_dev_list_lock
	.comm	_qedr_drv,8,3                   ## @qedr_drv
	.comm	_QEDE_CLOSE,4,2                 ## @QEDE_CLOSE
	.no_dead_strip	_qede_rdma_dev_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_rdma_dev_shutdown
_qede_rdma_dev_shutdown:                ; @qede_rdma_dev_shutdown
	.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
	bl	_qede_rdma_supported
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x0, _qedr_dev_list_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _qedr_dev_list_lock@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x8, _qedr_drv@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qedr_drv@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x0, [x19]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh5:
	adrp	x9, _QEDE_CLOSE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _QEDE_CLOSE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	blr	x8
LBB0_5:
Lloh8:
	adrp	x0, _qedr_dev_list_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _qedr_dev_list_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_qedr_dev_list_lock,4,2         ; @qedr_dev_list_lock
	.comm	_qedr_drv,8,3                   ; @qedr_drv
	.comm	_QEDE_CLOSE,4,2                 ; @QEDE_CLOSE
	.no_dead_strip	_qede_rdma_dev_shutdown
.subsections_via_symbols
