	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eth_type_trans                 ## -- Begin function eth_type_trans
	.p2align	4, 0x90
_eth_type_trans:                        ## @eth_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, %r15
	movq	%rdi, %rbx
	movq	%rsi, 16(%rdi)
	callq	_skb_reset_mac_header
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_pull
	movq	%rbx, %rdi
	callq	_eth_hdr
	movq	%rax, %r14
	movl	4(%rax), %edi
	callq	_is_multicast_ether_addr
	movl	%eax, %edi
	callq	_unlikely
	movl	4(%r14), %edi
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	4(%r15), %esi
	callq	_compare_ether_addr_64bits
	testl	%eax, %eax
	jne	LBB0_2
## %bb.3:
	movq	_PACKET_BROADCAST@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movl	(%r15), %esi
	callq	_compare_ether_addr_64bits
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_PACKET_OTHERHOST@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_PACKET_MULTICAST@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
LBB0_7:
	movq	%r15, %rdi
	callq	_netdev_uses_dsa_tags
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	_ETH_P_DSA@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_10:
	movq	%r15, %rdi
	callq	_netdev_uses_trailer_tags
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_ETH_P_TRAILER@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_htons                          ## TAILCALL
LBB0_12:
	movl	(%r14), %edi
	callq	_ntohs
	cmpl	$1536, %eax                     ## imm = 0x600
	jl	LBB0_13
## %bb.16:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	(%rbx), %rax
	cmpw	$-1, (%rax)
	je	LBB0_14
## %bb.15:
	movq	_ETH_P_802_2@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_14:
	movq	_ETH_P_802_3@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_PACKET_BROADCAST,4,2           ## @PACKET_BROADCAST
	.comm	_PACKET_MULTICAST,4,2           ## @PACKET_MULTICAST
	.comm	_PACKET_OTHERHOST,4,2           ## @PACKET_OTHERHOST
	.comm	_ETH_P_DSA,4,2                  ## @ETH_P_DSA
	.comm	_ETH_P_TRAILER,4,2              ## @ETH_P_TRAILER
	.comm	_ETH_P_802_3,4,2                ## @ETH_P_802_3
	.comm	_ETH_P_802_2,4,2                ## @ETH_P_802_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eth_type_trans                 ; -- Begin function eth_type_trans
	.p2align	2
_eth_type_trans:                        ; @eth_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	x20, x1
	mov	x19, x0
	str	x1, [x0, #16]
	bl	_skb_reset_mac_header
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_pull
	mov	x0, x19
	bl	_eth_hdr
	mov	x21, x0
	ldr	w0, [x0, #4]
	bl	_is_multicast_ether_addr
	bl	_unlikely
	mov	x8, x0
	ldr	w0, [x21, #4]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w1, [x20, #4]
	bl	_compare_ether_addr_64bits
Lloh3:
	adrp	x8, _PACKET_MULTICAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PACKET_MULTICAST@GOTPAGEOFF]
Lloh5:
	adrp	x9, _PACKET_BROADCAST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PACKET_BROADCAST@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	b	LBB0_4
LBB0_2:
	ldr	w1, [x20]
	bl	_compare_ether_addr_64bits
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.3:
Lloh7:
	adrp	x8, _PACKET_OTHERHOST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PACKET_OTHERHOST@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_5:
	mov	x0, x20
	bl	_netdev_uses_dsa_tags
	cbz	x0, LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _ETH_P_DSA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_P_DSA@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	x0, x20
	bl	_netdev_uses_trailer_tags
	cbz	x0, LBB0_10
; %bb.8:
Lloh11:
	adrp	x8, _ETH_P_TRAILER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ETH_P_TRAILER@GOTPAGEOFF]
LBB0_9:
	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
LBB0_10:
	ldr	w0, [x21]
	bl	_ntohs
	cmp	w0, #1536
	b.lt	LBB0_12
; %bb.11:
	ldr	w0, [x21]
	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_12:
	ldr	x8, [x19]
	ldrsh	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_14
; %bb.13:
Lloh13:
	adrp	x8, _ETH_P_802_2@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ETH_P_802_2@GOTPAGEOFF]
	b	LBB0_9
LBB0_14:
Lloh15:
	adrp	x8, _ETH_P_802_3@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETH_P_802_3@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_PACKET_BROADCAST,4,2           ; @PACKET_BROADCAST
	.comm	_PACKET_MULTICAST,4,2           ; @PACKET_MULTICAST
	.comm	_PACKET_OTHERHOST,4,2           ; @PACKET_OTHERHOST
	.comm	_ETH_P_DSA,4,2                  ; @ETH_P_DSA
	.comm	_ETH_P_TRAILER,4,2              ; @ETH_P_TRAILER
	.comm	_ETH_P_802_3,4,2                ; @ETH_P_802_3
	.comm	_ETH_P_802_2,4,2                ; @ETH_P_802_2
.subsections_via_symbols
