	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function accept
_accept:                                ## @accept
	.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
	subq	$40, %rsp
	.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, %rbx
	movq	%rdi, %r12
	movq	8(%rdi), %r13
	movq	%r13, %rdi
	callq	_lock_sock
	movq	(%r12), %rax
	movq	_SS_READY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_SS_LISTENING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_O_NONBLOCK@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_skb_queue_empty
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%r15d, (%r14)
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_release_sock
	movq	8(%r13), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_skb_queue_empty
	xorl	%esi, %esi
	testq	%rax, %rax
	sete	%sil
	movl	%ebx, %edi
	callq	_wait_event_interruptible
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_lock_sock
	testl	%ebx, %ebx
	je	LBB0_5
	jmp	LBB0_16
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movq	%r13, %rdi
	callq	_skb_peek
	movq	%rax, %r15
	movq	8(%r12), %rdi
	callq	_sock_net
	movl	%eax, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_tipc_create
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_tipc_sk
	movq	%rax, %r12
	movq	8(%rax), %rax
	movq	%r15, %rdi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	8(%rax), %r15d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_buf_msg
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_lock_sock
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	callq	_reject_rx_queue
	movq	%rbx, %rdi
	callq	_msg_origport
	movl	%eax, 4(%r12)
	movq	%rbx, %rdi
	callq	_msg_orignode
	movl	%eax, (%r12)
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_tipc_connect2port
	movq	_SS_CONNECTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_msg_importance
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_tipc_set_portimportance
	movq	%rbx, %rdi
	callq	_msg_named
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_msg_nametype
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, 4(%r15)
	movq	%rbx, %rdi
	callq	_msg_nameinst
	movl	%eax, (%r15)
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_msg_dbg
	movq	%rbx, %rdi
	callq	_msg_data_sz
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movq	%r13, %rdi
	callq	___skb_dequeue
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	___skb_queue_head
	jmp	LBB0_15
LBB0_7:
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_16:
	movq	%r13, %rdi
	callq	_release_sock
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	$0, -80(%rbp)
	movq	%r13, %rdi
	callq	_advance_rx_queue
	leaq	-80(%rbp), %rdx
	xorl	%edi, %edi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_send_packet
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_15:
	movq	%rbx, %rdi
	callq	_release_sock
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_SS_READY,8,3                   ## @SS_READY
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_SS_LISTENING,8,3               ## @SS_LISTENING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_EWOULDBLOCK,4,2                ## @EWOULDBLOCK
	.comm	_SS_CONNECTED,8,3               ## @SS_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<ACC<: "

	.no_dead_strip	_accept
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function accept
_accept:                                ; @accept
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_lock_sock
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _SS_READY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SS_READY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_14
LBB0_2:
Lloh5:
	adrp	x9, _SS_LISTENING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SS_LISTENING@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
Lloh8:
	adrp	x24, _O_NONBLOCK@GOTPAGE
Lloh9:
	ldr	x24, [x24, _O_NONBLOCK@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_skb_queue_empty
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	tst	w8, w21
	b.ne	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_release_sock
	ldr	x8, [x19, #8]
	ldr	w23, [x8]
	mov	x0, x19
	bl	_skb_queue_empty
	cmp	x0, #0
	cset	w1, eq
	mov	x0, x23
	bl	_wait_event_interruptible
	mov	x23, x0
	mov	x0, x19
	bl	_lock_sock
	cbz	w23, LBB0_4
	b	LBB0_15
LBB0_7:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
	mov	x0, x19
	bl	_skb_peek
	mov	x21, x0
	ldr	x0, [x22, #8]
	bl	_sock_net
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_tipc_create
	mov	x23, x0
	cbnz	w0, LBB0_15
; %bb.9:
	ldr	x22, [x20, #8]
	mov	x0, x22
	bl	_tipc_sk
	mov	x24, x0
	ldr	x26, [x0, #8]
	ldr	w25, [x26, #8]
	mov	x0, x21
	bl	_buf_msg
	mov	x23, x0
	mov	x0, x22
	bl	_lock_sock
	mov	x0, x22
	bl	_reject_rx_queue
	mov	x0, x23
	bl	_msg_origport
	str	w0, [x24, #4]
	mov	x0, x23
	bl	_msg_orignode
	str	w0, [x24]
	mov	x0, x25
	mov	x1, x24
	bl	_tipc_connect2port
Lloh12:
	adrp	x8, _SS_CONNECTED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SS_CONNECTED@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x20]
	mov	x0, x23
	bl	_msg_importance
	mov	x1, x0
	mov	x0, x25
	bl	_tipc_set_portimportance
	mov	x0, x23
	bl	_msg_named
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x23
	bl	_msg_nametype
	str	w0, [x26, #4]
	mov	x0, x23
	bl	_msg_nameinst
	str	w0, [x26]
LBB0_11:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_msg_dbg
	mov	x0, x23
	bl	_msg_data_sz
	cbz	w0, LBB0_16
; %bb.12:
	mov	x0, x19
	bl	___skb_dequeue
	mov	x0, x22
	mov	x1, x21
	bl	___skb_queue_head
	b	LBB0_17
LBB0_13:
Lloh17:
	adrp	x8, _EWOULDBLOCK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EWOULDBLOCK@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_15:
	mov	x0, x19
	bl	_release_sock
	mov	x0, x23
	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
	add	sp, sp, #96
	ret
LBB0_16:
	str	xzr, [sp, #8]
	mov	x0, x19
	bl	_advance_rx_queue
	add	x2, sp, #8
	mov	x0, #0
	mov	x1, x20
	mov	w3, #0
	bl	_send_packet
LBB0_17:
	mov	x0, x22
	bl	_release_sock
	mov	w23, #0
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SS_READY,8,3                   ; @SS_READY
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_SS_LISTENING,8,3               ; @SS_LISTENING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_EWOULDBLOCK,4,2                ; @EWOULDBLOCK
	.comm	_SS_CONNECTED,8,3               ; @SS_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<ACC<: "

	.no_dead_strip	_accept
.subsections_via_symbols
