	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_live_dump_npf
_pcap_live_dump_npf:                    ## @pcap_live_dump_npf
	.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
	movl	%ecx, %r13d
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	movl	(%r14), %edi
	movq	_PACKET_MODE_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PacketSetMode
	movq	_FALSE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_6
LBB0_2:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	(%r14), %r13d
	movq	%rbx, %rdi
	callq	_strlen
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_PacketSetDumpName
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_4:
	movl	(%r14), %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_PacketSetDumpLimits
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	(%r15), %rcx
	jne	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rdx
LBB0_6:
	movl	(%r12), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pcap_snprintf
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET_MODE_DUMP,4,2           ## @PACKET_MODE_DUMP
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error setting dump mode"

L_.str.1:                               ## @.str.1
	.asciz	"Error setting kernel dump file name"

L_.str.2:                               ## @.str.2
	.asciz	"Error setting dump limit"

	.no_dead_strip	_pcap_live_dump_npf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_live_dump_npf
_pcap_live_dump_npf:                    ; @pcap_live_dump_npf
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x24, [x0, #8]
	ldr	w0, [x24]
Lloh0:
	adrp	x8, _PACKET_MODE_DUMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACKET_MODE_DUMP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_PacketSetMode
Lloh3:
	adrp	x25, _FALSE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	ldr	w23, [x24]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_PacketSetDumpName
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	w0, [x24]
	mov	x1, x21
	mov	x2, x20
	bl	_PacketSetDumpLimits
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_6:
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_pcap_snprintf
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET_MODE_DUMP,4,2           ; @PACKET_MODE_DUMP
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error setting dump mode"

l_.str.1:                               ; @.str.1
	.asciz	"Error setting kernel dump file name"

l_.str.2:                               ; @.str.2
	.asciz	"Error setting dump limit"

	.no_dead_strip	_pcap_live_dump_npf
.subsections_via_symbols
