	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_eqe
_process_eqe:                           ## @process_eqe
	.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
	movq	%rdi, %r14
	movl	(%rsi), %ebx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_ehca_dbg
	movq	_EQE_COMPLETION_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_EHCA_BMASK_GET
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ehca_dbg
	movq	_EQE_CQ_TOKEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_EHCA_BMASK_GET
	movq	%rax, %r15
	movq	_ehca_cq_idr_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock
	movq	_ehca_cq_idr@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	callq	_idr_find
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %r14
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_atomic_inc
	movq	_ehca_cq_idr_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	movq	%rbx, %rdi
	callq	_reset_eq_pending
	movq	_ehca_scaling_code@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_comp_task                ## TAILCALL
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ehca_dbg
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_parse_identifier               ## TAILCALL
LBB0_7:
	movq	_ehca_cq_idr_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehca_err                       ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	callq	_comp_event_callback
	movq	%r14, %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wake_up                        ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"eqe_value=%llx"

	.comm	_EQE_COMPLETION_EVENT,4,2       ## @EQE_COMPLETION_EVENT
L_.str.1:                               ## @.str.1
	.asciz	"Got completion event"

	.comm	_EQE_CQ_TOKEN,4,2               ## @EQE_CQ_TOKEN
	.comm	_ehca_cq_idr_lock,4,2           ## @ehca_cq_idr_lock
	.comm	_ehca_cq_idr,4,2                ## @ehca_cq_idr
L_.str.2:                               ## @.str.2
	.asciz	"Invalid eqe for non-existing cq token=%x"

	.comm	_ehca_scaling_code,8,3          ## @ehca_scaling_code
L_.str.3:                               ## @.str.3
	.asciz	"Got non completion event"

	.no_dead_strip	_process_eqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_eqe
_process_eqe:                           ; @process_eqe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w20, [x1]
	str	x20, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ehca_dbg
Lloh2:
	adrp	x8, _EQE_COMPLETION_EVENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EQE_COMPLETION_EVENT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_EHCA_BMASK_GET
	cbz	x0, LBB0_4
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ehca_dbg
Lloh7:
	adrp	x8, _EQE_CQ_TOKEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EQE_CQ_TOKEN@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_EHCA_BMASK_GET
	mov	x21, x0
Lloh10:
	adrp	x0, _ehca_cq_idr_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _ehca_cq_idr_lock@GOTPAGEOFF]
	bl	_read_lock
Lloh12:
	adrp	x0, _ehca_cq_idr@GOTPAGE
Lloh13:
	ldr	x0, [x0, _ehca_cq_idr@GOTPAGEOFF]
	mov	x1, x21
	bl	_idr_find
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_atomic_inc
Lloh14:
	adrp	x0, _ehca_cq_idr_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _ehca_cq_idr_lock@GOTPAGEOFF]
	bl	_read_unlock
	mov	x0, x20
	bl	_reset_eq_pending
Lloh16:
	adrp	x8, _ehca_scaling_code@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ehca_scaling_code@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_queue_comp_task
LBB0_4:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ehca_dbg
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_parse_identifier
LBB0_5:
Lloh21:
	adrp	x0, _ehca_cq_idr_lock@GOTPAGE
Lloh22:
	ldr	x0, [x0, _ehca_cq_idr_lock@GOTPAGEOFF]
	bl	_read_unlock
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_ehca_err
LBB0_6:
	mov	x0, x20
	bl	_comp_event_callback
	mov	x0, x19
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_wake_up
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"eqe_value=%llx"

	.comm	_EQE_COMPLETION_EVENT,4,2       ; @EQE_COMPLETION_EVENT
l_.str.1:                               ; @.str.1
	.asciz	"Got completion event"

	.comm	_EQE_CQ_TOKEN,4,2               ; @EQE_CQ_TOKEN
	.comm	_ehca_cq_idr_lock,4,2           ; @ehca_cq_idr_lock
	.comm	_ehca_cq_idr,4,2                ; @ehca_cq_idr
l_.str.2:                               ; @.str.2
	.asciz	"Invalid eqe for non-existing cq token=%x"

	.comm	_ehca_scaling_code,8,3          ; @ehca_scaling_code
l_.str.3:                               ; @.str.3
	.asciz	"Got non completion event"

	.no_dead_strip	_process_eqe
.subsections_via_symbols
