	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_probe_response             ## -- Begin function get_probe_response
	.p2align	4, 0x90
_get_probe_response:                    ## @get_probe_response
	.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
	movl	$4184, %eax                     ## imm = 0x1058
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	16(%rdi), %edi
	leaq	-4144(%rbp), %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_sniff
	movl	%eax, -4212(%rbp)
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	leaq	-4144(%rbp), %rdi
	leaq	-4212(%rbp), %rsi
	callq	_get_wifi
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %rbx
	movl	-4212(%rbp), %edx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_generic_process
	movl	12(%r14), %esi
	movq	%rbx, %rdi
	callq	_for_me
	testl	%eax, %eax
	je	LBB0_12
## %bb.4:
	movq	_IEEE80211_FC0_TYPE_MGT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_FC0_SUBTYPE_PROBE_RESP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_frame_type
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	movzbl	18(%rbx), %r12d
	movq	_IEEE80211_CAPINFO_PRIVACY@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	testb	%r12b, (%rax)
	setne	%al
	movsbl	20(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_8:
	movq	%rbx, %r13
	addq	$20, %r13
	movsbq	1(%r13), %rcx
	movsbl	2(%rcx,%r13), %esi
	cmpl	$1, %esi
	jne	LBB0_9
## %bb.10:
	andl	$1, %r12d
	movb	%al, %dl
	movl	%edx, -4216(%rbp)               ## 4-byte Spill
	addq	$2, %r13
	movb	$0, 22(%rbx,%rcx)
	movl	4(%rbx), %esi
	leaq	-4176(%rbp), %rdi
	callq	_mac2str
	movl	(%rbx), %esi
	leaq	-4208(%rbp), %rdi
	callq	_mac2str
	leaq	L_.str.3(%rip), %rdi
	xorl	%r15d, %r15d
	leaq	-4176(%rbp), %rsi
	leaq	-4208(%rbp), %rdx
	movq	%r13, %rcx
	movl	%r12d, %r8d
	movl	-4216(%rbp), %r9d               ## 4-byte Reload
	xorl	%eax, %eax
	callq	_printf
	movl	8(%r14), %esi
	movq	%r13, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movl	4(%r14), %edi
	movl	4(%rbx), %esi
	movl	$6, %edx
	callq	_memcpy
	movl	(%r14), %edi
	movl	(%rbx), %esi
	movl	$6, %edx
	callq	_memcpy
	movl	$1, %r15d
	jmp	LBB0_12
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
LBB0_7:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_printf
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r15d, %eax
	addq	$4184, %rsp                     ## imm = 0x1058
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sniff()"

	.comm	_IEEE80211_FC0_TYPE_MGT,4,2     ## @IEEE80211_FC0_TYPE_MGT
	.comm	_IEEE80211_FC0_SUBTYPE_PROBE_RESP,4,2 ## @IEEE80211_FC0_SUBTYPE_PROBE_RESP
	.comm	_IEEE80211_CAPINFO_PRIVACY,1,0  ## @IEEE80211_CAPINFO_PRIVACY
L_.str.1:                               ## @.str.1
	.asciz	"Warning, expecting SSID got %x\n"

L_.str.2:                               ## @.str.2
	.asciz	"Warning, expected rates got %x\n"

L_.str.3:                               ## @.str.3
	.asciz	"Got response from %s [%s] [%s] ESS=%d WEP=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_probe_response             ; -- Begin function get_probe_response
	.p2align	2
_get_probe_response:                    ; @get_probe_response
	.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	w9, #4192
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #96
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	w0, [x0, #16]
	add	x1, sp, #88
	mov	w2, #4096
	bl	_sniff
	str	w0, [sp, #48]
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	add	x0, sp, #88
	add	x1, sp, #48
	bl	_get_wifi
	cbz	x0, LBB0_12
; %bb.3:
	mov	x20, x0
	ldr	w2, [sp, #48]
	mov	x1, x19
	bl	_generic_process
	ldr	w1, [x19, #12]
	mov	x0, x20
	bl	_for_me
	cbz	w0, LBB0_12
; %bb.4:
Lloh7:
	adrp	x8, _IEEE80211_FC0_TYPE_MGT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IEEE80211_FC0_TYPE_MGT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _IEEE80211_FC0_SUBTYPE_PROBE_RESP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IEEE80211_FC0_SUBTYPE_PROBE_RESP@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_frame_type
	cbz	w0, LBB0_12
; %bb.5:
	mov	x8, x20
	ldrsb	w10, [x8, #20]!
	ldurb	w9, [x8, #-2]
Lloh13:
	adrp	x11, _IEEE80211_CAPINFO_PRIVACY@GOTPAGE
Lloh14:
	ldr	x11, [x11, _IEEE80211_CAPINFO_PRIVACY@GOTPAGEOFF]
	ldrb	w11, [x11]
	tst	w11, w9
	cset	w22, ne
	cbz	w10, LBB0_7
; %bb.6:
	str	x10, [sp]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_7:
	mov	x10, x8
	ldrsb	x11, [x10, #1]!
	add	x11, x11, #1
	ldrsb	w12, [x10, x11]
	cmp	w12, #1
	b.ne	LBB0_10
; %bb.8:
	and	w23, w9, #0x1
	add	x21, x8, #2
	strb	wzr, [x10, x11]
	ldr	w1, [x20, #4]
	add	x24, sp, #70
	add	x0, sp, #70
	bl	_mac2str
	ldr	w1, [x20]
	add	x25, sp, #52
	add	x0, sp, #52
	bl	_mac2str
	stp	x23, x22, [sp, #24]
	stp	x25, x21, [sp, #8]
	str	x24, [sp]
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w1, [x19, #8]
	mov	x0, x21
	bl	_strcmp
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_12
; %bb.9:
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #4]
	mov	w2, #6
	bl	_memcpy
	ldr	w0, [x19]
	ldr	w1, [x20]
	mov	w2, #6
	bl	_memcpy
	mov	w0, #1
	b	LBB0_12
LBB0_10:
	str	x12, [sp]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_11:
	bl	_printf
	mov	w0, #0
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #96
	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_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sniff()"

	.comm	_IEEE80211_FC0_TYPE_MGT,4,2     ; @IEEE80211_FC0_TYPE_MGT
	.comm	_IEEE80211_FC0_SUBTYPE_PROBE_RESP,4,2 ; @IEEE80211_FC0_SUBTYPE_PROBE_RESP
	.comm	_IEEE80211_CAPINFO_PRIVACY,1,0  ; @IEEE80211_CAPINFO_PRIVACY
l_.str.1:                               ; @.str.1
	.asciz	"Warning, expecting SSID got %x\n"

l_.str.2:                               ; @.str.2
	.asciz	"Warning, expected rates got %x\n"

l_.str.3:                               ; @.str.3
	.asciz	"Got response from %s [%s] [%s] ESS=%d WEP=%d\n"

.subsections_via_symbols
