	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function type_trans
_type_trans:                            ## @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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	movq	_ARC_HDR_SIZE@GOTPCREL(%rip), %rax
	movq	_RFC1201_HDR_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	addl	(%rax), %ebx
	callq	_skb_reset_mac_header
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_skb_pull
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r14)
	je	LBB0_6
## %bb.3:
	movq	8(%r14), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.4:
	movq	_PACKET_OTHERHOST@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_PACKET_BROADCAST@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_6:
	movl	8(%r12), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_14
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	movq	_ETH_P_802_3@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_14:
	incl	20(%r14)
	incl	16(%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ETH_P_RARP@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_10:
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	movq	_ETH_P_ARP@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_htons                          ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_ARC_HDR_SIZE,4,2               ## @ARC_HDR_SIZE
	.comm	_RFC1201_HDR_SIZE,4,2           ## @RFC1201_HDR_SIZE
	.comm	_PACKET_BROADCAST,4,2           ## @PACKET_BROADCAST
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_PACKET_OTHERHOST,4,2           ## @PACKET_OTHERHOST
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_ETH_P_ARP,4,2                  ## @ETH_P_ARP
	.comm	_ETH_P_RARP,4,2                 ## @ETH_P_RARP
	.comm	_ETH_P_802_3,4,2                ## @ETH_P_802_3
	.no_dead_strip	_type_trans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function type_trans
_type_trans:                            ; @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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ARC_HDR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARC_HDR_SIZE@GOTPAGEOFF]
	ldr	x22, [x0, #8]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RFC1201_HDR_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RFC1201_HDR_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w21, w9, w8
	bl	_skb_reset_mac_header
	mov	x0, x20
	mov	x1, x21
	bl	_skb_pull
	ldr	x8, [x22]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w9, [x19]
Lloh6:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.2:
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.3:
Lloh9:
	adrp	x8, _PACKET_OTHERHOST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PACKET_OTHERHOST@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _PACKET_BROADCAST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PACKET_BROADCAST@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_6:
	ldr	w8, [x22, #8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_9
; %bb.7:
Lloh13:
	adrp	x9, lJTI0_0@PAGE
Lloh14:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
Lloh15:
	adrp	x8, _ETH_P_802_3@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETH_P_802_3@GOTPAGEOFF]
	b	LBB0_14
LBB0_9:
	ldr	d0, [x19, #16]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19, #16]
	mov	w0, #0
	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_10:
Lloh17:
	adrp	x8, _ETH_P_RARP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ETH_P_RARP@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
Lloh19:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh21:
	adrp	x8, _ETH_P_ARP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETH_P_ARP@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh23:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
LBB0_14:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
                                        ; -- End function
	.comm	_ARC_HDR_SIZE,4,2               ; @ARC_HDR_SIZE
	.comm	_RFC1201_HDR_SIZE,4,2           ; @RFC1201_HDR_SIZE
	.comm	_PACKET_BROADCAST,4,2           ; @PACKET_BROADCAST
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_PACKET_OTHERHOST,4,2           ; @PACKET_OTHERHOST
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_ETH_P_ARP,4,2                  ; @ETH_P_ARP
	.comm	_ETH_P_RARP,4,2                 ; @ETH_P_RARP
	.comm	_ETH_P_802_3,4,2                ; @ETH_P_802_3
	.no_dead_strip	_type_trans
.subsections_via_symbols
