	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_net_eth_type_trans
_dvb_net_eth_type_trans:                ## @dvb_net_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
	callq	_skb_reset_mac_header
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_skb_pull
	movq	%rbx, %rdi
	callq	_eth_hdr
	movq	%rax, %r14
	movq	(%rax), %rdi
	testb	$1, (%rdi)
	je	LBB0_5
## %bb.1:
	movl	(%r15), %esi
	callq	_ether_addr_equal
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	_PACKET_MULTICAST@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_PACKET_BROADCAST@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
LBB0_5:
	movl	8(%r14), %edi
	callq	_ntohs
	movq	_ETH_P_802_3_MIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_10
## %bb.6:
	movq	(%rbx), %rax
	cmpw	$-1, (%rax)
	je	LBB0_7
## %bb.9:
	movq	_ETH_P_802_2@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movl	8(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_ETH_P_802_3@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_htons                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET_BROADCAST,4,2           ## @PACKET_BROADCAST
	.comm	_PACKET_MULTICAST,4,2           ## @PACKET_MULTICAST
	.comm	_ETH_P_802_3_MIN,8,3            ## @ETH_P_802_3_MIN
	.comm	_ETH_P_802_3,4,2                ## @ETH_P_802_3
	.comm	_ETH_P_802_2,4,2                ## @ETH_P_802_2
	.no_dead_strip	_dvb_net_eth_type_trans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_net_eth_type_trans
_dvb_net_eth_type_trans:                ; @dvb_net_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	x21, x1
	mov	x19, x0
	bl	_skb_reset_mac_header
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_skb_pull
	mov	x0, x19
	bl	_eth_hdr
	mov	x20, x0
	ldr	x0, [x0]
	ldrb	w8, [x0]
	tbz	w8, #0, LBB0_2
; %bb.1:
	ldr	w1, [x21]
	bl	_ether_addr_equal
Lloh0:
	adrp	x8, _PACKET_MULTICAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACKET_MULTICAST@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PACKET_BROADCAST@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PACKET_BROADCAST@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_2:
	ldr	w0, [x20, #8]
	bl	_ntohs
Lloh4:
	adrp	x8, _ETH_P_802_3_MIN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ETH_P_802_3_MIN@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_5
; %bb.3:
	ldr	x8, [x19]
	ldrsh	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_6
; %bb.4:
Lloh7:
	adrp	x8, _ETH_P_802_2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_P_802_2@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	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_6:
Lloh9:
	adrp	x8, _ETH_P_802_3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_P_802_3@GOTPAGEOFF]
LBB0_7:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET_BROADCAST,4,2           ; @PACKET_BROADCAST
	.comm	_PACKET_MULTICAST,4,2           ; @PACKET_MULTICAST
	.comm	_ETH_P_802_3_MIN,8,3            ; @ETH_P_802_3_MIN
	.comm	_ETH_P_802_3,4,2                ; @ETH_P_802_3
	.comm	_ETH_P_802_2,4,2                ; @ETH_P_802_2
	.no_dead_strip	_dvb_net_eth_type_trans
.subsections_via_symbols
