	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fwnet_send_packet
_fwnet_send_packet:                     ## @fwnet_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	64(%rdi), %r14
	movl	(%rdi), %r13d
	addq	$56, %rdi
	callq	_fwnet_get_hdr_lf
                                        ## kill: def $eax killed $eax def $rax
	leal	-129(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_1
## %bb.3:
	movq	40(%rbx), %rdi
	movq	_RFC2374_FRAG_HDR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_skb_push
	movq	%rax, %r15
	movl	56(%rbx), %edi
	leaq	4(%rax), %rsi
	callq	_put_unaligned_be32
	movl	60(%rbx), %edi
	movq	%r15, %rsi
	callq	_put_unaligned_be32
	jmp	LBB0_5
LBB0_1:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movq	40(%rbx), %rdi
	movq	_RFC2374_UNFRAG_HDR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_skb_push
	movl	56(%rbx), %edi
	leaq	4(%rax), %rsi
	callq	_put_unaligned_be32
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_BUG
LBB0_5:
	movq	8(%rbx), %rcx
	movq	_IEEE1394_ALL_NODES@GOTPCREL(%rip), %rax
	movq	16(%r14), %rdi
	cmpq	(%rax), %rcx
	jne	LBB0_7
## %bb.6:
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_smp_rmb
	movq	16(%r14), %rax
	movl	4(%rax), %r15d
	movq	40(%rbx), %rdi
	movl	$8, %esi
	callq	_skb_push
	movq	%rax, %r12
	shll	$16, %r15d
	movq	_IANA_SPECIFIER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	sarl	$8, %edi
	orl	%r15d, %edi
	movq	%r12, %rsi
	callq	_put_unaligned_be32
	movq	_IANA_SPECIFIER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$24, %edi
	movq	_RFC2734_SW_VERSION@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	addq	$16, %r12
	movq	%r12, %rsi
	callq	_put_unaligned_be32
	movq	16(%r14), %r12
	leaq	52(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_TCODE_STREAM_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_IEEE1394_BROADCAST_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$3, %edi
	xorl	%edx, %edx
	callq	_fw_stream_packet_destination_id
	movq	_SCODE_100@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	40(%rbx), %rcx
	movl	(%rcx), %r10d
	addl	$8, %r13d
	movq	_fwnet_write_complete@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movq	%rax, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%r11
	pushq	%r13
	pushq	%r10
	pushq	$0
	callq	_fw_send_request
	addq	$48, %rsp
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	addq	$32, %rbx
	addq	$24, %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_8
LBB0_7:
	leaq	52(%rbx), %rsi
	movq	_TCODE_WRITE_BLOCK_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %r8d
	movl	48(%rbx), %r9d
	movq	40(%rbx), %rax
	movl	(%rax), %r10d
	movq	_fwnet_write_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	pushq	%rbx
	pushq	%rax
	pushq	%r13
	pushq	%r10
	pushq	24(%rbx)
	callq	_fw_send_request
	addq	$48, %rsp
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	addq	$32, %rbx
	leaq	12(%r14), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
LBB0_8:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFC2374_UNFRAG_HDR_SIZE,4,2    ## @RFC2374_UNFRAG_HDR_SIZE
	.comm	_RFC2374_FRAG_HDR_SIZE,4,2      ## @RFC2374_FRAG_HDR_SIZE
	.comm	_IEEE1394_ALL_NODES,8,3         ## @IEEE1394_ALL_NODES
	.comm	_IANA_SPECIFIER_ID,4,2          ## @IANA_SPECIFIER_ID
	.comm	_RFC2734_SW_VERSION,4,2         ## @RFC2734_SW_VERSION
	.comm	_TCODE_STREAM_DATA,4,2          ## @TCODE_STREAM_DATA
	.comm	_IEEE1394_BROADCAST_CHANNEL,4,2 ## @IEEE1394_BROADCAST_CHANNEL
	.comm	_SCODE_100,4,2                  ## @SCODE_100
	.comm	_fwnet_write_complete,4,2       ## @fwnet_write_complete
	.comm	_TCODE_WRITE_BLOCK_REQUEST,4,2  ## @TCODE_WRITE_BLOCK_REQUEST
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_fwnet_send_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fwnet_send_packet
_fwnet_send_packet:                     ; @fwnet_send_packet
	.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	x19, x0
	ldr	x24, [x0, #64]
	ldr	w25, [x0], #56
	bl	_fwnet_get_hdr_lf
	sub	w8, w0, #129
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
	ldr	x0, [x19, #40]
Lloh0:
	adrp	x8, _RFC2374_FRAG_HDR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFC2374_FRAG_HDR_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_skb_push
	mov	x20, x0
	ldr	w0, [x19, #56]
	add	x1, x20, #4
	bl	_put_unaligned_be32
	ldr	w0, [x19, #60]
	mov	x1, x20
	bl	_put_unaligned_be32
	b	LBB0_5
LBB0_2:
	cmp	w0, #128
	b.ne	LBB0_4
; %bb.3:
	ldr	x0, [x19, #40]
Lloh3:
	adrp	x8, _RFC2374_UNFRAG_HDR_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RFC2374_UNFRAG_HDR_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_skb_push
	ldr	w8, [x19, #56]
	add	x1, x0, #4
	mov	x0, x8
	bl	_put_unaligned_be32
	b	LBB0_5
LBB0_4:
	bl	_BUG
LBB0_5:
	ldr	x3, [x19, #8]
Lloh6:
	adrp	x8, _IEEE1394_ALL_NODES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE1394_ALL_NODES@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x0, [x24, #16]
	cmp	x3, x8
	b.ne	LBB0_7
; %bb.6:
	ldr	w20, [x0]
	bl	_smp_rmb
	ldr	x8, [x24, #16]
	ldr	w22, [x8, #4]
	ldr	x0, [x19, #40]
	mov	w1, #8
	bl	_skb_push
	mov	x21, x0
Lloh9:
	adrp	x23, _IANA_SPECIFIER_ID@GOTPAGE
Lloh10:
	ldr	x23, [x23, _IANA_SPECIFIER_ID@GOTPAGEOFF]
	ldr	w8, [x23]
	asr	w8, w8, #8
	orr	w0, w8, w22, lsl #16
	mov	x1, x21
	bl	_put_unaligned_be32
	ldr	w8, [x23]
Lloh11:
	adrp	x9, _RFC2734_SW_VERSION@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RFC2734_SW_VERSION@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w0, w9, w8, lsl #24
	add	x1, x21, #16
	bl	_put_unaligned_be32
	ldr	x21, [x24, #16]
	add	x22, x19, #52
Lloh14:
	adrp	x8, _TCODE_STREAM_DATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TCODE_STREAM_DATA@GOTPAGEOFF]
Lloh16:
	ldr	w23, [x8]
Lloh17:
	adrp	x8, _IEEE1394_BROADCAST_CHANNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IEEE1394_BROADCAST_CHANNEL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w0, #3
	mov	w2, #0
	bl	_fw_stream_packet_destination_id
	mov	x3, x0
Lloh20:
	adrp	x8, _SCODE_100@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SCODE_100@GOTPAGEOFF]
Lloh22:
	ldr	w5, [x8]
	ldr	x8, [x19, #40]
	ldr	w7, [x8]
	add	w8, w25, #8
Lloh23:
	adrp	x9, _fwnet_write_complete@GOTPAGE
Lloh24:
	ldr	x9, [x9, _fwnet_write_complete@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	str	x19, [sp, #8]
	stp	w8, w9, [sp]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x4, x20
	mov	x6, #0
	bl	_fw_send_request
	add	x20, x24, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x0, x19, #32
	add	x1, x24, #24
	bl	_list_add_tail
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	b	LBB0_8
LBB0_7:
	add	x1, x19, #52
Lloh26:
	adrp	x8, _TCODE_WRITE_BLOCK_REQUEST@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TCODE_WRITE_BLOCK_REQUEST@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	ldr	w4, [x19, #16]
	ldr	w5, [x19, #48]
	ldr	x6, [x19, #24]
	ldr	x8, [x19, #40]
	ldr	w7, [x8]
Lloh29:
	adrp	x8, _fwnet_write_complete@GOTPAGE
Lloh30:
	ldr	x8, [x8, _fwnet_write_complete@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	x19, [sp, #8]
	stp	w25, w8, [sp]
	bl	_fw_send_request
	add	x20, x24, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x0, x19, #32
	add	x1, x24, #12
	bl	_list_add_tail
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh32:
	adrp	x8, _jiffies@GOTPAGE
Lloh33:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	x9, [x24]
	str	w8, [x9]
LBB0_8:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_RFC2374_UNFRAG_HDR_SIZE,4,2    ; @RFC2374_UNFRAG_HDR_SIZE
	.comm	_RFC2374_FRAG_HDR_SIZE,4,2      ; @RFC2374_FRAG_HDR_SIZE
	.comm	_IEEE1394_ALL_NODES,8,3         ; @IEEE1394_ALL_NODES
	.comm	_IANA_SPECIFIER_ID,4,2          ; @IANA_SPECIFIER_ID
	.comm	_RFC2734_SW_VERSION,4,2         ; @RFC2734_SW_VERSION
	.comm	_TCODE_STREAM_DATA,4,2          ; @TCODE_STREAM_DATA
	.comm	_IEEE1394_BROADCAST_CHANNEL,4,2 ; @IEEE1394_BROADCAST_CHANNEL
	.comm	_SCODE_100,4,2                  ; @SCODE_100
	.comm	_fwnet_write_complete,4,2       ; @fwnet_write_complete
	.comm	_TCODE_WRITE_BLOCK_REQUEST,4,2  ; @TCODE_WRITE_BLOCK_REQUEST
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_fwnet_send_packet
.subsections_via_symbols
