	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rlisten                        ## -- Begin function rlisten
	.p2align	4, 0x90
_rlisten:                               ## @rlisten
	.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
	movl	%esi, %r14d
	movl	%edi, %esi
	movq	_idm@GOTPCREL(%rip), %rdi
	callq	_idm_lookup
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rcx
	movq	_rs_listening@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	cmpq	(%r15), %rcx
	je	LBB0_4
## %bb.2:
	movl	8(%rbx), %edi
	movl	%r14d, %esi
	callq	_rdma_listen
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_EBADF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_idm,4,2                        ## @idm
	.comm	_EBADF,4,2                      ## @EBADF
	.comm	_rs_listening,8,3               ## @rs_listening
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rlisten                        ; -- Begin function rlisten
	.p2align	2
_rlisten:                               ; @rlisten
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x1, x0
Lloh0:
	adrp	x0, _idm@GOTPAGE
Lloh1:
	ldr	x0, [x0, _idm@GOTPAGEOFF]
	bl	_idm_lookup
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh2:
	adrp	x21, _rs_listening@GOTPAGE
Lloh3:
	ldr	x21, [x21, _rs_listening@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh4:
	adrp	x8, _EBADF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ERR
LBB0_4:
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_rdma_listen
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_idm,4,2                        ; @idm
	.comm	_EBADF,4,2                      ; @EBADF
	.comm	_rs_listening,8,3               ; @rs_listening
.subsections_via_symbols
