	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_rdma_add_event
_qede_rdma_add_event:                   ## @qede_rdma_add_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_1
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	cmpl	$0, 4(%rdi)
	je	LBB0_3
## %bb.2:
	movl	%esi, %r14d
	movq	%rbx, %rdi
	callq	_qede_rdma_get_free_event_node
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movl	%r14d, (%rax)
	movq	%rbx, 8(%rax)
	addq	$4, %r15
	movq	_qede_rdma_handle_event@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_WORK
	movl	(%rbx), %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_qede_rdma_handle_event,4,2     ## @qede_rdma_handle_event
	.no_dead_strip	_qede_rdma_add_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_rdma_add_event
_qede_rdma_add_event:                   ; @qede_rdma_add_event
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_1
; %bb.3:
	mov	x20, x1
	mov	x0, x19
	bl	_qede_rdma_get_free_event_node
	cbz	x0, LBB0_1
; %bb.4:
	str	w20, [x0]
	str	x19, [x0, #8]
	add	x20, x0, #4
Lloh0:
	adrp	x8, _qede_rdma_handle_event@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qede_rdma_handle_event@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_INIT_WORK
	ldr	w0, [x19]
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_queue_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_qede_rdma_handle_event,4,2     ; @qede_rdma_handle_event
	.no_dead_strip	_qede_rdma_add_event
.subsections_via_symbols
