	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recv_handler
_recv_handler:                          ## @recv_handler
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	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	%rdx, %rbx
	movq	(%rsi), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rdx
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	subl	(%rcx), %esi
	cmpq	$0, (%rdx)
	cmovel	%r8d, %esi
	jmp	LBB0_5
LBB0_7:
	retq
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	subl	(%rcx), %esi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%edx, %edx
LBB0_5:
	callq	*%rax
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ib_free_recv_mad               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,8,3              ## @IB_WC_SUCCESS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_recv_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recv_handler
_recv_handler:                          ; @recv_handler
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	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
	.cfi_remember_state
	mov	x19, x2
	ldr	x8, [x1]
	ldr	x0, [x8]
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
Lloh0:
	adrp	x10, _IB_WC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.3:
	ldr	x2, [x19]
	ldr	x9, [x2]
Lloh3:
	adrp	x10, _EINVAL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	x9, #0
	csneg	w1, wzr, w10, eq
	b	LBB0_6
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
LBB0_5:
	.cfi_restore_state
Lloh6:
	adrp	x9, _EIO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	neg	w1, w9
	mov	x2, #0
LBB0_6:
	blr	x8
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ib_free_recv_mad
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_SUCCESS,8,3              ; @IB_WC_SUCCESS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_recv_handler
.subsections_via_symbols
