	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rds_tcp_accept_one
_rds_tcp_accept_one:                    ## @rds_tcp_accept_one
	.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
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	movq	(%rdi), %rax
	movl	8(%rax), %edi
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	-32(%rbp), %rcx
	callq	_sock_create_lite
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_1
## %bb.4:
	movl	16(%rbx), %eax
	movq	-32(%rbp), %rsi
	movl	%eax, 16(%rsi)
	movq	8(%rbx), %rax
	movq	%rax, 8(%rsi)
	movq	8(%rbx), %rax
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	movq	-32(%rbp), %rdi
	callq	_rds_tcp_tune
	movq	-32(%rbp), %rax
	movq	(%rax), %rdi
	callq	_inet_sk
	movq	%rax, %rbx
	leaq	4(%rax), %r14
	movl	12(%rax), %edi
	callq	_ntohs
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	movq	%rbx, %rcx
	movl	%eax, %r8d
	callq	_rdsdebug
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_rds_tcp_transport@GOTPCREL(%rip), %rdx
	callq	_rds_conn_create
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_PTR_ERR
LBB0_7:
	movl	%eax, %r14d
LBB0_1:
	movq	-32(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_sock_release
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_RDS_CONN_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RDS_CONN_CONNECTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rds_conn_transition
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_rds_tcp_set_callbacks
	movq	%rbx, %rdi
	callq	_rds_connect_complete
	xorl	%r14d, %r14d
	jmp	LBB0_3
LBB0_10:
	movq	%rbx, %rdi
	callq	_rds_conn_state
	movq	_RDS_CONN_UP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movq	_s_tcp_listen_closed_stale@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_s_tcp_connect_raced@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %edi
	callq	_rds_tcp_stats_inc
	movq	%rbx, %rdi
	callq	_rds_conn_drop
	xorl	%r14d, %r14d
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"accepted tcp %pI4:%u -> %pI4:%u\n"

	.comm	_rds_tcp_transport,4,2          ## @rds_tcp_transport
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_RDS_CONN_DOWN,4,2              ## @RDS_CONN_DOWN
	.comm	_RDS_CONN_CONNECTING,4,2        ## @RDS_CONN_CONNECTING
	.comm	_RDS_CONN_UP,8,3                ## @RDS_CONN_UP
	.comm	_s_tcp_listen_closed_stale,4,2  ## @s_tcp_listen_closed_stale
	.comm	_s_tcp_connect_raced,4,2        ## @s_tcp_connect_raced
	.no_dead_strip	_rds_tcp_accept_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rds_tcp_accept_one
_rds_tcp_accept_one:                    ; @rds_tcp_accept_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	str	xzr, [sp, #8]
	ldr	x8, [x0]
	ldp	w1, w0, [x8, #4]
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	_sock_create_lite
	mov	x19, x0
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	w8, [x20, #16]
	ldr	x1, [sp, #8]
	str	w8, [x1, #16]
	ldr	x8, [x20, #8]
	str	x8, [x1, #8]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _O_NONBLOCK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _O_NONBLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	mov	x0, x20
	blr	x8
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_rds_tcp_tune
	ldr	x8, [sp, #8]
	ldr	x0, [x8]
	bl	_inet_sk
	mov	x19, x0
	add	x20, x0, #4
	ldr	w0, [x0, #12]
	bl	_ntohs
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_ntohs
	mov	x4, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	mov	x3, x19
	bl	_rdsdebug
	ldp	w1, w0, [x19]
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x2, _rds_tcp_transport@GOTPAGE
Lloh9:
	ldr	x2, [x2, _rds_tcp_transport@GOTPAGEOFF]
	bl	_rds_conn_create
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.3:
	mov	x0, x19
	bl	_PTR_ERR
LBB0_4:
	mov	x19, x0
LBB0_5:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_7
LBB0_6:
	bl	_sock_release
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
Lloh10:
	adrp	x8, _RDS_CONN_DOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RDS_CONN_DOWN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _RDS_CONN_CONNECTING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RDS_CONN_CONNECTING@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rds_conn_transition
	cbz	w0, LBB0_10
; %bb.9:
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_rds_tcp_set_callbacks
	mov	x0, x19
	bl	_rds_connect_complete
	mov	w19, #0
	b	LBB0_7
LBB0_10:
	mov	x0, x19
	bl	_rds_conn_state
Lloh16:
	adrp	x8, _RDS_CONN_UP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RDS_CONN_UP@GOTPAGEOFF]
Lloh18:
	adrp	x9, _s_tcp_listen_closed_stale@GOTPAGE
Lloh19:
	ldr	x9, [x9, _s_tcp_listen_closed_stale@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x10, _s_tcp_connect_raced@GOTPAGE
Lloh22:
	ldr	x10, [x10, _s_tcp_connect_raced@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	bl	_rds_tcp_stats_inc
	mov	x0, x19
	bl	_rds_conn_drop
	mov	w19, #0
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_6
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"accepted tcp %pI4:%u -> %pI4:%u\n"

	.comm	_rds_tcp_transport,4,2          ; @rds_tcp_transport
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_RDS_CONN_DOWN,4,2              ; @RDS_CONN_DOWN
	.comm	_RDS_CONN_CONNECTING,4,2        ; @RDS_CONN_CONNECTING
	.comm	_RDS_CONN_UP,8,3                ; @RDS_CONN_UP
	.comm	_s_tcp_listen_closed_stale,4,2  ; @s_tcp_listen_closed_stale
	.comm	_s_tcp_connect_raced,4,2        ; @s_tcp_connect_raced
	.no_dead_strip	_rds_tcp_accept_one
.subsections_via_symbols
