	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_dlts_and_exit
_show_dlts_and_exit:                    ## @show_dlts_and_exit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rsi
	callq	_pcap_list_datalinks
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	je	LBB0_4
## %bb.3:
	cmpq	$0, -48(%rbp)
	jne	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_5
LBB0_1:
	movq	%rbx, %rdi
	callq	_pcap_geterr
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_error
LBB0_5:
	movq	_supports_monitor_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	je	LBB0_7
## %bb.6:
	movq	_Iflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	testl	%r15d, %r15d
	jg	LBB0_9
	jmp	LBB0_16
LBB0_7:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	testl	%r15d, %r15d
	jle	LBB0_16
LBB0_9:
	movl	%r15d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r13
	cmpq	%r13, %r12
	je	LBB0_16
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movl	(%rax,%r13,4), %edi
	callq	_pcap_datalink_val_to_name
	movq	%rax, %rbx
	movl	(%r14), %r15d
	movq	-48(%rbp), %rax
	movl	(%rax,%r13,4), %edx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%edx, %edi
	callq	_pcap_datalink_val_to_description
	movl	%r15d, %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movq	-48(%rbp), %rax
	movl	(%rax,%r13,4), %edi
	callq	_has_printer
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%r15d, %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_15
LBB0_16:
	xorl	%edi, %edi
	callq	_exit_tcpdump
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"No data link types."

	.comm	_supports_monitor_mode,8,3      ## @supports_monitor_mode
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Data link types for %s %s (use option -y to set):\n"

	.comm	_Iflag,8,3                      ## @Iflag
L_.str.3:                               ## @.str.3
	.asciz	"when in monitor mode"

L_.str.4:                               ## @.str.4
	.asciz	"when not in monitor mode"

L_.str.5:                               ## @.str.5
	.asciz	"Data link types for %s (use option -y to set):\n"

L_.str.6:                               ## @.str.6
	.asciz	"  %s (%s)"

L_.str.7:                               ## @.str.7
	.asciz	" (printing not supported)"

L_.str.8:                               ## @.str.8
	.asciz	"\n"

L_.str.9:                               ## @.str.9
	.asciz	"  DLT %d (printing not supported)\n"

	.no_dead_strip	_show_dlts_and_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_dlts_and_exit
_show_dlts_and_exit:                    ; @show_dlts_and_exit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #24]
	add	x1, sp, #24
	bl	_pcap_list_datalinks
	mov	x19, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	cbz	w19, LBB0_3
; %bb.2:
	ldr	x8, [sp, #24]
	cbnz	x8, LBB0_6
LBB0_3:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	mov	x0, x21
	bl	_pcap_geterr
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	bl	_error
LBB0_6:
Lloh4:
	adrp	x8, _supports_monitor_mode@GOTPAGE
Lloh5:
	ldr	x8, [x8, _supports_monitor_mode@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x25, _stderr@GOTPAGE
Lloh8:
	ldr	x25, [x25, _stderr@GOTPAGEOFF]
	ldr	w0, [x25]
	cbz	x8, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _Iflag@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Iflag@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, l_.str.3@PAGE
Lloh13:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh14:
	adrp	x10, l_.str.4@PAGE
Lloh15:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	stp	x20, x8, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_8:
	str	x20, [sp]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_9:
	bl	_fprintf
	cmp	w19, #1
	b.lt	LBB0_17
; %bb.10:
	mov	x26, #0
	mov	w8, w19
	lsl	x27, x8, #2
Lloh20:
	adrp	x19, l_.str.9@PAGE
Lloh21:
	add	x19, x19, l_.str.9@PAGEOFF
Lloh22:
	adrp	x20, l_.str.6@PAGE
Lloh23:
	add	x20, x20, l_.str.6@PAGEOFF
Lloh24:
	adrp	x21, l_.str.7@PAGE
Lloh25:
	add	x21, x21, l_.str.7@PAGEOFF
Lloh26:
	adrp	x22, l_.str.8@PAGE
Lloh27:
	add	x22, x22, l_.str.8@PAGEOFF
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x25]
	mov	x1, x22
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	bl	_fprintf
	add	x26, x26, #4
	cmp	x27, x26
	b.eq	LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x26]
	bl	_pcap_datalink_val_to_name
	mov	x24, x0
	ldr	w23, [x25]
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x26]
	cbz	x24, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_pcap_datalink_val_to_description
	stp	x24, x0, [sp]
	mov	x0, x23
	mov	x1, x20
	bl	_fprintf
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x26]
	bl	_has_printer
	cbnz	w0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x25]
	mov	x1, x21
	bl	_fprintf
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	str	x0, [sp]
	mov	x0, x23
	mov	x1, x19
	b	LBB0_12
LBB0_17:
	mov	w0, #0
	bl	_exit_tcpdump
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"No data link types."

	.comm	_supports_monitor_mode,8,3      ; @supports_monitor_mode
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Data link types for %s %s (use option -y to set):\n"

	.comm	_Iflag,8,3                      ; @Iflag
l_.str.3:                               ; @.str.3
	.asciz	"when in monitor mode"

l_.str.4:                               ; @.str.4
	.asciz	"when not in monitor mode"

l_.str.5:                               ; @.str.5
	.asciz	"Data link types for %s (use option -y to set):\n"

l_.str.6:                               ; @.str.6
	.asciz	"  %s (%s)"

l_.str.7:                               ; @.str.7
	.asciz	" (printing not supported)"

l_.str.8:                               ; @.str.8
	.asciz	"\n"

l_.str.9:                               ; @.str.9
	.asciz	"  DLT %d (printing not supported)\n"

	.no_dead_strip	_show_dlts_and_exit
.subsections_via_symbols
