	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pn_send
_pn_send:                               ## @pn_send
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movslq	(%rdi), %rsi
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	cmpq	$65533, %rsi                    ## imm = 0xFFFD
	jg	LBB0_10
## %bb.1:
	movl	%edx, %r12d
	addq	$48, %rsi
	movslq	(%r13), %rdx
	cmpq	%rdx, %rsi
	ja	LBB0_10
## %bb.2:
	movq	%r9, %rbx
	movq	%r8, %r14
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_pn_addr
	movq	_PNADDR_BROADCAST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_kfree_skb
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_reset_transport_header
	movq	%r15, %rdi
	callq	_skb_headroom
	andl	$1, %eax
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%r15, %rdi
	movl	$48, %esi
	callq	_skb_push
	movq	%r15, %rdi
	callq	_skb_reset_network_header
	movq	%r15, %rdi
	callq	_pn_hdr
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	movl	%r12d, %edi
	callq	_pn_dev
	movq	%rax, 40(%r13)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_pn_dev
	movq	%rax, 32(%r13)
	movq	%r14, 24(%r13)
	movl	(%r15), %edi
	addl	$-46, %edi
	callq	___cpu_to_be16
	movl	%eax, 16(%r13)
	movl	%r12d, %edi
	callq	_pn_obj
	movq	%rax, 8(%r13)
	movl	%ebx, %edi
	callq	_pn_obj
	movq	%rax, (%r13)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	_ETH_P_PHONET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 4(%r15)
	movq	$0, 24(%r15)
	movq	%r13, 16(%r15)
	movl	%ebx, %edi
	callq	_pn_addr
	movq	%rax, %r14
	movl	%r12d, %edi
	callq	_pn_addr
	cmpq	%rax, %r14
	jne	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	callq	_skb_reset_mac_header
	movq	_PACKET_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%r15, %rdi
	callq	_skb_orphan
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_netif_rx
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_8:
	movl	4(%r15), %edi
	callq	_ntohs
	movl	(%r15), %r9d
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_dev_hard_header
	testl	%eax, %eax
	js	LBB0_9
## %bb.12:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_queue_xmit                 ## TAILCALL
LBB0_7:
	movq	%r15, %rdi
	callq	_netif_rx_ni
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_9:
	movq	_EHOSTUNREACH@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_PNADDR_BROADCAST,8,3           ## @PNADDR_BROADCAST
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ETH_P_PHONET,4,2               ## @ETH_P_PHONET
	.comm	_PACKET_LOOPBACK,4,2            ## @PACKET_LOOPBACK
	.comm	_EHOSTUNREACH,4,2               ## @EHOSTUNREACH
	.no_dead_strip	_pn_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pn_send
_pn_send:                               ; @pn_send
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	ldrsw	x8, [x0]
	mov	w9, #65533
	cmp	w8, w9
	b.gt	LBB0_2
; %bb.1:
	mov	x21, x1
	add	x8, x8, #48
	ldrsw	x9, [x1]
	cmp	x8, x9
	b.ls	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w20, w8
	mov	x0, x19
	bl	_kfree_skb
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x20, x5
	mov	x24, x4
	mov	x23, x3
	mov	x22, x2
	mov	x0, x2
	bl	_pn_addr
Lloh2:
	adrp	x8, _PNADDR_BROADCAST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PNADDR_BROADCAST@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
	mov	x0, x19
	bl	_skb_reset_transport_header
	mov	x0, x19
	bl	_skb_headroom
	and	w0, w0, #0x1
	bl	_WARN_ON
	mov	x0, x19
	mov	w1, #48
	bl	_skb_push
	mov	x0, x19
	bl	_skb_reset_network_header
	mov	x0, x19
	bl	_pn_hdr
	mov	x25, x0
	mov	x0, x22
	bl	_pn_dev
	str	x0, [x25, #40]
	mov	x0, x23
	bl	_pn_dev
	stp	x24, x0, [x25, #24]
	ldr	w8, [x19]
	sub	w0, w8, #46
	bl	___cpu_to_be16
	str	w0, [x25, #16]
	mov	x0, x22
	bl	_pn_obj
	str	x0, [x25, #8]
	mov	x0, x23
	bl	_pn_obj
	str	x0, [x25]
Lloh7:
	adrp	x8, _ETH_P_PHONET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_P_PHONET@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x19, #4]
	stp	x21, xzr, [x19, #16]
	mov	x0, x23
	bl	_pn_addr
	mov	x23, x0
	mov	x0, x22
	bl	_pn_addr
	cmp	x23, x0
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_skb_reset_mac_header
Lloh10:
	adrp	x8, _PACKET_LOOPBACK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PACKET_LOOPBACK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_skb_orphan
	cbz	x20, LBB0_12
; %bb.9:
	mov	x0, x19
	bl	_netif_rx
	mov	w20, #0
	b	LBB0_4
LBB0_10:
	ldr	w0, [x19, #4]
	bl	_ntohs
	mov	x2, x0
	ldr	w5, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x3, #0
	mov	x4, #0
	bl	_dev_hard_header
	tbnz	w0, #31, LBB0_13
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dev_queue_xmit
LBB0_12:
	mov	x0, x19
	bl	_netif_rx_ni
	b	LBB0_4
LBB0_13:
Lloh13:
	adrp	x8, _EHOSTUNREACH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EHOSTUNREACH@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_PNADDR_BROADCAST,8,3           ; @PNADDR_BROADCAST
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ETH_P_PHONET,4,2               ; @ETH_P_PHONET
	.comm	_PACKET_LOOPBACK,4,2            ; @PACKET_LOOPBACK
	.comm	_EHOSTUNREACH,4,2               ; @EHOSTUNREACH
	.no_dead_strip	_pn_send
.subsections_via_symbols
