	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iw_handler_get_spy             ## -- Begin function iw_handler_get_spy
	.p2align	4, 0x90
_iw_handler_get_spy:                    ## @iw_handler_get_spy
	.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, %rbx
	movq	%rdx, %r14
	callq	_get_spydata
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r12
	movl	(%rax), %eax
	movl	%eax, (%r14)
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rbx), %r14
	xorl	%ebx, %ebx
	movq	_ETH_ALEN@GOTPCREL(%rip), %r13
	movq	_AF_UNIX@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%r14), %rdi
	movq	16(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	(%r13), %edx
	callq	_memcpy
	movl	(%r15), %eax
	movl	%eax, (%r14)
	incq	%rbx
	movslq	(%r12), %rax
	addq	$16, %r14
	cmpq	%rax, %rbx
	jl	LBB0_3
## %bb.4:
	movl	%eax, %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_21
## %bb.5:
	movq	%rax, %rcx
	shlq	$4, %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	%rcx, %rdi
	movq	8(%r12), %rsi
	leal	(,%rax,4), %edx
	callq	_memcpy
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_21
## %bb.6:
	movq	8(%r12), %rcx
	cmpl	$8, %eax
	jb	LBB0_7
## %bb.10:
	movq	_IW_QUAL_ALL_UPDATED@GOTPCREL(%rip), %rsi
	leaq	4(%rsi), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_13
## %bb.11:
	leaq	(%rcx,%rax,4), %rdx
	cmpq	_IW_QUAL_ALL_UPDATED@GOTPCREL(%rip), %rdx
	jbe	LBB0_13
LBB0_7:
	xorl	%edx, %edx
LBB0_16:
	movq	%rdx, %rsi
	notq	%rsi
	testb	$1, %al
	je	LBB0_18
## %bb.17:
	movq	_IW_QUAL_ALL_UPDATED@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	notl	%edi
	andl	%edi, (%rcx,%rdx,4)
	orq	$1, %rdx
LBB0_18:
	xorl	%r14d, %r14d
	addq	%rax, %rsi
	je	LBB0_21
## %bb.19:
	movq	_IW_QUAL_ALL_UPDATED@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edi
	notl	%edi
	andl	%edi, (%rcx,%rdx,4)
	movl	(%rsi), %edi
	notl	%edi
	andl	%edi, 4(%rcx,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_20
	jmp	LBB0_21
LBB0_8:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_21
LBB0_9:
	xorl	%r14d, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	%eax, %edx
	andl	$-8, %edx
	movd	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm1                ## xmm1 = xmm0[0,0,0,0]
	pcmpeqd	%xmm0, %xmm0
	pxor	%xmm1, %xmm0
	leaq	(,%rax,4), %rsi
	andq	$-32, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi), %xmm1
	movdqu	16(%rcx,%rdi), %xmm2
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rdi)
	movdqu	%xmm2, 16(%rcx,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_14
## %bb.15:
	xorl	%r14d, %r14d
	cmpq	%rax, %rdx
	je	LBB0_21
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
	.comm	_IW_QUAL_ALL_UPDATED,4,2        ## @IW_QUAL_ALL_UPDATED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iw_handler_get_spy             ; -- Begin function iw_handler_get_spy
	.p2align	2
_iw_handler_get_spy:                    ; @iw_handler_get_spy
	.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	x20, x3
	mov	x21, x2
	bl	_get_spydata
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	str	w8, [x21]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.2:
	mov	x21, #0
	add	x22, x20, #8
Lloh0:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	adrp	x24, _AF_UNIX@GOTPAGE
Lloh3:
	ldr	x24, [x24, _AF_UNIX@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x0, [x22, #-8]
	ldr	x8, [x19, #16]
	ldr	x1, [x8, x21, lsl #3]
	ldr	w2, [x23]
	bl	_memcpy
	ldr	w8, [x24]
	str	w8, [x22], #16
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_3
; %bb.4:
	and	x8, x8, #0xffffffff
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.5:
	ldr	x1, [x19, #8]
	lsl	w2, w8, #2
	add	x0, x20, x8, lsl #4
	bl	_memcpy
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.6:
	ldr	x10, [x19, #8]
Lloh4:
	adrp	x8, _IW_QUAL_ALL_UPDATED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IW_QUAL_ALL_UPDATED@GOTPAGEOFF]
	cmp	w9, #16
	b.lo	LBB0_9
; %bb.7:
	add	x11, x8, #4
	cmp	x10, x11
	b.hs	LBB0_15
; %bb.8:
	add	x11, x10, x9, lsl #2
	cmp	x11, x8
	b.ls	LBB0_15
LBB0_9:
	mov	x11, #0
LBB0_10:
	add	x10, x10, x11, lsl #2
	sub	x9, x9, x11
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	ldr	w12, [x10]
	bic	w11, w12, w11
	str	w11, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_11
LBB0_12:
	mov	w0, #0
	b	LBB0_14
LBB0_13:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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_15:
	and	x11, x9, #0xfffffff0
	ldr	s0, [x8]
	mvn.16b	v0, v0
	dup.4s	v0, v0[0]
	add	x12, x10, #32
	mov	x13, x11
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x12, #-32]
	ldp	q3, q4, [x12]
	and.16b	v1, v1, v0
	and.16b	v2, v2, v0
	and.16b	v3, v3, v0
	and.16b	v4, v4, v0
	stp	q1, q2, [x12, #-32]
	stp	q3, q4, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_16
; %bb.17:
	cmp	x11, x9
	b.eq	LBB0_12
	b	LBB0_10
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
	.comm	_IW_QUAL_ALL_UPDATED,4,2        ; @IW_QUAL_ALL_UPDATED
.subsections_via_symbols
