	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ether1394_type_trans
_ether1394_type_trans:                  ## @ether1394_type_trans
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_skb_reset_mac_header
	movq	_ETH1394_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_skb_pull
	movq	%r15, %rdi
	callq	_eth1394_hdr
	movq	%rax, %r14
	movq	(%rax), %rdi
	testb	$1, (%rdi)
	jne	LBB0_1
## %bb.3:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_PACKET_OTHERHOST@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movl	(%rbx), %edx
	movl	8(%rbx), %esi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	_PACKET_BROADCAST@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
LBB0_6:
	movl	8(%r14), %edi
	callq	_ntohs
	cmpl	$1536, %eax                     ## imm = 0x600
	jl	LBB0_7
## %bb.11:
	movl	8(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r15), %rax
	cmpw	$-1, (%rax)
	je	LBB0_8
## %bb.10:
	movq	_ETH_P_802_2@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_ETH_P_802_3@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_htons                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH1394_HLEN,4,2               ## @ETH1394_HLEN
	.comm	_PACKET_BROADCAST,4,2           ## @PACKET_BROADCAST
	.comm	_PACKET_OTHERHOST,4,2           ## @PACKET_OTHERHOST
	.comm	_ETH_P_802_3,4,2                ## @ETH_P_802_3
	.comm	_ETH_P_802_2,4,2                ## @ETH_P_802_2
	.comm	_PACKET_MULTICAST,4,2           ## @PACKET_MULTICAST
	.no_dead_strip	_ether1394_type_trans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ether1394_type_trans
_ether1394_type_trans:                  ; @ether1394_type_trans
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_skb_reset_mac_header
Lloh0:
	adrp	x8, _ETH1394_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH1394_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_pull
	mov	x0, x19
	bl	_eth1394_hdr
	mov	x20, x0
	ldr	x0, [x0]
	ldrb	w8, [x0]
	tbnz	w8, #0, LBB0_3
; %bb.1:
	ldp	w2, w1, [x21]
	bl	_memcmp
	cbz	x0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _PACKET_OTHERHOST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PACKET_OTHERHOST@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	w1, [x21, #8]
	ldr	w2, [x21]
	bl	_memcmp
	cbnz	x0, LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _PACKET_BROADCAST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PACKET_BROADCAST@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_6:
	ldr	w0, [x20, #8]
	bl	_ntohs
	cmp	w0, #1536
	b.lt	LBB0_8
; %bb.7:
	ldr	w0, [x20, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x8, [x19]
	ldrsh	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_10
; %bb.9:
Lloh7:
	adrp	x8, _ETH_P_802_2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_P_802_2@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh9:
	adrp	x8, _ETH_P_802_3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_P_802_3@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_htons
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH1394_HLEN,4,2               ; @ETH1394_HLEN
	.comm	_PACKET_BROADCAST,4,2           ; @PACKET_BROADCAST
	.comm	_PACKET_OTHERHOST,4,2           ; @PACKET_OTHERHOST
	.comm	_ETH_P_802_3,4,2                ; @ETH_P_802_3
	.comm	_ETH_P_802_2,4,2                ; @ETH_P_802_2
	.comm	_PACKET_MULTICAST,4,2           ; @PACKET_MULTICAST
	.no_dead_strip	_ether1394_type_trans
.subsections_via_symbols
