	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isdn_net_type_trans
_isdn_net_type_trans:                   ## @isdn_net_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
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_pull
	movq	%rbx, %rdi
	callq	_eth_hdr
	movq	%rax, %r14
	movq	(%rax), %rdi
	testb	$1, (%rdi)
	jne	LBB0_1
## %bb.4:
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_8
## %bb.5:
	movl	4(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_PACKET_OTHERHOST@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movl	8(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	_PACKET_BROADCAST@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_PACKET_MULTICAST@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
LBB0_8:
	movl	8(%r14), %edi
	callq	_ntohs
	cmpl	$1536, %eax                     ## imm = 0x600
	jl	LBB0_9
## %bb.13:
	movl	8(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	(%rbx), %rax
	cmpw	$-1, (%rax)
	je	LBB0_10
## %bb.12:
	movq	_ETH_P_802_2@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_ETH_P_802_3@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_htons                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_PACKET_BROADCAST,4,2           ## @PACKET_BROADCAST
	.comm	_PACKET_MULTICAST,4,2           ## @PACKET_MULTICAST
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.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
	.no_dead_strip	_isdn_net_type_trans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isdn_net_type_trans
_isdn_net_type_trans:                   ; @isdn_net_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, _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	x20, x0
	ldr	x0, [x0]
	ldrb	w8, [x0]
	tbnz	w8, #0, LBB0_4
; %bb.1:
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	ldr	w1, [x21, #4]
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_memcmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh9:
	adrp	x8, _PACKET_OTHERHOST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PACKET_OTHERHOST@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldr	w1, [x21, #8]
Lloh11:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_memcmp
Lloh14:
	adrp	x8, _PACKET_MULTICAST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PACKET_MULTICAST@GOTPAGEOFF]
Lloh16:
	adrp	x9, _PACKET_BROADCAST@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PACKET_BROADCAST@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
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:
Lloh18:
	adrp	x8, _ETH_P_802_2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ETH_P_802_2@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh20:
	adrp	x8, _ETH_P_802_3@GOTPAGE
Lloh21:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_PACKET_BROADCAST,4,2           ; @PACKET_BROADCAST
	.comm	_PACKET_MULTICAST,4,2           ; @PACKET_MULTICAST
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.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
	.no_dead_strip	_isdn_net_type_trans
.subsections_via_symbols
