	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_close                     ## -- Begin function dccp_close
	.p2align	4, 0x90
_dccp_close:                            ## @dccp_close
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_dccp_sk
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_lock_sock
	movq	_SHUTDOWN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movl	(%r15), %eax
	movq	_DCCP_LISTEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_DCCP_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_dccp_set_state
	movq	%r15, %rdi
	callq	_inet_csk_listen_stop
	jmp	LBB0_13
LBB0_2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sk_stop_timer
	leaq	20(%r15), %r12
	movq	%r12, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addq	(%rax), %rbx
	movq	%rax, %rdi
	callq	___kfree_skb
	movq	%r12, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_DCCP_WARN
	movq	_DCCP_RESET_CODE_ABORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_dccp_send_reset
	movq	_DCCP_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_dccp_set_state
	jmp	LBB0_12
LBB0_7:
	movq	_SOCK_LINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sock_flag
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	cmpl	$0, 16(%r15)
	je	LBB0_9
LBB0_10:
	movl	(%r15), %eax
	movq	_DCCP_CLOSED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_dccp_terminate_connection
	jmp	LBB0_12
LBB0_9:
	movq	8(%r15), %rax
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*8(%rax)
LBB0_12:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_sk_stream_wait_close
LBB0_13:
	movl	(%r15), %ebx
	movq	%r15, %rdi
	callq	_sock_hold
	movq	%r15, %rdi
	callq	_sock_orphan
	movq	%r15, %rdi
	callq	_release_sock
	xorl	%eax, %eax
	callq	_local_bh_disable
	movq	%r15, %rdi
	callq	_bh_lock_sock
	movq	%r15, %rdi
	callq	_sock_owned_by_user
	movl	%eax, %edi
	callq	_WARN_ON
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_percpu_counter_inc
	movq	_DCCP_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jne	LBB0_16
## %bb.14:
	cmpl	%eax, (%r15)
	jne	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	callq	_inet_csk_destroy_sock
LBB0_16:
	movq	%r15, %rdi
	callq	_bh_unlock_sock
	xorl	%eax, %eax
	callq	_local_bh_enable
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sock_put                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SHUTDOWN_MASK,4,2              ## @SHUTDOWN_MASK
	.comm	_DCCP_LISTEN,4,2                ## @DCCP_LISTEN
	.comm	_DCCP_CLOSED,4,2                ## @DCCP_CLOSED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DCCP: ABORT -- %u bytes unread\n"

	.comm	_DCCP_RESET_CODE_ABORTED,4,2    ## @DCCP_RESET_CODE_ABORTED
	.comm	_SOCK_LINGER,4,2                ## @SOCK_LINGER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_close                     ; -- Begin function dccp_close
	.p2align	2
_dccp_close:                            ; @dccp_close
	.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, x1
	mov	x19, x0
	bl	_dccp_sk
	mov	x21, x0
	mov	x0, x19
	bl	_lock_sock
Lloh0:
	adrp	x8, _SHUTDOWN_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHUTDOWN_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _DCCP_LISTEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DCCP_LISTEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x23, _DCCP_CLOSED@GOTPAGE
Lloh7:
	ldr	x23, [x23, _DCCP_CLOSED@GOTPAGEOFF]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_dccp_set_state
	mov	x0, x19
	bl	_inet_csk_listen_stop
	b	LBB0_13
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	_sk_stop_timer
	add	x21, x19, #20
	mov	x0, x21
	bl	___skb_dequeue
	cbz	x0, LBB0_7
; %bb.3:
	mov	x22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0]
	add	x22, x8, x22
	bl	___kfree_skb
	mov	x0, x21
	bl	___skb_dequeue
	cbnz	x0, LBB0_4
; %bb.5:
	cbz	x22, LBB0_7
; %bb.6:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_DCCP_WARN
Lloh10:
	adrp	x8, _DCCP_RESET_CODE_ABORTED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DCCP_RESET_CODE_ABORTED@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dccp_send_reset
	ldr	w1, [x23]
	mov	x0, x19
	bl	_dccp_set_state
	b	LBB0_12
LBB0_7:
Lloh13:
	adrp	x8, _SOCK_LINGER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SOCK_LINGER@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_11
LBB0_9:
	ldr	w8, [x19]
	ldr	w9, [x23]
	cmp	w8, w9
	b.eq	LBB0_12
; %bb.10:
	mov	x0, x19
	bl	_dccp_terminate_connection
	b	LBB0_12
LBB0_11:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_sk_stream_wait_close
LBB0_13:
	ldr	w20, [x19]
	mov	x0, x19
	bl	_sock_hold
	mov	x0, x19
	bl	_sock_orphan
	mov	x0, x19
	bl	_release_sock
	bl	_local_bh_disable
	mov	x0, x19
	bl	_bh_lock_sock
	mov	x0, x19
	bl	_sock_owned_by_user
	bl	_WARN_ON
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_percpu_counter_inc
	ldr	w8, [x23]
	ldr	w9, [x19]
	cmp	w20, w8
	ccmp	w9, w8, #0, eq
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_inet_csk_destroy_sock
LBB0_15:
	mov	x0, x19
	bl	_bh_unlock_sock
	bl	_local_bh_enable
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_sock_put
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SHUTDOWN_MASK,4,2              ; @SHUTDOWN_MASK
	.comm	_DCCP_LISTEN,4,2                ; @DCCP_LISTEN
	.comm	_DCCP_CLOSED,4,2                ; @DCCP_CLOSED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DCCP: ABORT -- %u bytes unread\n"

	.comm	_DCCP_RESET_CODE_ABORTED,4,2    ; @DCCP_RESET_CODE_ABORTED
	.comm	_SOCK_LINGER,4,2                ; @SOCK_LINGER
.subsections_via_symbols
