	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ether1394_write
_ether1394_write:                       ## @ether1394_write
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	_eth1394_highlevel@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_hpsb_get_hostinfo
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_ETH1394_PRINT_G
	jmp	LBB0_4
LBB0_2:
	movl	(%r14), %edi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movq	%r15, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_ether1394_data_handler
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_RCODE_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_RCODE_ADDRESS_ERROR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eth1394_highlevel,4,2          ## @eth1394_highlevel
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No net device at fw-host%d\n"

	.comm	_RCODE_ADDRESS_ERROR,4,2        ## @RCODE_ADDRESS_ERROR
	.comm	_RCODE_COMPLETE,4,2             ## @RCODE_COMPLETE
	.no_dead_strip	_ether1394_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ether1394_write
_ether1394_write:                       ; @ether1394_write
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x5
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x0, _eth1394_highlevel@GOTPAGE
Lloh1:
	ldr	x0, [x0, _eth1394_highlevel@GOTPAGEOFF]
	mov	x1, x23
	bl	_hpsb_get_hostinfo
	mov	x24, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w2, [x23]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ETH1394_PRINT_G
Lloh7:
	adrp	x8, _RCODE_ADDRESS_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RCODE_ADDRESS_ERROR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x24]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_ether1394_data_handler
Lloh9:
	adrp	x8, _RCODE_ADDRESS_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RCODE_ADDRESS_ERROR@GOTPAGEOFF]
Lloh11:
	adrp	x9, _RCODE_COMPLETE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RCODE_COMPLETE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_eth1394_highlevel,4,2          ; @eth1394_highlevel
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No net device at fw-host%d\n"

	.comm	_RCODE_ADDRESS_ERROR,4,2        ; @RCODE_ADDRESS_ERROR
	.comm	_RCODE_COMPLETE,4,2             ; @RCODE_COMPLETE
	.no_dead_strip	_ether1394_write
.subsections_via_symbols
