	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_packet
_send_packet:                           ## @send_packet
	.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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	8(%rsi), %r15
	movq	%r15, %rdi
	callq	_tipc_sk_port
	movq	%rax, %r13
	movl	16(%rbx), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.18:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_msg                       ## TAILCALL
LBB0_1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_lock_sock
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r13)
	sete	%al
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rcx
	movl	(%rcx), %edi
	movzbl	%al, %esi
	callq	_wait_event_interruptible
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_lock_sock
	testl	%r14d, %r14d
	jne	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	xorl	%edi, %edi
	movq	_SS_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r13), %edi
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	callq	_tipc_send
	movl	%eax, %r14d
	xorl	%edi, %edi
	movq	_ELINKCONG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_release_sock
	cmpl	$0, 4(%r13)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movb	$1, %al
	jmp	LBB0_14
LBB0_4:
	movq	(%r12), %rax
	movq	_SS_DISCONNECTING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	_EPIPE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_10:
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	callq	_release_sock
LBB0_17:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SS_CONNECTED,8,3               ## @SS_CONNECTED
	.comm	_SS_DISCONNECTING,8,3           ## @SS_DISCONNECTING
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_ELINKCONG,4,2                  ## @ELINKCONG
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_EWOULDBLOCK,4,2                ## @EWOULDBLOCK
	.no_dead_strip	_send_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_packet
_send_packet:                           ; @send_packet
	.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
	mov	x24, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x19, [x1, #8]
	mov	x0, x19
	bl	_tipc_sk_port
	mov	x23, x0
	ldr	w0, [x21, #16]
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x24
	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
	b	_send_msg
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_lock_sock
LBB0_4:
Lloh0:
	adrp	x25, _SS_CONNECTED@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SS_CONNECTED@GOTPAGEOFF]
Lloh2:
	adrp	x26, _ELINKCONG@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ELINKCONG@GOTPAGEOFF]
Lloh4:
	adrp	x27, _MSG_DONTWAIT@GOTPAGE
Lloh5:
	ldr	x27, [x27, _MSG_DONTWAIT@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x23]
	cmp	w8, #0
	cset	w1, eq
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_wait_event_interruptible
	mov	x24, x0
	mov	x0, x19
	bl	_lock_sock
	cbnz	w24, LBB0_17
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x9, [x25]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23, #8]
	ldp	w2, w1, [x21, #4]
	bl	_tipc_send
	mov	x24, x0
	ldr	w8, [x26]
	cmn	w0, w8
	cset	w0, ne
	bl	_likely
	cbnz	x0, LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x21]
	ldr	w9, [x27]
	tst	w9, w8
	b.ne	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_release_sock
	ldr	w8, [x23, #4]
	cbnz	w8, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w1, #1
	b	LBB0_6
LBB0_12:
	ldr	x8, [x22]
Lloh6:
	adrp	x9, _SS_DISCONNECTING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SS_DISCONNECTING@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.13:
Lloh9:
	adrp	x8, _EPIPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh11:
	adrp	x8, _EWOULDBLOCK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EWOULDBLOCK@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh13:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_17:
	cbz	x20, LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_release_sock
LBB0_19:
	mov	x0, x24
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SS_CONNECTED,8,3               ; @SS_CONNECTED
	.comm	_SS_DISCONNECTING,8,3           ; @SS_DISCONNECTING
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_ELINKCONG,4,2                  ; @ELINKCONG
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_EWOULDBLOCK,4,2                ; @EWOULDBLOCK
	.no_dead_strip	_send_packet
.subsections_via_symbols
