	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_lookupnet                 ## -- Begin function pcap_lookupnet
	.p2align	4, 0x90
_pcap_lookupnet:                        ## @pcap_lookupnet
	.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	%rcx, %r13
	movq	__watt_is_init@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	__w32_sin_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_my_ip_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	jne	LBB0_10
## %bb.3:
	movl	(%r15), %edi
	callq	_IN_CLASSA
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_IN_CLASSA_NET@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcpy
	movl	$-1, %eax
	jmp	LBB0_11
LBB0_5:
	movl	(%r15), %edi
	callq	_IN_CLASSB
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_IN_CLASSB_NET@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movl	(%r15), %edi
	callq	_IN_CLASSC
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	_IN_CLASSC_NET@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
LBB0_10:
	callq	_htonl
	movl	%eax, (%r12)
	movl	%ebx, %edi
	callq	_htonl
	movl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_ARGSUSED
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %ecx
	callq	_pcap_snprintf
	movl	$-1, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	__watt_is_init,4,2              ## @_watt_is_init
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pcap_open_offline() or pcap_activate() must be called first"

	.comm	__w32_sin_mask,4,2              ## @_w32_sin_mask
	.comm	_my_ip_addr,4,2                 ## @my_ip_addr
	.comm	_IN_CLASSA_NET,4,2              ## @IN_CLASSA_NET
	.comm	_IN_CLASSB_NET,4,2              ## @IN_CLASSB_NET
	.comm	_IN_CLASSC_NET,4,2              ## @IN_CLASSC_NET
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"inet class for 0x%lx unknown"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_lookupnet                 ; -- Begin function pcap_lookupnet
	.p2align	2
_pcap_lookupnet:                        ; @pcap_lookupnet
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x3
Lloh0:
	adrp	x8, __watt_is_init@GOTPAGE
Lloh1:
	ldr	x8, [x8, __watt_is_init@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh3:
	adrp	x8, __w32_sin_mask@GOTPAGE
Lloh4:
	ldr	x8, [x8, __w32_sin_mask@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _my_ip_addr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _my_ip_addr@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ands	w0, w8, w21
	b.ne	LBB0_10
; %bb.2:
	ldr	w0, [x20]
	bl	_IN_CLASSA
	cbz	x0, LBB0_5
; %bb.3:
Lloh9:
	adrp	x8, _IN_CLASSA_NET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IN_CLASSA_NET@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_strcpy
	mov	w0, #-1
	b	LBB0_11
LBB0_5:
	ldr	w0, [x20]
	bl	_IN_CLASSB
	cbz	x0, LBB0_7
; %bb.6:
Lloh13:
	adrp	x8, _IN_CLASSB_NET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IN_CLASSB_NET@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	ldr	w0, [x20]
	bl	_IN_CLASSC
	cbz	x0, LBB0_12
; %bb.8:
Lloh15:
	adrp	x8, _IN_CLASSC_NET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IN_CLASSC_NET@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
LBB0_10:
	bl	_htonl
	str	w0, [x22]
	mov	x0, x21
	bl	_htonl
	str	w0, [x20]
	mov	x0, x19
	bl	_ARGSUSED
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh17:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x3, x21
	bl	_pcap_snprintf
	mov	w0, #-1
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	__watt_is_init,4,2              ; @_watt_is_init
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pcap_open_offline() or pcap_activate() must be called first"

	.comm	__w32_sin_mask,4,2              ; @_w32_sin_mask
	.comm	_my_ip_addr,4,2                 ; @my_ip_addr
	.comm	_IN_CLASSA_NET,4,2              ; @IN_CLASSA_NET
	.comm	_IN_CLASSB_NET,4,2              ; @IN_CLASSB_NET
	.comm	_IN_CLASSC_NET,4,2              ; @IN_CLASSC_NET
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"inet class for 0x%lx unknown"

.subsections_via_symbols
