	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_usr_rcvoob
_tcp_usr_rcvoob:                        ## @tcp_usr_rcvoob
	.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, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_sotoinpcb
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	%r13, %rdi
	callq	_INP_WLOCK
	movq	_INP_TIMEWAIT@GOTPCREL(%rip), %rax
	movq	_INP_DROPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%r13)
	je	LBB0_2
## %bb.1:
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_2:
	movq	%r13, %rdi
	callq	_intotcpcb
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_TCPDEBUG1
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	movq	_SBS_RCVATMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%rbx)
	je	LBB0_6
LBB0_4:
	movq	_SO_OOBINLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	jne	LBB0_6
## %bb.5:
	movl	(%r14), %eax
	movq	_TCPOOB_HADDATA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r12d
LBB0_8:
	movq	_PRU_RCVOOB@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_TCPDEBUG2
	movq	_debug__user@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movq	%r14, %rsi
	callq	_TCP_PROBE2
	movq	%r13, %rdi
	callq	_INP_WUNLOCK
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_TCPOOB_HAVEDATA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.10:
	movl	$1, (%r12)
	movl	4(%r14), %ebx
	movq	_caddr_t@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mtod
	movl	%ebx, (%rax)
	movq	_MSG_PEEK@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	testl	%r15d, (%rax)
	jne	LBB0_8
## %bb.11:
	movq	_TCPOOB_HADDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TCPOOB_HAVEDATA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	xorl	%eax, (%r14)
	jmp	LBB0_8
LBB0_12:
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPDEBUG0,4,2                  ## @TCPDEBUG0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tcp_usr_rcvoob: inp == NULL"

	.comm	_INP_TIMEWAIT,4,2               ## @INP_TIMEWAIT
	.comm	_INP_DROPPED,4,2                ## @INP_DROPPED
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.comm	_SBS_RCVATMARK,4,2              ## @SBS_RCVATMARK
	.comm	_SO_OOBINLINE,4,2               ## @SO_OOBINLINE
	.comm	_TCPOOB_HADDATA,4,2             ## @TCPOOB_HADDATA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TCPOOB_HAVEDATA,4,2            ## @TCPOOB_HAVEDATA
	.comm	_EWOULDBLOCK,4,2                ## @EWOULDBLOCK
	.comm	_caddr_t,4,2                    ## @caddr_t
	.comm	_MSG_PEEK,4,2                   ## @MSG_PEEK
	.comm	_PRU_RCVOOB,4,2                 ## @PRU_RCVOOB
	.comm	_debug__user,4,2                ## @debug__user
	.no_dead_strip	_tcp_usr_rcvoob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_usr_rcvoob
_tcp_usr_rcvoob:                        ; @tcp_usr_rcvoob
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_sotoinpcb
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	mov	x0, x19
	bl	_INP_WLOCK
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _INP_TIMEWAIT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INP_TIMEWAIT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _INP_DROPPED@GOTPAGE
Lloh6:
	ldr	x10, [x10, _INP_DROPPED@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x20, #0
Lloh8:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_intotcpcb
	mov	x20, x0
	bl	_TCPDEBUG1
	ldr	x8, [x23]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x23, #12]
Lloh10:
	adrp	x9, _SBS_RCVATMARK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SBS_RCVATMARK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_4:
	ldr	w8, [x23, #8]
Lloh13:
	adrp	x9, _SO_OOBINLINE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SO_OOBINLINE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x20]
Lloh16:
	adrp	x23, _TCPOOB_HADDATA@GOTPAGE
Lloh17:
	ldr	x23, [x23, _TCPOOB_HADDATA@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_6:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w21, [x8]
LBB0_8:
Lloh20:
	adrp	x22, _PRU_RCVOOB@GOTPAGE
Lloh21:
	ldr	x22, [x22, _PRU_RCVOOB@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_TCPDEBUG2
Lloh22:
	adrp	x8, _debug__user@GOTPAGE
Lloh23:
	ldr	x8, [x8, _debug__user@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	w2, [x22]
	mov	x1, x20
	bl	_TCP_PROBE2
	mov	x0, x19
	bl	_INP_WUNLOCK
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh25:
	adrp	x24, _TCPOOB_HAVEDATA@GOTPAGE
Lloh26:
	ldr	x24, [x24, _TCPOOB_HAVEDATA@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.10:
	mov	w8, #1
	str	w8, [x22]
	ldr	w25, [x20, #4]
Lloh27:
	adrp	x8, _caddr_t@GOTPAGE
Lloh28:
	ldr	x8, [x8, _caddr_t@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mtod
	str	w25, [x0]
Lloh30:
	adrp	x8, _MSG_PEEK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSG_PEEK@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.11:
	mov	w21, #0
	b	LBB0_8
LBB0_12:
Lloh33:
	adrp	x8, _EWOULDBLOCK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EWOULDBLOCK@GOTPAGEOFF]
	b	LBB0_7
LBB0_13:
	mov	w21, #0
	ldr	w8, [x24]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x20]
	eor	w8, w9, w8
	str	w8, [x20]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPDEBUG0,4,2                  ; @TCPDEBUG0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tcp_usr_rcvoob: inp == NULL"

	.comm	_INP_TIMEWAIT,4,2               ; @INP_TIMEWAIT
	.comm	_INP_DROPPED,4,2                ; @INP_DROPPED
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.comm	_SBS_RCVATMARK,4,2              ; @SBS_RCVATMARK
	.comm	_SO_OOBINLINE,4,2               ; @SO_OOBINLINE
	.comm	_TCPOOB_HADDATA,4,2             ; @TCPOOB_HADDATA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TCPOOB_HAVEDATA,4,2            ; @TCPOOB_HAVEDATA
	.comm	_EWOULDBLOCK,4,2                ; @EWOULDBLOCK
	.comm	_caddr_t,4,2                    ; @caddr_t
	.comm	_MSG_PEEK,4,2                   ; @MSG_PEEK
	.comm	_PRU_RCVOOB,4,2                 ; @PRU_RCVOOB
	.comm	_debug__user,4,2                ; @debug__user
	.no_dead_strip	_tcp_usr_rcvoob
.subsections_via_symbols
