	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rds_tcp_init
_rds_tcp_init:                          ## @rds_tcp_init
	.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
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	$4, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_kmem_cache_create
	movq	_rds_tcp_conn_slab@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_rds_tcp_recv_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	_rds_tcp_transport@GOTPCREL(%rip), %rdi
	callq	_rds_trans_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rds_tcp_listen_init
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %r14d
	movq	_rds_tcp_transport@GOTPCREL(%rip), %rdi
	callq	_rds_trans_unregister
	movl	%r14d, %ebx
LBB0_7:
	xorl	%eax, %eax
	callq	_rds_tcp_recv_exit
LBB0_8:
	movl	(%r15), %edi
	callq	_kmem_cache_destroy
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_RDS_INFO_TCP_SOCKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_rds_tcp_tc_info@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rds_info_register_func
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rds_tcp_connection"

	.comm	_rds_tcp_conn_slab,4,2          ## @rds_tcp_conn_slab
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_rds_tcp_transport,4,2          ## @rds_tcp_transport
	.comm	_RDS_INFO_TCP_SOCKETS,4,2       ## @RDS_INFO_TCP_SOCKETS
	.comm	_rds_tcp_tc_info,4,2            ## @rds_tcp_tc_info
	.no_dead_strip	_rds_tcp_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rds_tcp_init
_rds_tcp_init:                          ; @rds_tcp_init
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #4
	mov	w2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_kmem_cache_create
Lloh2:
	adrp	x20, _rds_tcp_conn_slab@GOTPAGE
Lloh3:
	ldr	x20, [x20, _rds_tcp_conn_slab@GOTPAGEOFF]
	str	w0, [x20]
	cbz	w0, LBB0_7
; %bb.1:
	bl	_rds_tcp_recv_init
	mov	x19, x0
	cbnz	w0, LBB0_6
; %bb.2:
Lloh4:
	adrp	x0, _rds_tcp_transport@GOTPAGE
Lloh5:
	ldr	x0, [x0, _rds_tcp_transport@GOTPAGEOFF]
	bl	_rds_trans_register
	mov	x19, x0
	cbnz	w0, LBB0_5
; %bb.3:
	bl	_rds_tcp_listen_init
	mov	x19, x0
	cbz	w0, LBB0_9
; %bb.4:
Lloh6:
	adrp	x0, _rds_tcp_transport@GOTPAGE
Lloh7:
	ldr	x0, [x0, _rds_tcp_transport@GOTPAGEOFF]
	bl	_rds_trans_unregister
LBB0_5:
	bl	_rds_tcp_recv_exit
LBB0_6:
	ldr	w0, [x20]
	bl	_kmem_cache_destroy
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh11:
	adrp	x8, _RDS_INFO_TCP_SOCKETS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RDS_INFO_TCP_SOCKETS@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _rds_tcp_tc_info@GOTPAGE
Lloh15:
	ldr	x8, [x8, _rds_tcp_tc_info@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_rds_info_register_func
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rds_tcp_connection"

	.comm	_rds_tcp_conn_slab,4,2          ; @rds_tcp_conn_slab
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_rds_tcp_transport,4,2          ; @rds_tcp_transport
	.comm	_RDS_INFO_TCP_SOCKETS,4,2       ; @RDS_INFO_TCP_SOCKETS
	.comm	_rds_tcp_tc_info,4,2            ; @rds_tcp_tc_info
	.no_dead_strip	_rds_tcp_init
.subsections_via_symbols
