	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fwnet_receive_broadcast
_fwnet_receive_broadcast:               ## @fwnet_receive_broadcast
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %rdi
	callq	_be16_to_cpup
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	24(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	8(%rbx), %rax
	movq	40(%rbx), %rcx
	movq	(%rbx), %rdx
	imulq	%rax, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rcx,%rax,8), %r13
	incq	%rax
	xorl	%ecx, %ecx
	cmpq	16(%rbx), %rax
	cmovneq	%rax, %rcx
	movq	%rcx, 8(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%r13), %edi
	callq	_be32_to_cpu
	movl	%eax, %r12d
	movl	4(%r13), %edi
	callq	_be32_to_cpu
	movl	%eax, %r15d
	shrdl	$24, %r12d, %r15d
	andl	$16777215, %r15d                ## imm = 0xFFFFFF
	movl	4(%r13), %edi
	callq	_be32_to_cpu
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_be32_to_cpu
	movq	_IANA_SPECIFIER_ID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	jne	LBB0_3
## %bb.1:
	andl	$16777215, %r12d                ## imm = 0xFFFFFF
	movq	_RFC2734_SW_VERSION@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	jne	LBB0_3
## %bb.2:
	sarl	$16, %eax
	addq	$8, %r13
	movq	_IEEE1394_GASP_HDR_SIZE@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	subl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %ecx
	movl	$-1, %r8d
	movl	$1, %r9d
	callq	_fwnet_incoming_packet
LBB0_3:
	movq	(%rbx), %rax
	movq	%rax, -96(%rbp)
	movabsq	$12884901889, %rax              ## imm = 0x300000001
	movq	%rax, -88(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	movq	_IEEE1394_GASP_HDR_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	32(%rbx), %edi
	addq	$28, %rbx
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_fw_iso_context_queue
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	testl	%ebx, %ebx
	jns	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_fw_error
LBB0_5:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IANA_SPECIFIER_ID,4,2          ## @IANA_SPECIFIER_ID
	.comm	_RFC2734_SW_VERSION,4,2         ## @RFC2734_SW_VERSION
	.comm	_IEEE1394_GASP_HDR_SIZE,8,3     ## @IEEE1394_GASP_HDR_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"requeue failed\n"

	.no_dead_strip	_fwnet_receive_broadcast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function fwnet_receive_broadcast
lCPI0_0:
	.long	1                               ; 0x1
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_fwnet_receive_broadcast:               ; @fwnet_receive_broadcast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x20, x4
	mov	x0, x3
	bl	_be16_to_cpup
	mov	x22, x0
	add	x19, x20, #24
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldp	x8, x9, [x20]
	mul	x21, x9, x8
	ldr	x8, [x20, #40]
	add	x10, x9, #1
	ldr	x24, [x8, x9, lsl #3]
	ldr	x8, [x20, #16]
	cmp	x10, x8
	csinc	x8, xzr, x9, eq
	str	x8, [x20, #8]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	w0, [x24]
	bl	_be32_to_cpu
	mov	x23, x0
	ldr	w0, [x24, #4]
	bl	_be32_to_cpu
	lsr	w26, w0, #24
	bfi	w26, w23, #8, #16
	ldr	w0, [x24, #4]
	bl	_be32_to_cpu
	mov	x23, x0
	ldr	w0, [x24]
	bl	_be32_to_cpu
Lloh0:
	adrp	x8, _IANA_SPECIFIER_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IANA_SPECIFIER_ID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x25, _IEEE1394_GASP_HDR_SIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _IEEE1394_GASP_HDR_SIZE@GOTPAGEOFF]
	cmp	w26, w8
	b.ne	LBB0_3
; %bb.1:
	and	w8, w23, #0xffffff
Lloh5:
	adrp	x9, _RFC2734_SW_VERSION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RFC2734_SW_VERSION@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	asr	w3, w0, #16
	add	x1, x24, #8
	ldr	w8, [x25]
	sub	w2, w22, w8
	mov	x0, x20
	mov	w4, #-1
	mov	w5, #1
	bl	_fwnet_incoming_packet
LBB0_3:
	ldr	x8, [x20]
	str	x8, [sp, #8]
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
	stp	xzr, xzr, [sp, #32]
	ldr	x8, [x25]
	str	x8, [sp, #24]
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w0, [x20, #32]
	add	x2, x20, #28
	add	x1, sp, #8
	mov	x3, x21
	bl	_fw_iso_context_queue
	mov	x20, x0
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	tbz	w20, #31, LBB0_5
; %bb.4:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fw_error
LBB0_5:
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IANA_SPECIFIER_ID,4,2          ; @IANA_SPECIFIER_ID
	.comm	_RFC2734_SW_VERSION,4,2         ; @RFC2734_SW_VERSION
	.comm	_IEEE1394_GASP_HDR_SIZE,8,3     ; @IEEE1394_GASP_HDR_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"requeue failed\n"

	.no_dead_strip	_fwnet_receive_broadcast
.subsections_via_symbols
