	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fwnet_tx
_fwnet_tx:                              ## @fwnet_tx
	.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	$72, %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, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_fwnet_packet_task_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_kmem_cache_alloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movq	%rax, %r12
	movq	%rax, %r14
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_skb_share_check
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	movq	8(%rbx), %rsi
	leaq	-104(%rbp), %rdi
	movl	$16, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_skb_pull
	movq	-104(%rbp), %r15
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	12(%rax), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	-96(%rbp), %rdi
	movl	8(%r13), %esi
	movq	_FWNET_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcmp
	testq	%rax, %rax
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.3:
	movq	_ETH_P_ARP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r15
	je	LBB0_6
## %bb.4:
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r15
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_ip_hdr
	movl	(%rax), %edi
	callq	_ntohl
	movl	%eax, %edi
	callq	_IN_MULTICAST
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %r13d
	movq	%r15, %rax
	addq	$4, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_FWNET_NO_FIFO_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	$0, 64(%r14)
	movq	_IEEE1394_ALL_NODES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_SCODE_100@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	_ETH_P_ARP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%rax, %rdi
	jne	LBB0_12
## %bb.11:
	movq	8(%rbx), %r15
	leaq	4(%r15), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_FWNET_ALEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r15,%rax), %rdi
	addq	$4, %rdi
	callq	_get_unaligned
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_RFC2734_HW_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 16(%r15)
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	leaq	8(%r15), %rsi
	callq	_put_unaligned_be16
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_put_unaligned_be32
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r15, %rsi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	callq	_put_unaligned
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
LBB0_12:
	addq	$24, %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r14)
	movq	%rbx, 48(%r14)
	movq	%r15, 40(%r14)
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	cmpl	%r13d, %r15d
	jbe	LBB0_13
## %bb.14:
	movq	_RFC2374_FRAG_OVERHEAD@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ebx
	leal	1(%rbx), %eax
	movl	%eax, (%rcx)
	callq	_ntohs
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_fwnet_make_ff_hdr
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_DIV_ROUND_UP
	movq	_RFC2374_FRAG_HDR_SIZE@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r13d
	movl	%r13d, %r15d
	jmp	LBB0_15
LBB0_13:
	callq	_ntohs
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_fwnet_make_uf_hdr
	movq	_RFC2374_UNFRAG_HDR_SIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	movl	$1, %eax
LBB0_15:
	movl	%eax, 12(%r14)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movl	%r15d, 16(%r14)
	movq	%r14, %rdi
	callq	_fwnet_send_packet
	jmp	LBB0_21
LBB0_7:
	movq	-96(%rbp), %rdi
	callq	_get_unaligned
	movl	%eax, %edi
	callq	_be64_to_cpu
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fwnet_peer_find_by_guid
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:
	movq	(%rax), %rcx
	movq	_FWNET_NO_FIFO_ADDR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
LBB0_16:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
LBB0_17:
	movq	_fwnet_packet_task_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_kmem_cache_free
LBB0_18:
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.19:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
LBB0_20:
	incl	4(%r13)
	incl	(%r13)
LBB0_21:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	24(%rax), %rdx
	movl	8(%rax), %esi
	movl	12(%rax), %r13d
	leaq	16(%rax), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, (%r14)
	movq	%rdx, 64(%r14)
	movl	%esi, 8(%r14)
	addq	$20, %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_fwnet_packet_task_cache,4,2    ## @fwnet_packet_task_cache
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_FWNET_ALEN,4,2                 ## @FWNET_ALEN
	.comm	_ETH_P_ARP,4,2                  ## @ETH_P_ARP
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_FWNET_NO_FIFO_ADDR,8,3         ## @FWNET_NO_FIFO_ADDR
	.comm	_IEEE1394_ALL_NODES,4,2         ## @IEEE1394_ALL_NODES
	.comm	_SCODE_100,4,2                  ## @SCODE_100
	.comm	_RFC2734_HW_ADDR_LEN,4,2        ## @RFC2734_HW_ADDR_LEN
	.comm	_RFC2374_UNFRAG_HDR_SIZE,4,2    ## @RFC2374_UNFRAG_HDR_SIZE
	.comm	_RFC2374_FRAG_OVERHEAD,8,3      ## @RFC2374_FRAG_OVERHEAD
	.comm	_RFC2374_FRAG_HDR_SIZE,8,3      ## @RFC2374_FRAG_HDR_SIZE
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_fwnet_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fwnet_tx
_fwnet_tx:                              ; @fwnet_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x25, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
Lloh0:
	adrp	x26, _fwnet_packet_task_cache@GOTPAGE
Lloh1:
	ldr	x26, [x26, _fwnet_packet_task_cache@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh2:
	adrp	x20, _GFP_ATOMIC@GOTPAGE
Lloh3:
	ldr	x20, [x20, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_kmem_cache_alloc
	cbz	x0, LBB0_17
; %bb.1:
	mov	x19, x0
	ldr	w1, [x20]
	mov	x0, x21
	bl	_skb_share_check
	mov	x21, x0
	cbz	x0, LBB0_16
; %bb.2:
	ldr	x1, [x21, #8]
	add	x0, sp, #16
	mov	w2, #16
	bl	_memcpy
	mov	x0, x21
	mov	w1, #16
	bl	_skb_pull
	ldr	x24, [sp, #16]
	ldr	w23, [x21]
	add	x20, x22, #12
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x0, [sp, #24]
	ldr	w1, [x25, #8]
Lloh4:
	adrp	x28, _FWNET_ALEN@GOTPAGE
Lloh5:
	ldr	x28, [x28, _FWNET_ALEN@GOTPAGEOFF]
	ldr	w2, [x28]
	bl	_memcmp
Lloh6:
	adrp	x27, _ETH_P_ARP@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ETH_P_ARP@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x27]
	bl	_htons
	cmp	x24, x0
	b.eq	LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_htons
	cmp	x24, x0
	b.ne	LBB0_13
; %bb.5:
	mov	x0, x21
	bl	_ip_hdr
	ldr	w0, [x0]
	bl	_ntohl
	bl	_IN_MULTICAST
	cbz	x0, LBB0_13
LBB0_6:
	mov	x11, x27
	mov	x27, x28
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	mov	x28, x22
	ldr	w20, [x28], #4
Lloh11:
	adrp	x8, _FWNET_NO_FIFO_ADDR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FWNET_NO_FIFO_ADDR@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19]
	str	xzr, [x19, #64]
Lloh14:
	adrp	x8, _IEEE1394_ALL_NODES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IEEE1394_ALL_NODES@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh17:
	adrp	x8, _SCODE_100@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SCODE_100@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x19, #56]
	ldr	w0, [x11]
	bl	_htons
	cmp	x24, x0
	b.ne	LBB0_9
; %bb.8:
	ldr	x25, [x21, #8]
	add	x26, x25, #4
	ldrsw	x8, [x27]
	add	x0, x26, x8
	bl	_get_unaligned
	mov	x27, x0
Lloh19:
	adrp	x8, _RFC2734_HW_ADDR_LEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RFC2734_HW_ADDR_LEN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x25, #20]
	ldr	x8, [x22, #16]
	ldr	d0, [x8]
	stur	d0, [x25, #12]
	add	x1, x25, #8
	bl	_put_unaligned_be16
	ldr	w0, [x22, #8]
	mov	x1, x26
	bl	_put_unaligned_be32
	mov	x0, x27
	mov	x1, x25
	bl	_put_unaligned
LBB0_9:
	mov	x25, x19
	str	xzr, [x25, #24]!
	stp	x22, x21, [x25, #16]
	str	xzr, [x25, #8]
	cmp	w23, w20
	b.ls	LBB0_11
; %bb.10:
Lloh22:
	adrp	x8, _RFC2374_FRAG_OVERHEAD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RFC2374_FRAG_OVERHEAD@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	sub	w21, w20, w8
	ldr	w22, [x28]
	add	w8, w22, #1
	str	w8, [x28]
	mov	x0, x24
	bl	_ntohs
	mov	x1, x0
	mov	x0, x25
	mov	x2, x23
	mov	x3, x22
	bl	_fwnet_make_ff_hdr
	mov	x0, x23
	mov	x1, x21
	bl	_DIV_ROUND_UP
Lloh25:
	adrp	x8, _RFC2374_FRAG_HDR_SIZE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RFC2374_FRAG_HDR_SIZE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	add	w20, w21, w8
	b	LBB0_12
LBB0_11:
	mov	x0, x24
	bl	_ntohs
	mov	x1, x0
	mov	x0, x25
	bl	_fwnet_make_uf_hdr
Lloh28:
	adrp	x8, _RFC2374_UNFRAG_HDR_SIZE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RFC2374_UNFRAG_HDR_SIZE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	add	w20, w8, w23
	mov	w0, #1
LBB0_12:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w0, [x19, #12]
	mov	x0, x8
	bl	_spin_unlock_irqrestore
	str	w20, [x19, #16]
	mov	x0, x19
	bl	_fwnet_send_packet
	b	LBB0_20
LBB0_13:
	ldr	x0, [sp, #24]
	bl	_get_unaligned
	bl	_be64_to_cpu
	mov	x1, x0
	mov	x0, x22
	bl	_fwnet_peer_find_by_guid
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x8, [x0]
Lloh31:
	adrp	x9, _FWNET_NO_FIFO_ADDR@GOTPAGE
Lloh32:
	ldr	x9, [x9, _FWNET_NO_FIFO_ADDR@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
LBB0_15:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_16:
	ldr	w0, [x26]
	mov	x1, x19
	bl	_kmem_cache_free
LBB0_17:
	cbz	x21, LBB0_19
; %bb.18:
	mov	x0, x21
	bl	_dev_kfree_skb
LBB0_19:
	ldr	d0, [x25]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x25]
LBB0_20:
Lloh34:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_21:
	mov	x11, x27
	mov	x27, x28
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x9, [x0, #24]
	ldp	w10, w20, [x0, #8]
	add	x28, x0, #16
	str	x8, [x19]
	str	x9, [x19, #64]
	str	w10, [x19, #8]
	add	x8, x0, #20
	b	LBB0_7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_fwnet_packet_task_cache,4,2    ; @fwnet_packet_task_cache
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_FWNET_ALEN,4,2                 ; @FWNET_ALEN
	.comm	_ETH_P_ARP,4,2                  ; @ETH_P_ARP
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_FWNET_NO_FIFO_ADDR,8,3         ; @FWNET_NO_FIFO_ADDR
	.comm	_IEEE1394_ALL_NODES,4,2         ; @IEEE1394_ALL_NODES
	.comm	_SCODE_100,4,2                  ; @SCODE_100
	.comm	_RFC2734_HW_ADDR_LEN,4,2        ; @RFC2734_HW_ADDR_LEN
	.comm	_RFC2374_UNFRAG_HDR_SIZE,4,2    ; @RFC2374_UNFRAG_HDR_SIZE
	.comm	_RFC2374_FRAG_OVERHEAD,8,3      ; @RFC2374_FRAG_OVERHEAD
	.comm	_RFC2374_FRAG_HDR_SIZE,8,3      ; @RFC2374_FRAG_HDR_SIZE
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_fwnet_tx
.subsections_via_symbols
