	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atalk_sendmsg
_atalk_sendmsg:                         ## @atalk_sendmsg
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_at_sk
	movl	(%r12), %r15d
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %r13
	movq	_MSG_CMSG_COMPAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r13), %ecx
	notl	%ecx
	testl	%ecx, %r15d
	je	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_DDP_MAXSZ@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jae	LBB0_5
## %bb.4:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_46:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	16(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.6:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_SOCK_ZAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sock_flag
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%r14, %rdi
	callq	_atalk_autobind
	testq	%rax, %rax
	js	LBB0_8
LBB0_9:
	cmpl	$32, 4(%r12)
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jb	LBB0_1
## %bb.10:
	movq	(%rdx), %rax
	movq	_AF_APPLETALK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.11:
	leaq	16(%rdx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %rax
	movq	_ATADDR_BCAST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.13:
	movq	_SOCK_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sock_flag
	testq	%rax, %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_18
## %bb.14:
	movq	_EPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_15:
	movq	(%r14), %rdx
	movq	_TCP_ESTABLISHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_16
## %bb.17:
	leaq	-144(%rbp), %rdx
	movq	_AF_APPLETALK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -160(%rbp)
	movl	32(%rax), %ecx
	movl	%ecx, -136(%rbp)
	movq	(%rax), %rcx
	movq	%rcx, -152(%rbp)
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rax), %rax
	movq	%rax, -144(%rbp)
	leaq	-160(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
LBB0_16:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_12:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_18:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_SOCK_DEBUG
	leaq	56(%rbx), %rcx
	movq	_ddp_dl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	addl	%ecx, %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_20
## %bb.19:
	movq	8(%rdx), %rax
	movq	_ATADDR_ANYNODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
LBB0_20:
	leaq	8(%rdx), %rdi
LBB0_22:
	callq	_atrtr_find
	testq	%rax, %rax
	je	LBB0_23
## %bb.24:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	24(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	12(%rax), %r8d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%r14, %rdx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_SOCK_DEBUG
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	addl	(%rax), %esi
	andl	(%r13), %r15d
	leaq	-72(%rbp), %rcx
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_sock_alloc_send_skb
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	%r14, 8(%rax)
	movq	%rax, %r13
	movq	_ddp_dl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_skb_reserve
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_skb_reserve
	movq	%r15, (%r13)
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_SOCK_DEBUG
	movl	$56, %esi
	movq	%r13, %rdi
	callq	_skb_put
	movq	%rax, %r15
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_htons
	movl	%eax, 48(%r15)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rax
	movq	%rax, 40(%r15)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rax
	movq	%rax, 32(%r15)
	movq	8(%rcx), %rax
	movq	%rax, (%r15)
	movl	12(%rdx), %eax
	movl	%eax, 24(%r15)
	movl	24(%rcx), %eax
	movl	%eax, 20(%r15)
	movl	8(%rdx), %eax
	movl	%eax, 16(%r15)
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_SOCK_DEBUG
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_skb_put
	movl	8(%r12), %esi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_memcpy_fromiovec
	movl	%eax, -72(%rbp)
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:
	movq	%r13, %rdi
	callq	_kfree_skb
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, %ebx
	jmp	LBB0_46
LBB0_23:
	movq	_ENETUNREACH@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_25:
	movl	-72(%rbp), %ebx
	jmp	LBB0_46
LBB0_21:
	movq	$0, -128(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	%rax, -120(%rbp)
	leaq	-128(%rbp), %rdi
	jmp	LBB0_22
LBB0_28:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	cmpl	$1, 8(%r14)
	jne	LBB0_30
## %bb.29:
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_30:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_atalk_checksum
LBB0_31:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movq	(%r15), %rax
	movq	_ATADDR_BCAST@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_36
## %bb.32:
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	testl	%eax, (%rdx)
	jne	LBB0_36
## %bb.33:
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rcx)
	jne	LBB0_36
## %bb.34:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_copy
	movq	_ATADDR_BCAST@GOTPCREL(%rip), %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movq	%rax, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %r12
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_SOCK_DEBUG
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_aarp_send_ddp
	movq	_ATADDR_BCAST@GOTPCREL(%rip), %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, %r12d
LBB0_36:
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	4(%rcx), %eax
	orl	%r12d, %eax
	je	LBB0_42
## %bb.37:
	movq	%rsi, %r13
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_SOCK_DEBUG
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_skb_orphan
	movq	(%r15), %rax
	cmpq	(%r13), %rax
	movq	_ddp_dl@GOTPCREL(%rip), %r15
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_41
## %bb.38:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -128(%rbp)
	leaq	-128(%rbp), %rdi
	callq	_atrtr_find
	testq	%rax, %rax
	je	LBB0_39
## %bb.40:
	movq	24(%rax), %r13
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r13, (%r12)
LBB0_41:
	movq	(%r15), %rdi
	movl	8(%r13), %edx
	movq	%r12, %rsi
	callq	*8(%rdi)
	jmp	LBB0_45
LBB0_42:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_SOCK_DEBUG
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_44
## %bb.43:
	movq	%rcx, %rax
	movups	8(%rcx), %xmm0
	movups	%xmm0, -120(%rbp)
	leaq	-128(%rbp), %rdx
LBB0_44:
	addq	$8, %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_aarp_send_ddp
LBB0_45:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_SOCK_DEBUG
	jmp	LBB0_46
LBB0_39:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree_skb
	movq	_ENETUNREACH@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_MSG_CMSG_COMPAT,4,2            ## @MSG_CMSG_COMPAT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DDP_MAXSZ,8,3                  ## @DDP_MAXSZ
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_SOCK_ZAPPED,4,2                ## @SOCK_ZAPPED
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_AF_APPLETALK,8,3               ## @AF_APPLETALK
	.comm	_ATADDR_BCAST,8,3               ## @ATADDR_BCAST
	.comm	_SOCK_BROADCAST,4,2             ## @SOCK_BROADCAST
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_TCP_ESTABLISHED,8,3            ## @TCP_ESTABLISHED
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SK %p: Got address.\n"

	.comm	_ddp_dl,8,3                     ## @ddp_dl
	.comm	_ATADDR_ANYNODE,8,3             ## @ATADDR_ANYNODE
	.comm	_ENETUNREACH,4,2                ## @ENETUNREACH
L_.str.1:                               ## @.str.1
	.asciz	"SK %p: Size needed %d, device %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"SK %p: Begin build.\n"

L_.str.3:                               ## @.str.3
	.asciz	"SK %p: Copy user data (%Zd bytes).\n"

	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_RTF_GATEWAY,4,2                ## @RTF_GATEWAY
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.4:                               ## @.str.4
	.asciz	"SK %p: send out(copy).\n"

L_.str.5:                               ## @.str.5
	.asciz	"SK %p: Loop back.\n"

L_.str.6:                               ## @.str.6
	.asciz	"SK %p: send out.\n"

L_.str.7:                               ## @.str.7
	.asciz	"SK %p: Done write (%Zd).\n"

	.no_dead_strip	_atalk_sendmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atalk_sendmsg
_atalk_sendmsg:                         ; @atalk_sendmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x19, x3
	mov	x21, x2
	ldr	x20, [x1]
	mov	x0, x20
	bl	_at_sk
	ldr	w23, [x21]
Lloh0:
	adrp	x25, _MSG_DONTWAIT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MSG_DONTWAIT@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh2:
	adrp	x9, _MSG_CMSG_COMPAT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MSG_CMSG_COMPAT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	wzr, w23, w8
	b.eq	LBB0_2
LBB0_1:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh7:
	adrp	x8, _DDP_MAXSZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DDP_MAXSZ@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x8, x19
	b.hs	LBB0_6
; %bb.3:
Lloh10:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_6:
	mov	x24, x0
	ldr	x28, [x21, #16]
	cbz	x28, LBB0_14
; %bb.7:
Lloh12:
	adrp	x8, _SOCK_ZAPPED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SOCK_ZAPPED@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sock_flag
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_atalk_autobind
	tbnz	x0, #63, LBB0_23
LBB0_9:
	ldr	w8, [x21, #4]
	cmp	w8, #32
	b.lo	LBB0_1
; %bb.10:
	ldr	x8, [x28]
Lloh15:
	adrp	x9, _AF_APPLETALK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AF_APPLETALK@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.11:
	add	x22, x28, #16
	ldr	x8, [x28, #8]
Lloh18:
	adrp	x9, _ATADDR_BCAST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ATADDR_BCAST@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.12:
Lloh21:
	adrp	x8, _SOCK_BROADCAST@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SOCK_BROADCAST@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sock_flag
	cbnz	x0, LBB0_16
; %bb.13:
Lloh24:
	adrp	x8, _EPERM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_4
LBB0_14:
	ldr	x8, [x20]
Lloh26:
	adrp	x9, _TCP_ESTABLISHED@GOTPAGE
Lloh27:
	ldr	x9, [x9, _TCP_ESTABLISHED@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.15:
	add	x8, sp, #64
	add	x22, x8, #16
Lloh29:
	adrp	x8, _AF_APPLETALK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AF_APPLETALK@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	str	x8, [sp, #64]
	ldr	w8, [x24, #32]
	str	w8, [sp, #88]
	ldr	x8, [x24]
	ldr	x9, [x24, #24]
	stp	x8, x9, [sp, #72]
	add	x28, sp, #64
LBB0_16:
Lloh32:
	adrp	x1, l_.str@PAGE
Lloh33:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x20
	bl	_SOCK_DEBUG
Lloh34:
	adrp	x8, _ddp_dl@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ddp_dl@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	ldr	w26, [x8]
	ldr	x8, [x22]
	cbnz	x8, LBB0_18
; %bb.17:
	ldr	x8, [x28, #8]
Lloh37:
	adrp	x9, _ATADDR_ANYNODE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ATADDR_ANYNODE@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
LBB0_18:
	add	x0, x28, #8
	bl	_atrtr_find
	cbz	x0, LBB0_26
LBB0_19:
	add	x27, x19, #56
	add	w26, w26, w27
	ldr	x22, [x0, #24]
	ldr	w8, [x22, #12]
	stp	x8, x0, [sp, #8]                ; 8-byte Folded Spill
	str	x26, [sp]
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x20
	bl	_SOCK_DEBUG
	ldr	w8, [x22]
	add	w1, w8, w26
	ldr	w8, [x25]
	and	w2, w8, w23
	add	x3, sp, #28
	mov	x0, x20
	bl	_sock_alloc_send_skb
	cbz	x0, LBB0_24
; %bb.20:
	mov	x23, x0
	str	x20, [x0, #8]
Lloh42:
	adrp	x8, _ddp_dl@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ddp_dl@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_skb_reserve
	ldr	w1, [x22]
	mov	x0, x23
	bl	_skb_reserve
	str	x22, [x23]
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x20
	bl	_SOCK_DEBUG
	mov	x0, x23
	mov	w1, #56
	bl	_skb_put
	mov	x26, x0
	mov	x0, x27
	bl	_htons
	str	w0, [x26, #48]
	mov	x25, x28
	ldp	x8, x9, [x25, #8]!
	str	x9, [x26, #40]
	ldr	x9, [x24, #16]
	str	x9, [x26, #32]
	str	x8, [x26]
	ldr	w8, [x24, #12]
	str	w8, [x26, #24]
	ldr	w8, [x25, #16]
	str	w8, [x26, #20]
	ldr	w8, [x24, #8]
	str	w8, [x26, #16]
	str	x19, [sp]
Lloh47:
	adrp	x1, l_.str.3@PAGE
Lloh48:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x20
	bl	_SOCK_DEBUG
	mov	x0, x23
	mov	x1, x19
	bl	_skb_put
	ldr	w1, [x21, #8]
	mov	x2, x19
	bl	_memcpy_fromiovec
	str	w0, [sp, #28]
	cbz	w0, LBB0_27
; %bb.21:
	mov	x0, x23
	bl	_kfree_skb
Lloh49:
	adrp	x8, _EFAULT@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_4
LBB0_22:
Lloh51:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
	b	LBB0_4
LBB0_23:
Lloh53:
	adrp	x8, _EBUSY@GOTPAGE
Lloh54:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_24:
	ldr	w19, [sp, #28]
	b	LBB0_5
LBB0_25:
	ldr	x8, [x24, #16]
	stp	xzr, x8, [sp, #32]
	add	x0, sp, #32
	bl	_atrtr_find
	cbnz	x0, LBB0_19
LBB0_26:
Lloh55:
	adrp	x8, _ENETUNREACH@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ENETUNREACH@GOTPAGEOFF]
	b	LBB0_4
LBB0_27:
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.ne	LBB0_29
; %bb.28:
	mov	x0, #0
	b	LBB0_30
LBB0_29:
	mov	x0, x23
	mov	x1, x27
	bl	_atalk_checksum
LBB0_30:
	str	x0, [x26, #8]
	ldr	x8, [x26]
Lloh57:
	adrp	x24, _ATADDR_BCAST@GOTPAGE
Lloh58:
	ldr	x24, [x24, _ATADDR_BCAST@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh59:
	adrp	x27, _IFF_LOOPBACK@GOTPAGE
Lloh60:
	ldr	x27, [x27, _IFF_LOOPBACK@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_33
; %bb.31:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
Lloh61:
	adrp	x9, _RTF_GATEWAY@GOTPAGE
Lloh62:
	ldr	x9, [x9, _RTF_GATEWAY@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_33
; %bb.32:
	ldr	w8, [x22, #4]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_44
LBB0_33:
	mov	w8, #0
LBB0_34:
	ldr	w9, [x22, #4]
	ldr	w10, [x27]
	and	w9, w10, w9
	orr	w8, w9, w8
	cbz	w8, LBB0_39
; %bb.35:
Lloh64:
	adrp	x1, l_.str.5@PAGE
Lloh65:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x2, x20
	bl	_SOCK_DEBUG
	mov	x0, x23
	bl	_skb_orphan
	ldr	x8, [x26]
	ldr	x9, [x24]
	cmp	x8, x9
Lloh66:
	adrp	x21, _ddp_dl@GOTPAGE
Lloh67:
	ldr	x21, [x21, _ddp_dl@GOTPAGEOFF]
	b.ne	LBB0_38
; %bb.36:
	stp	xzr, xzr, [sp, #32]
	add	x0, sp, #32
	bl	_atrtr_find
	cbz	x0, LBB0_43
; %bb.37:
	ldr	x22, [x0, #24]
	str	x22, [x23]
LBB0_38:
	ldr	x0, [x21]
	ldr	x8, [x0, #8]
	ldr	w2, [x22, #8]
	mov	x1, x23
	blr	x8
	b	LBB0_42
LBB0_39:
Lloh68:
	adrp	x1, l_.str.6@PAGE
Lloh69:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x2, x20
	bl	_SOCK_DEBUG
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w8, [x10]
Lloh70:
	adrp	x9, _RTF_GATEWAY@GOTPAGE
Lloh71:
	ldr	x9, [x9, _RTF_GATEWAY@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_41
; %bb.40:
	ldur	q0, [x10, #8]
	stur	q0, [sp, #40]
	add	x28, sp, #32
LBB0_41:
	add	x2, x28, #8
	mov	x0, x22
	mov	x1, x23
	mov	x3, #0
	bl	_aarp_send_ddp
LBB0_42:
	str	x19, [sp]
Lloh73:
	adrp	x1, l_.str.7@PAGE
Lloh74:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x2, x20
	bl	_SOCK_DEBUG
	b	LBB0_5
LBB0_43:
	mov	x0, x23
	bl	_kfree_skb
	b	LBB0_26
LBB0_44:
Lloh75:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh76:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_skb_copy
	cbz	x0, LBB0_33
; %bb.45:
	mov	x21, x0
Lloh78:
	adrp	x1, l_.str.4@PAGE
Lloh79:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x20
	bl	_SOCK_DEBUG
	mov	x0, x22
	mov	x1, x21
	mov	x2, x25
	mov	x3, #0
	bl	_aarp_send_ddp
	mov	w8, #1
	b	LBB0_34
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_MSG_CMSG_COMPAT,4,2            ; @MSG_CMSG_COMPAT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DDP_MAXSZ,8,3                  ; @DDP_MAXSZ
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_SOCK_ZAPPED,4,2                ; @SOCK_ZAPPED
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_AF_APPLETALK,8,3               ; @AF_APPLETALK
	.comm	_ATADDR_BCAST,8,3               ; @ATADDR_BCAST
	.comm	_SOCK_BROADCAST,4,2             ; @SOCK_BROADCAST
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_TCP_ESTABLISHED,8,3            ; @TCP_ESTABLISHED
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SK %p: Got address.\n"

	.comm	_ddp_dl,8,3                     ; @ddp_dl
	.comm	_ATADDR_ANYNODE,8,3             ; @ATADDR_ANYNODE
	.comm	_ENETUNREACH,4,2                ; @ENETUNREACH
l_.str.1:                               ; @.str.1
	.asciz	"SK %p: Size needed %d, device %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"SK %p: Begin build.\n"

l_.str.3:                               ; @.str.3
	.asciz	"SK %p: Copy user data (%Zd bytes).\n"

	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_RTF_GATEWAY,4,2                ; @RTF_GATEWAY
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.4:                               ; @.str.4
	.asciz	"SK %p: send out(copy).\n"

l_.str.5:                               ; @.str.5
	.asciz	"SK %p: Loop back.\n"

l_.str.6:                               ; @.str.6
	.asciz	"SK %p: send out.\n"

l_.str.7:                               ; @.str.7
	.asciz	"SK %p: Done write (%Zd).\n"

	.no_dead_strip	_atalk_sendmsg
.subsections_via_symbols
