	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_usr_ready
_tcp_usr_ready:                         ## @tcp_usr_ready
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_sotoinpcb
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_INP_WLOCK
	movq	_INP_TIMEWAIT@GOTPCREL(%rip), %rax
	movq	_INP_DROPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_INP_WUNLOCK
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_mb_free_notready
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_5
LBB0_2:
	movq	%rbx, %rdi
	callq	_intotcpcb
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_SOCKBUF_LOCK
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_sbready
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_SOCKBUF_UNLOCK
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.3:
	movq	(%r13), %rax
	movq	%r13, %rdi
	callq	*(%rax)
	movl	%eax, %r14d
LBB0_4:
	movq	%rbx, %rdi
	callq	_INP_WUNLOCK
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INP_TIMEWAIT,4,2               ## @INP_TIMEWAIT
	.comm	_INP_DROPPED,4,2                ## @INP_DROPPED
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.no_dead_strip	_tcp_usr_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_usr_ready
_tcp_usr_ready:                         ; @tcp_usr_ready
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_sotoinpcb
	mov	x19, x0
	bl	_INP_WLOCK
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _INP_TIMEWAIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INP_TIMEWAIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _INP_DROPPED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _INP_DROPPED@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_INP_WUNLOCK
	mov	x0, x21
	mov	x1, x20
	bl	_mb_free_notready
Lloh6:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	b	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_intotcpcb
	mov	x23, x0
	mov	x0, x22
	bl	_SOCKBUF_LOCK
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_sbready
	mov	x20, x0
	mov	x0, x22
	bl	_SOCKBUF_UNLOCK
	cbnz	w20, LBB0_4
; %bb.3:
	ldr	x8, [x23]
	ldr	x8, [x8]
	mov	x0, x23
	blr	x8
	mov	x20, x0
LBB0_4:
	mov	x0, x19
	bl	_INP_WUNLOCK
LBB0_5:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_INP_TIMEWAIT,4,2               ; @INP_TIMEWAIT
	.comm	_INP_DROPPED,4,2                ; @INP_DROPPED
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.no_dead_strip	_tcp_usr_ready
.subsections_via_symbols
