	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ap1394_if_print                ## -- Begin function ap1394_if_print
	.p2align	4, 0x90
_ap1394_if_print:                       ## @ap1394_if_print
	.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	8(%rsi), %r15
	movq	_FIREWIRE_HDRLEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	cmpq	%rax, %r15
	jge	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_ND_PRINT
	jmp	LBB0_9
LBB0_2:
	movq	%rdx, %r14
	movq	%rdi, %r13
	movq	(%rsi), %r12
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_ap1394_hdr_print
	movq	(%rbx), %rax
LBB0_4:
	subq	%rax, %r12
	subq	%rax, %r15
	movq	%r12, %rbx
	leaq	(%r14,%rax,4), %r12
	leaq	8(%r14), %rdi
	callq	_EXTRACT_16BITS
	movl	4(%r14), %ecx
	movl	%ecx, -80(%rbp)
	movq	_fwaddr_string@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -88(%rbp)
	movl	(%r14), %edx
	movl	%edx, -64(%rbp)
	movq	%rcx, -72(%rbp)
	leaq	-72(%rbp), %rcx
	movq	%rcx, (%rsp)
	leaq	-88(%rbp), %r9
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdx
	movq	%rbx, %r12
	movq	_FIREWIRE_HDRLEN@GOTPCREL(%rip), %rbx
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	_ethertype_print
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	cmpq	$0, 8(%r13)
	je	LBB0_6
## %bb.7:
	cmpl	$0, (%r13)
	je	LBB0_8
LBB0_9:
	movq	(%rbx), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	addq	(%rbx), %r12
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_ap1394_hdr_print
	cmpl	$0, (%r13)
	jne	LBB0_9
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_ND_DEFAULTPRINT
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_FIREWIRE_HDRLEN,8,3            ## @FIREWIRE_HDRLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[|ap1394]"

	.comm	_fwaddr_string,8,3              ## @fwaddr_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ap1394_if_print                ; -- Begin function ap1394_if_print
	.p2align	2
_ap1394_if_print:                       ; @ap1394_if_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	ldr	x22, [x1, #8]
Lloh0:
	adrp	x24, _FIREWIRE_HDRLEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FIREWIRE_HDRLEN@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x22, x8
	b.ge	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND_PRINT
	b	LBB0_7
LBB0_2:
	mov	x20, x2
	mov	x19, x0
	ldr	x21, [x1]
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ap1394_hdr_print
	ldr	x8, [x24]
LBB0_4:
	sub	x23, x21, x8
	sub	x21, x22, x8
	add	x0, x20, #8
	add	x22, x20, x8, lsl #2
	bl	_EXTRACT_16BITS
	mov	x1, x0
	ldp	w9, w8, [x20]
	str	w8, [sp, #24]
Lloh4:
	adrp	x8, _fwaddr_string@GOTPAGE
Lloh5:
	ldr	x8, [x8, _fwaddr_string@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [sp, #16]
	str	w9, [sp, #8]
	str	x8, [sp]
	add	x5, sp, #16
	mov	x6, sp
	mov	x0, x19
	mov	x2, x22
	mov	x3, x23
	mov	x4, x21
	bl	_ethertype_print
	cbnz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w8, [x19]
	cbz	w8, LBB0_9
LBB0_7:
	ldr	x0, [x24]
	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
	add	sp, sp, #96
	ret
LBB0_8:
	ldr	x8, [x24]
	add	x2, x8, x23
	mov	x0, x19
	mov	x1, x20
	bl	_ap1394_hdr_print
	ldr	w8, [x19]
	cbnz	w8, LBB0_7
LBB0_9:
	mov	x0, x22
	mov	x1, x21
	bl	_ND_DEFAULTPRINT
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FIREWIRE_HDRLEN,8,3            ; @FIREWIRE_HDRLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[|ap1394]"

	.comm	_fwaddr_string,8,3              ; @fwaddr_string
.subsections_via_symbols
