	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function poll_cqs
_poll_cqs:                              ## @poll_cqs
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_connections@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.1:
	movq	_message_count@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r13d, %r13d
	movq	_test@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_connections@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	%eax, %rdx
	cmpq	%rdx, %r13
	jge	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r15), %rdx
	leaq	(,%r13,2), %r12
	addq	%r13, %r12
	cmpl	$0, 8(%rdx,%r12,4)
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rdx,%r12,4), %edi
	movl	$8, %esi
	leaq	-80(%rbp), %rdx
	callq	_ibv_poll_cq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r15), %rax
	cmpl	$0, (%rax,%r12,4)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	leaq	(%rax,%r12,4), %rdi
	leaq	-80(%rbp), %rsi
	callq	_create_reply_ah
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	addl	%ebx, %r14d
	movq	_message_count@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, %r14d
	jge	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r15), %rax
	movl	4(%rax,%r12,4), %edi
	movl	$8, %esi
	leaq	-80(%rbp), %rdx
	callq	_ibv_poll_cq
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_6
LBB0_11:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_printf
	jmp	LBB0_15
LBB0_14:
	xorl	%ebx, %ebx
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_connections,4,2                ## @connections
	.comm	_test,8,3                       ## @test
	.comm	_message_count,4,2              ## @message_count
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"udaddy: failed polling CQ: %d\n"

	.no_dead_strip	_poll_cqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function poll_cqs
_poll_cqs:                              ; @poll_cqs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x20, _connections@GOTPAGE
Lloh4:
	ldr	x20, [x20, _connections@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x21, #0
Lloh5:
	adrp	x22, _message_count@GOTPAGE
Lloh6:
	ldr	x22, [x22, _message_count@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh7:
	adrp	x23, _test@GOTPAGE
Lloh8:
	ldr	x23, [x23, _test@GOTPAGEOFF]
	mov	w24, #12
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x10, [x23]
	madd	x11, x21, x24, x10
	ldr	w11, [x11, #8]
	cmp	w11, #0
	ccmp	w9, #1, #8, ne
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x21, x24, x10
	ldr	w0, [x8, #4]
	add	x2, sp, #8
	mov	w1, #8
	bl	_ibv_poll_cq
	mov	x19, x0
	tbnz	w0, #31, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	w19, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x23]
	madd	x0, x21, x24, x8
	ldr	w8, [x0]
	cbnz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x1, sp, #8
	bl	_create_reply_ah
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w9, [x22]
	add	w25, w19, w25
	cmp	w25, w9
	b.ge	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x23]
	madd	x8, x21, x24, x8
	ldr	w0, [x8, #4]
	add	x2, sp, #8
	mov	w1, #8
	bl	_ibv_poll_cq
	mov	x19, x0
	tbz	w0, #31, LBB0_7
LBB0_12:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
	b	LBB0_14
LBB0_13:
	mov	w19, #0
LBB0_14:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_connections,4,2                ; @connections
	.comm	_test,8,3                       ; @test
	.comm	_message_count,4,2              ; @message_count
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"udaddy: failed polling CQ: %d\n"

	.no_dead_strip	_poll_cqs
.subsections_via_symbols
