	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_free
_rs_free:                               ## @rs_free
	.cfi_startproc
## %bb.0:
	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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.22:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ds_free                        ## TAILCALL
LBB0_1:
	movq	104(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_free
LBB0_3:
	movq	88(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	movq	96(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rdi
	callq	_rdma_dereg_mr
	movq	88(%rbx), %rdi
LBB0_6:
	callq	_free
LBB0_7:
	movq	72(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.8:
	movq	80(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, %rdi
	callq	_rdma_dereg_mr
	movq	72(%rbx), %rdi
LBB0_10:
	callq	_free
LBB0_11:
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.12:
	movq	64(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%rax, %rdi
	callq	_rdma_dereg_mr
	movq	56(%rbx), %rdi
LBB0_14:
	callq	_free
LBB0_15:
	cmpq	$0, 40(%rbx)
	je	LBB0_19
## %bb.16:
	movq	%rbx, %rdi
	callq	_rs_free_iomappings
	movq	40(%rbx), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_18
## %bb.17:
	movl	(%rdi), %edi
	movl	48(%rbx), %esi
	callq	_ibv_ack_cq_events
	movq	40(%rbx), %rdi
	callq	_rdma_destroy_qp
	movq	40(%rbx), %rdi
LBB0_18:
	callq	_rdma_destroy_id
LBB0_19:
	cmpq	$0, 8(%rbx)
	js	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	callq	_rs_remove
LBB0_21:
	leaq	32(%rbx), %rdi
	callq	_fastlock_destroy
	leaq	28(%rbx), %rdi
	callq	_fastlock_destroy
	leaq	24(%rbx), %rdi
	callq	_fastlock_destroy
	leaq	20(%rbx), %rdi
	callq	_fastlock_destroy
	leaq	16(%rbx), %rdi
	callq	_fastlock_destroy
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DGRAM,8,3                 ## @SOCK_DGRAM
	.no_dead_strip	_rs_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_free
_rs_free:                               ; @rs_free
	.cfi_startproc
; %bb.0:
	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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ds_free
LBB0_2:
	ldr	x0, [x19, #104]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_free
LBB0_4:
	ldr	x0, [x19, #88]
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x8
	bl	_rdma_dereg_mr
	ldr	x0, [x19, #88]
LBB0_7:
	bl	_free
LBB0_8:
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_12
; %bb.9:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x8
	bl	_rdma_dereg_mr
	ldr	x0, [x19, #72]
LBB0_11:
	bl	_free
LBB0_12:
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_16
; %bb.13:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x8
	bl	_rdma_dereg_mr
	ldr	x0, [x19, #56]
LBB0_15:
	bl	_free
LBB0_16:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_20
; %bb.17:
	mov	x0, x19
	bl	_rs_free_iomappings
	ldr	x0, [x19, #40]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	w0, [x0]
	ldr	w1, [x19, #48]
	bl	_ibv_ack_cq_events
	ldr	x0, [x19, #40]
	bl	_rdma_destroy_qp
	ldr	x0, [x19, #40]
LBB0_19:
	bl	_rdma_destroy_id
LBB0_20:
	ldr	x8, [x19, #8]
	tbnz	x8, #63, LBB0_22
; %bb.21:
	mov	x0, x19
	bl	_rs_remove
LBB0_22:
	add	x0, x19, #32
	bl	_fastlock_destroy
	add	x0, x19, #28
	bl	_fastlock_destroy
	add	x0, x19, #24
	bl	_fastlock_destroy
	add	x0, x19, #20
	bl	_fastlock_destroy
	add	x0, x19, #16
	bl	_fastlock_destroy
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DGRAM,8,3                 ; @SOCK_DGRAM
	.no_dead_strip	_rs_free
.subsections_via_symbols
