	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_completions
_generate_completions:                  ## @generate_completions
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	8(%rdi), %rcx
	cmpq	%rcx, %rbx
	jne	LBB0_2
LBB0_11:
	movq	%rbx, %rcx
LBB0_12:
	movq	%rcx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	40(%r14), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	8(,%r12,4), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	callq	_mlx5_ib_generate_wc
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	movq	8(%r14), %rcx
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	(,%r12,4), %rax
	addq	%r13, %rax
	movl	$0, (%rax)
	incq	%rbx
	cmpq	%rcx, %rbx
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rsi
	movq	32(%r14), %r13
	movq	%rbx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rdx,%rdx,2), %r12
	cmpl	$0, (%r13,%r12,4)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r14), %rax
	movq	_IB_SIGNAL_ALL_WR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_IB_SEND_SIGNALED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r13,%r12,4)
	jne	LBB0_3
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_SIGNAL_ALL_WR,8,3           ## @IB_SIGNAL_ALL_WR
	.comm	_IB_SEND_SIGNALED,4,2           ## @IB_SEND_SIGNALED
	.no_dead_strip	_generate_completions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_completions
_generate_completions:                  ; @generate_completions
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldp	x21, x8, [x0]
	cmp	x21, x8
	b.ne	LBB0_3
LBB0_1:
	mov	x8, x21
LBB0_2:
	str	x8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x20, [x19, #40]
	mov	w22, #12
Lloh0:
	adrp	x23, _IB_SIGNAL_ALL_WR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IB_SIGNAL_ALL_WR@GOTPAGEOFF]
Lloh2:
	adrp	x24, _IB_SEND_SIGNALED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IB_SEND_SIGNALED@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	madd	x8, x10, x22, x9
	add	x1, x8, #8
	mov	x0, x20
	bl	_mlx5_ib_generate_wc
	bl	_WARN_ON_ONCE
	ldr	x8, [x19, #8]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	wzr, [x25]
	add	x21, x21, #1
	cmp	x21, x8
	b.eq	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x10, x9, [x19, #24]
	udiv	x11, x21, x10
	msub	x10, x11, x10, x21
	madd	x25, x10, x22, x9
	ldr	w11, [x25]
	cbz	w11, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x11, [x19, #16]
	ldr	x12, [x23]
	cmp	x11, x12
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	madd	x11, x10, x22, x9
	ldr	w11, [x11, #4]
	ldr	w12, [x24]
	tst	w12, w11
	b.ne	LBB0_4
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_SIGNAL_ALL_WR,8,3           ; @IB_SIGNAL_ALL_WR
	.comm	_IB_SEND_SIGNALED,4,2           ; @IB_SEND_SIGNALED
	.no_dead_strip	_generate_completions
.subsections_via_symbols
