	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function release
_release:                               ## @release
	.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
	movq	8(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r13
	movq	%r14, %rdi
	callq	_tipc_sk_port
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_lock_sock
	movq	(%r13), %rax
	movq	_SS_DISCONNECTING@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_3
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_buf_discard
	movq	(%r13), %rax
	cmpq	(%r15), %rax
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	_tipc_queue_size@GOTPCREL(%rip), %rdi
	callq	_atomic_dec
	movq	%rbx, %rdi
	callq	_TIPC_SKB_CB
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_buf_msg
	movl	%eax, %edi
	callq	_msg_data
	cmpq	%rax, %r12
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movq	_SS_CONNECTING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_SS_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rax
	movq	%rax, (%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_tipc_disconnect
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_TIPC_ERR_NO_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tipc_reject_msg
	movq	(%r13), %rax
	cmpq	(%r15), %rax
	jne	LBB0_3
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_tipc_deleteport
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_discard_rx_queue
	movq	(%r15), %rax
	movq	%rax, (%r13)
	movq	%r14, %rdi
	callq	_release_sock
	movq	%r14, %rdi
	callq	_sock_put
	movq	$0, 8(%r13)
	movq	_tipc_user_count@GOTPCREL(%rip), %rdi
	callq	_atomic_dec
	movl	%ebx, %eax
	jmp	LBB0_13
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SS_DISCONNECTING,8,3           ## @SS_DISCONNECTING
	.comm	_tipc_queue_size,4,2            ## @tipc_queue_size
	.comm	_SS_CONNECTING,8,3              ## @SS_CONNECTING
	.comm	_SS_CONNECTED,8,3               ## @SS_CONNECTED
	.comm	_TIPC_ERR_NO_PORT,4,2           ## @TIPC_ERR_NO_PORT
	.comm	_tipc_user_count,4,2            ## @tipc_user_count
	.no_dead_strip	_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function release
_release:                               ; @release
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_tipc_sk_port
	mov	x21, x0
	mov	x0, x20
	bl	_lock_sock
	ldr	x8, [x19]
Lloh0:
	adrp	x24, _SS_DISCONNECTING@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SS_DISCONNECTING@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_2:
	ldr	w0, [x21]
	bl	_tipc_deleteport
	mov	x21, x0
	mov	x0, x20
	bl	_discard_rx_queue
	ldr	x8, [x24]
	str	x8, [x19]
	mov	x0, x20
	bl	_release_sock
	mov	x0, x20
	bl	_sock_put
	str	xzr, [x19, #8]
Lloh2:
	adrp	x0, _tipc_user_count@GOTPAGE
Lloh3:
	ldr	x0, [x0, _tipc_user_count@GOTPAGEOFF]
	bl	_atomic_dec
	mov	x0, x21
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh4:
	adrp	x22, _tipc_queue_size@GOTPAGE
Lloh5:
	ldr	x22, [x22, _tipc_queue_size@GOTPAGEOFF]
Lloh6:
	adrp	x25, _SS_CONNECTING@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SS_CONNECTING@GOTPAGEOFF]
Lloh8:
	adrp	x26, _SS_CONNECTED@GOTPAGE
Lloh9:
	ldr	x26, [x26, _SS_CONNECTED@GOTPAGEOFF]
Lloh10:
	adrp	x27, _TIPC_ERR_NO_PORT@GOTPAGE
Lloh11:
	ldr	x27, [x27, _TIPC_ERR_NO_PORT@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_buf_discard
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	___skb_dequeue
	cbz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x23, x0
	mov	x0, x22
	bl	_atomic_dec
	mov	x0, x23
	bl	_TIPC_SKB_CB
	ldr	x28, [x0]
	mov	x0, x23
	bl	_buf_msg
	bl	_msg_data
	cmp	x28, x0
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x25]
	ldr	x10, [x26]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x24]
	str	x8, [x19]
	ldr	w0, [x21]
	bl	_tipc_disconnect
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x27]
	mov	x0, x23
	bl	_tipc_reject_msg
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SS_DISCONNECTING,8,3           ; @SS_DISCONNECTING
	.comm	_tipc_queue_size,4,2            ; @tipc_queue_size
	.comm	_SS_CONNECTING,8,3              ; @SS_CONNECTING
	.comm	_SS_CONNECTED,8,3               ; @SS_CONNECTED
	.comm	_TIPC_ERR_NO_PORT,4,2           ; @TIPC_ERR_NO_PORT
	.comm	_tipc_user_count,4,2            ; @tipc_user_count
	.no_dead_strip	_release
.subsections_via_symbols
