	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stuff_for_net                  ## -- Begin function stuff_for_net
	.p2align	4, 0x90
_stuff_for_net:                         ## @stuff_for_net
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	movq	_IEEE80211_FC0_TYPE_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	movq	_IEEE80211_FC0_TYPE_DATA@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %edx
	jne	LBB0_14
## %bb.1:
	movq	_IEEE80211_FC0_SUBTYPE_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	movq	_IEEE80211_FC0_SUBTYPE_DATA@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_14
## %bb.2:
	movq	_state@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	_SPOOF_MAC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_12
## %bb.3:
	movl	4(%rax), %eax
	movq	_IEEE80211_FC1_DIR_TODS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.4:
	movq	8(%rdi), %rsi
	jmp	LBB0_5
LBB0_12:
	leal	-24(%rsi), %ecx
	cmpl	$17, %ecx
	jl	LBB0_14
## %bb.13:
	movq	_IEEE80211_FC1_PROTECTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	4(%rax), %ecx
	je	LBB0_14
## %bb.15:
                                        ## kill: def $esi killed $esi killed $rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_got_wep                        ## TAILCALL
LBB0_6:
	movq	_IEEE80211_FC1_DIR_FROMDS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	16(%rdi), %rsi
LBB0_5:
	leaq	-22(%rbp), %rdi
	movl	$6, %edx
	callq	_memcpy
LBB0_9:
	movb	-22(%rbp), %al
	cmpb	$-1, %al
	je	LBB0_14
## %bb.10:
	cmpb	$1, %al
	je	LBB0_14
## %bb.11:
	movq	_mymac@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	leaq	-22(%rbp), %rsi
	movl	$6, %edx
	callq	_memcpy
	movq	(%r14), %rdi
	callq	_mac2str
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_time_print
	movq	_FOUND_VICTIM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_14:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_FC0_TYPE_MASK,4,2    ## @IEEE80211_FC0_TYPE_MASK
	.comm	_IEEE80211_FC0_SUBTYPE_MASK,4,2 ## @IEEE80211_FC0_SUBTYPE_MASK
	.comm	_IEEE80211_FC0_TYPE_DATA,4,2    ## @IEEE80211_FC0_TYPE_DATA
	.comm	_IEEE80211_FC0_SUBTYPE_DATA,4,2 ## @IEEE80211_FC0_SUBTYPE_DATA
	.comm	_state,8,3                      ## @state
	.comm	_SPOOF_MAC,8,3                  ## @SPOOF_MAC
	.comm	_IEEE80211_FC1_DIR_TODS,4,2     ## @IEEE80211_FC1_DIR_TODS
	.comm	_IEEE80211_FC1_DIR_FROMDS,4,2   ## @IEEE80211_FC1_DIR_FROMDS
	.comm	_mymac,8,3                      ## @mymac
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Trying to use MAC=(%s)\n"

	.comm	_FOUND_VICTIM,8,3               ## @FOUND_VICTIM
	.comm	_IEEE80211_FC1_PROTECTED,4,2    ## @IEEE80211_FC1_PROTECTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stuff_for_net                  ; -- Begin function stuff_for_net
	.p2align	2
_stuff_for_net:                         ; @stuff_for_net
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _IEEE80211_FC0_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IEEE80211_FC0_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w10, w10, w9
Lloh3:
	adrp	x11, _IEEE80211_FC0_TYPE_DATA@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IEEE80211_FC0_TYPE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_14
; %bb.1:
Lloh6:
	adrp	x10, _IEEE80211_FC0_SUBTYPE_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IEEE80211_FC0_SUBTYPE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	and	w9, w10, w9
Lloh9:
	adrp	x10, _IEEE80211_FC0_SUBTYPE_DATA@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IEEE80211_FC0_SUBTYPE_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_14
; %bb.2:
Lloh12:
	adrp	x19, _state@GOTPAGE
Lloh13:
	ldr	x19, [x19, _state@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh14:
	adrp	x10, _SPOOF_MAC@GOTPAGE
Lloh15:
	ldr	x10, [x10, _SPOOF_MAC@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x8, #4]
Lloh17:
	adrp	x9, _IEEE80211_FC1_DIR_TODS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IEEE80211_FC1_DIR_TODS@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
	ldr	x1, [x0, #8]
	b	LBB0_10
LBB0_5:
	sub	w9, w1, #24
	cmp	w9, #17
	b.lt	LBB0_14
; %bb.6:
	ldr	w8, [x8, #4]
Lloh20:
	adrp	x9, _IEEE80211_FC1_PROTECTED@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IEEE80211_FC1_PROTECTED@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	w8, LBB0_14
; %bb.7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_got_wep
LBB0_8:
Lloh23:
	adrp	x9, _IEEE80211_FC1_DIR_FROMDS@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IEEE80211_FC1_DIR_FROMDS@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.9:
	ldr	x1, [x0, #16]
LBB0_10:
	add	x0, sp, #10
	mov	w2, #6
	bl	_memcpy
LBB0_11:
	ldrb	w8, [sp, #10]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.12:
	cmp	w8, #255
	b.eq	LBB0_14
; %bb.13:
Lloh26:
	adrp	x20, _mymac@GOTPAGE
Lloh27:
	ldr	x20, [x20, _mymac@GOTPAGEOFF]
	ldr	x0, [x20]
	add	x1, sp, #10
	mov	w2, #6
	bl	_memcpy
	ldr	x0, [x20]
	bl	_mac2str
	mov	x1, x0
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	bl	_time_print
Lloh30:
	adrp	x8, _FOUND_VICTIM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FOUND_VICTIM@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_15:
	mov	w0, #0
	bl	_assert
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_FC0_TYPE_MASK,4,2    ; @IEEE80211_FC0_TYPE_MASK
	.comm	_IEEE80211_FC0_SUBTYPE_MASK,4,2 ; @IEEE80211_FC0_SUBTYPE_MASK
	.comm	_IEEE80211_FC0_TYPE_DATA,4,2    ; @IEEE80211_FC0_TYPE_DATA
	.comm	_IEEE80211_FC0_SUBTYPE_DATA,4,2 ; @IEEE80211_FC0_SUBTYPE_DATA
	.comm	_state,8,3                      ; @state
	.comm	_SPOOF_MAC,8,3                  ; @SPOOF_MAC
	.comm	_IEEE80211_FC1_DIR_TODS,4,2     ; @IEEE80211_FC1_DIR_TODS
	.comm	_IEEE80211_FC1_DIR_FROMDS,4,2   ; @IEEE80211_FC1_DIR_FROMDS
	.comm	_mymac,8,3                      ; @mymac
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Trying to use MAC=(%s)\n"

	.comm	_FOUND_VICTIM,8,3               ; @FOUND_VICTIM
	.comm	_IEEE80211_FC1_PROTECTED,4,2    ; @IEEE80211_FC1_PROTECTED
.subsections_via_symbols
