	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_process_mactype           ## -- Begin function pcap_process_mactype
	.p2align	4, 0x90
_pcap_process_mactype:                  ## @pcap_process_mactype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ecx
	movq	%rdi, %rbx
	leal	-128(%rcx), %eax
	cmpl	$7, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_DLT_EN10MB@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 24(%rbx)
	movl	$2, (%rbx)
	movl	$8, %edi
	callq	_malloc
	movq	%rax, %rcx
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.3:
	movl	(%r14), %edx
	movl	%edx, (%rcx)
	movq	_DLT_DOCSIS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%rcx)
	movl	$2, 16(%rbx)
	jmp	LBB0_12
LBB0_4:
	movq	_DLT_IEEE802@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	$2, (%rbx)
	jmp	LBB0_11
LBB0_5:
	movq	_DLT_IPV6@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_DLT_IPV4@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_DLT_RAW@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	$0, (%rbx)
	jmp	LBB0_11
LBB0_9:
	movl	20(%rbx), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_pcap_snprintf
	movl	$-1, %eax
	jmp	LBB0_12
LBB0_10:
	movq	_DLT_FDDI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	$3, (%rbx)
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_DLT_EN10MB,8,3                 ## @DLT_EN10MB
	.comm	_DLT_DOCSIS,4,2                 ## @DLT_DOCSIS
	.comm	_DLT_FDDI,8,3                   ## @DLT_FDDI
	.comm	_DLT_IEEE802,8,3                ## @DLT_IEEE802
	.comm	_DLT_IPV4,8,3                   ## @DLT_IPV4
	.comm	_DLT_IPV6,8,3                   ## @DLT_IPV6
	.comm	_DLT_RAW,8,3                    ## @DLT_RAW
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown mactype 0x%x"

	.comm	_DLT_SUNATM,8,3                 ## @DLT_SUNATM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_process_mactype           ; -- Begin function pcap_process_mactype
	.p2align	2
_pcap_process_mactype:                  ; @pcap_process_mactype
	.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	x3, x1
	mov	x19, x0
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_9
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x21, _DLT_EN10MB@GOTPAGE
Lloh3:
	ldr	x21, [x21, _DLT_EN10MB@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x19, #24]
	mov	w20, #2
	str	w20, [x19]
	mov	w0, #8
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_12
; %bb.3:
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x21]
	str	w9, [x8]
Lloh4:
	adrp	x9, _DLT_DOCSIS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DLT_DOCSIS@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	str	w9, [x8, #4]
	str	w20, [x19, #16]
	b	LBB0_12
LBB0_4:
	mov	w0, #0
Lloh7:
	adrp	x8, _DLT_IEEE802@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DLT_IEEE802@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	mov	w8, #2
	b	LBB0_11
LBB0_5:
	mov	w0, #0
Lloh10:
	adrp	x8, _DLT_IPV6@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DLT_IPV6@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
Lloh12:
	adrp	x8, _DLT_IPV4@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DLT_IPV4@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w0, #0
Lloh14:
	adrp	x8, _DLT_RAW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DLT_RAW@GOTPAGEOFF]
LBB0_8:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	str	wzr, [x19]
	b	LBB0_12
LBB0_9:
	ldr	w0, [x19, #20]
Lloh16:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, l_.str@PAGE
Lloh20:
	add	x2, x2, l_.str@PAGEOFF
	bl	_pcap_snprintf
	mov	w0, #-1
	b	LBB0_12
LBB0_10:
	mov	w0, #0
Lloh21:
	adrp	x8, _DLT_FDDI@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DLT_FDDI@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	mov	w8, #3
LBB0_11:
	str	w8, [x19]
LBB0_12:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_DLT_EN10MB,8,3                 ; @DLT_EN10MB
	.comm	_DLT_DOCSIS,4,2                 ; @DLT_DOCSIS
	.comm	_DLT_FDDI,8,3                   ; @DLT_FDDI
	.comm	_DLT_IEEE802,8,3                ; @DLT_IEEE802
	.comm	_DLT_IPV4,8,3                   ; @DLT_IPV4
	.comm	_DLT_IPV6,8,3                   ; @DLT_IPV6
	.comm	_DLT_RAW,8,3                    ; @DLT_RAW
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown mactype 0x%x"

	.comm	_DLT_SUNATM,8,3                 ; @DLT_SUNATM
.subsections_via_symbols
