	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_packet_info                ## -- Begin function get_packet_info
	.p2align	4, 0x90
_get_packet_info:                       ## @get_packet_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rbx
	movq	%rdi, %r14
	movq	_chaninfo@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rcx)
	movl	$-1, (%rcx)
	movq	16(%rcx), %rax
	movq	$0, (%rax)
	movl	$-1, 4(%rcx)
	movq	(%rdi), %r8
	movl	(%r8), %edi
	movq	_IEEE80211_FC0_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%edi, %ecx
	movq	_IEEE80211_FC0_TYPE_CTL@GOTPCREL(%rip), %r9
	xorl	%eax, %eax
	cmpl	(%r9), %ecx
	je	LBB0_11
## %bb.1:
	movq	_IEEE80211_FC0_SUBTYPE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_IEEE80211_FC0_TYPE_MGT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_4
## %bb.2:
	movq	_IEEE80211_FC0_SUBTYPE_BEACON@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_4
## %bb.3:
	movq	%rsi, %rdi
	movl	%edx, %esi
	movq	%rbx, %rdx
	callq	_get_beacon_info
	movl	$1, %ecx
	jmp	LBB0_9
LBB0_4:
	movq	_IEEE80211_FC0_TYPE_DATA@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_10
## %bb.5:
	movq	_IEEE80211_FC0_SUBTYPE_DATA@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_10
## %bb.6:
	movl	4(%r8), %eax
	movq	_IEEE80211_FC1_PROTECTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_CRYPT_WEP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	4(%r8), %eax
LBB0_8:
	movq	_IEEE80211_FC1_DIR_FROMDS@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	testl	%eax, (%rdx)
	setne	%cl
LBB0_9:
	movl	%ecx, 4(%rbx)
LBB0_10:
	movl	8(%rbx), %edi
	movq	8(%r14), %rsi
	movl	$6, %edx
	callq	_memcpy
	movl	$1, %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_chaninfo,4,2                   ## @chaninfo
	.comm	_IEEE80211_FC0_TYPE_MASK,4,2    ## @IEEE80211_FC0_TYPE_MASK
	.comm	_IEEE80211_FC0_TYPE_CTL,4,2     ## @IEEE80211_FC0_TYPE_CTL
	.comm	_IEEE80211_FC0_SUBTYPE_MASK,4,2 ## @IEEE80211_FC0_SUBTYPE_MASK
	.comm	_IEEE80211_FC0_TYPE_MGT,4,2     ## @IEEE80211_FC0_TYPE_MGT
	.comm	_IEEE80211_FC0_SUBTYPE_BEACON,4,2 ## @IEEE80211_FC0_SUBTYPE_BEACON
	.comm	_IEEE80211_FC0_TYPE_DATA,4,2    ## @IEEE80211_FC0_TYPE_DATA
	.comm	_IEEE80211_FC0_SUBTYPE_DATA,4,2 ## @IEEE80211_FC0_SUBTYPE_DATA
	.comm	_IEEE80211_FC1_PROTECTED,4,2    ## @IEEE80211_FC1_PROTECTED
	.comm	_CRYPT_WEP,4,2                  ## @CRYPT_WEP
	.comm	_IEEE80211_FC1_DIR_FROMDS,4,2   ## @IEEE80211_FC1_DIR_FROMDS
	.comm	_CRYPT_WPA,4,2                  ## @CRYPT_WPA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_packet_info                ; -- Begin function get_packet_info
	.p2align	2
_get_packet_info:                       ; @get_packet_info
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _chaninfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _chaninfo@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x3, #24]
	ldr	x8, [x3, #16]
	str	xzr, [x8]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x3]
	ldr	x8, [x0]
	ldr	w10, [x8]
Lloh3:
	adrp	x9, _IEEE80211_FC0_TYPE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_FC0_TYPE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w10
Lloh6:
	adrp	x11, _IEEE80211_FC0_TYPE_CTL@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IEEE80211_FC0_TYPE_CTL@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	cmp	w9, w11
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_10
LBB0_2:
	mov	x19, x3
	mov	x20, x0
Lloh9:
	adrp	x11, _IEEE80211_FC0_SUBTYPE_MASK@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IEEE80211_FC0_SUBTYPE_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	and	w10, w11, w10
Lloh12:
	adrp	x11, _IEEE80211_FC0_TYPE_MGT@GOTPAGE
Lloh13:
	ldr	x11, [x11, _IEEE80211_FC0_TYPE_MGT@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
Lloh15:
	adrp	x12, _IEEE80211_FC0_SUBTYPE_BEACON@GOTPAGE
Lloh16:
	ldr	x12, [x12, _IEEE80211_FC0_SUBTYPE_BEACON@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	cmp	w9, w11
	ccmp	w10, w12, #0, eq
	b.eq	LBB0_7
; %bb.3:
Lloh18:
	adrp	x11, _IEEE80211_FC0_TYPE_DATA@GOTPAGE
Lloh19:
	ldr	x11, [x11, _IEEE80211_FC0_TYPE_DATA@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
Lloh21:
	adrp	x12, _IEEE80211_FC0_SUBTYPE_DATA@GOTPAGE
Lloh22:
	ldr	x12, [x12, _IEEE80211_FC0_SUBTYPE_DATA@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	cmp	w9, w11
	ccmp	w10, w12, #0, eq
	b.ne	LBB0_9
; %bb.4:
	ldr	w9, [x8, #4]
Lloh24:
	adrp	x10, _IEEE80211_FC1_PROTECTED@GOTPAGE
Lloh25:
	ldr	x10, [x10, _IEEE80211_FC1_PROTECTED@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.5:
Lloh27:
	adrp	x9, _CRYPT_WEP@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CRYPT_WEP@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	str	w9, [x19]
	ldr	w9, [x8, #4]
LBB0_6:
Lloh30:
	adrp	x8, _IEEE80211_FC1_DIR_FROMDS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IEEE80211_FC1_DIR_FROMDS@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w9
	cset	w8, ne
	b	LBB0_8
LBB0_7:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x19
	bl	_get_beacon_info
	mov	w8, #1
LBB0_8:
	str	w8, [x19, #4]
LBB0_9:
	ldr	w0, [x19, #8]
	ldr	x1, [x20, #8]
	mov	w2, #6
	bl	_memcpy
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_chaninfo,4,2                   ; @chaninfo
	.comm	_IEEE80211_FC0_TYPE_MASK,4,2    ; @IEEE80211_FC0_TYPE_MASK
	.comm	_IEEE80211_FC0_TYPE_CTL,4,2     ; @IEEE80211_FC0_TYPE_CTL
	.comm	_IEEE80211_FC0_SUBTYPE_MASK,4,2 ; @IEEE80211_FC0_SUBTYPE_MASK
	.comm	_IEEE80211_FC0_TYPE_MGT,4,2     ; @IEEE80211_FC0_TYPE_MGT
	.comm	_IEEE80211_FC0_SUBTYPE_BEACON,4,2 ; @IEEE80211_FC0_SUBTYPE_BEACON
	.comm	_IEEE80211_FC0_TYPE_DATA,4,2    ; @IEEE80211_FC0_TYPE_DATA
	.comm	_IEEE80211_FC0_SUBTYPE_DATA,4,2 ; @IEEE80211_FC0_SUBTYPE_DATA
	.comm	_IEEE80211_FC1_PROTECTED,4,2    ; @IEEE80211_FC1_PROTECTED
	.comm	_CRYPT_WEP,4,2                  ; @CRYPT_WEP
	.comm	_IEEE80211_FC1_DIR_FROMDS,4,2   ; @IEEE80211_FC1_DIR_FROMDS
	.comm	_CRYPT_WPA,4,2                  ; @CRYPT_WPA
.subsections_via_symbols
