	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlt_to_linktype                ## -- Begin function dlt_to_linktype
	.p2align	4, 0x90
_dlt_to_linktype:                       ## @dlt_to_linktype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DLT_PFSYNC@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_3
## %bb.1:
	movq	_LINKTYPE_PFSYNC@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movl	%edi, %eax
	movq	_DLT_PKTAP@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	_LINKTYPE_PKTAP@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_DLT_MATCHING_MIN@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jg	LBB0_8
## %bb.6:
	movq	_DLT_MATCHING_MAX@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jl	LBB0_8
## %bb.7:
	popq	%rbp
	retq
LBB0_8:
	movq	_map@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %esi
	cmpl	$-1, %esi
	je	LBB0_12
## %bb.9:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, %esi
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	8(%rcx,%rdx,8), %esi
	incq	%rdx
	cmpl	$-1, %esi
	jne	LBB0_10
LBB0_12:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_13:
	movl	%edx, %eax
	leaq	(%rcx,%rax,8), %rax
	addq	$4, %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_DLT_PFSYNC,4,2                 ## @DLT_PFSYNC
	.comm	_LINKTYPE_PFSYNC,4,2            ## @LINKTYPE_PFSYNC
	.comm	_DLT_PKTAP,4,2                  ## @DLT_PKTAP
	.comm	_LINKTYPE_PKTAP,4,2             ## @LINKTYPE_PKTAP
	.comm	_DLT_MATCHING_MIN,4,2           ## @DLT_MATCHING_MIN
	.comm	_DLT_MATCHING_MAX,4,2           ## @DLT_MATCHING_MAX
	.comm	_map,8,3                        ## @map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlt_to_linktype                ; -- Begin function dlt_to_linktype
	.p2align	2
_dlt_to_linktype:                       ; @dlt_to_linktype
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DLT_PFSYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DLT_PFSYNC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _LINKTYPE_PFSYNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LINKTYPE_PFSYNC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _DLT_PKTAP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DLT_PKTAP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _LINKTYPE_PKTAP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LINKTYPE_PKTAP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh12:
	adrp	x8, _DLT_MATCHING_MIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DLT_MATCHING_MIN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _DLT_MATCHING_MAX@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DLT_MATCHING_MAX@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #8, le
	b.ge	LBB0_10
; %bb.5:
Lloh18:
	adrp	x8, _map@GOTPAGE
Lloh19:
	ldr	x8, [x8, _map@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	w11, [x8]
	cmn	w11, #1
	b.eq	LBB0_9
; %bb.6:
	mov	x9, #0
	add	x10, x8, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w11, w0
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #1
	ldr	w11, [x10], #8
	cmn	w11, #1
	b.ne	LBB0_7
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ret
LBB0_11:
	add	x8, x8, w9, uxtw #3
	ldr	w0, [x8, #4]!
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DLT_PFSYNC,4,2                 ; @DLT_PFSYNC
	.comm	_LINKTYPE_PFSYNC,4,2            ; @LINKTYPE_PFSYNC
	.comm	_DLT_PKTAP,4,2                  ; @DLT_PKTAP
	.comm	_LINKTYPE_PKTAP,4,2             ; @LINKTYPE_PKTAP
	.comm	_DLT_MATCHING_MIN,4,2           ; @DLT_MATCHING_MIN
	.comm	_DLT_MATCHING_MAX,4,2           ; @DLT_MATCHING_MAX
	.comm	_map,8,3                        ; @map
.subsections_via_symbols
