	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkt_open
_pkt_open:                              ## @pkt_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	jne	LBB0_1
## %bb.2:
	movq	_PDRX_BROADCAST@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PDRX_ALL_PACKETS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_PktInitDriver
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	_pktInfo@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PktResetStatistics
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PktQueueBusy
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_PDRX_ALL_PACKETS,4,2           ## @PDRX_ALL_PACKETS
	.comm	_PDRX_BROADCAST,4,2             ## @PDRX_BROADCAST
	.comm	_pktInfo,4,2                    ## @pktInfo
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_pkt_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkt_open
_pkt_open:                              ; @pkt_open
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	adrp	x10, _PDRX_BROADCAST@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PDRX_BROADCAST@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x11, _PDRX_ALL_PACKETS@GOTPAGE
Lloh6:
	ldr	x11, [x11, _PDRX_ALL_PACKETS@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	bl	_PktInitDriver
	cbz	w0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _pktInfo@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pktInfo@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_PktResetStatistics
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_PktQueueBusy
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_PDRX_ALL_PACKETS,4,2           ; @PDRX_ALL_PACKETS
	.comm	_PDRX_BROADCAST,4,2             ; @PDRX_BROADCAST
	.comm	_pktInfo,4,2                    ; @pktInfo
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_pkt_open
.subsections_via_symbols
