	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlan_scanr_index_decode
_wlan_scanr_index_decode:               ## @wlan_scanr_index_decode
	.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	(%rdi), %r9
	movq	(%r9,%rsi,8), %rbx
	movq	_IFNAMSIZ@GOTPCREL(%rip), %r10
	movl	$-1, %eax
	cmpq	(%r10), %rbx
	jae	LBB0_15
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	leaq	8(,%rsi,8), %r10
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addq	%r10, %r9
	movzbl	(%r9,%r11,8), %ebx
	movb	%bl, (%rdx,%r11)
	leaq	1(%r11), %r14
	movq	(%rdi), %r9
	movq	(%r9,%rsi,8), %rbx
	movq	%r14, %r11
	cmpq	%rbx, %r14
	jb	LBB0_4
	jmp	LBB0_5
LBB0_2:
	xorl	%ebx, %ebx
LBB0_5:
	movb	$0, (%rdx,%rbx)
	movq	(%rdi), %rdx
	movl	(%rdx,%rsi,8), %ebx
	addl	%esi, %ebx
	shlq	$32, %rbx
	movabsq	$4294967296, %r9                ## imm = 0x100000000
	addq	%rbx, %r9
	movq	%r9, %rbx
	sarq	$29, %rbx
	movq	(%rdx,%rbx), %r10
	movq	_IEEE80211_NWID_LEN@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %r10
	ja	LBB0_15
## %bb.6:
	sarq	$32, %r9
	testq	%r10, %r10
	je	LBB0_7
## %bb.8:
	leaq	8(,%r9,8), %r10
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	addq	%r10, %rdx
	leaq	1(%rbx), %r11
	movzbl	(%rdx,%rbx,8), %edx
	movb	%dl, (%rcx,%rbx)
	movq	(%rdi), %rdx
	movq	%r11, %rbx
	cmpq	(%rdx,%r9,8), %r11
	jb	LBB0_9
	jmp	LBB0_10
LBB0_7:
	xorl	%r11d, %r11d
LBB0_10:
	movb	$0, (%rcx,%r11)
	movq	(%rdi), %rdx
	movl	(%rdx,%rsi,8), %ecx
	addl	%esi, %ecx
	addl	(%rdx,%r9,8), %ecx
	shlq	$32, %rcx
	movabsq	$8589934592, %rsi               ## imm = 0x200000000
	addq	%rcx, %rsi
	movq	%rsi, %rcx
	sarq	$29, %rcx
	movq	(%rdx,%rcx), %rbx
	movq	_IEEE80211_ADDR_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	jne	LBB0_15
## %bb.11:
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.12:
	sarq	$32, %rsi
	movb	8(%rdx,%rsi,8), %dl
	movb	%dl, (%r8)
	cmpq	$2, (%rcx)
	jb	LBB0_15
## %bb.13:
	leaq	16(,%rsi,8), %rdx
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rbx
	addq	%rdx, %rbx
	movzbl	-8(%rbx,%rsi,8), %ebx
	movb	%bl, (%r8,%rsi)
	leaq	1(%rsi), %rbx
	movq	%rbx, %rsi
	cmpq	(%rcx), %rbx
	jb	LBB0_14
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFNAMSIZ,8,3                   ## @IFNAMSIZ
	.comm	_IEEE80211_NWID_LEN,8,3         ## @IEEE80211_NWID_LEN
	.comm	_IEEE80211_ADDR_LEN,8,3         ## @IEEE80211_ADDR_LEN
	.no_dead_strip	_wlan_scanr_index_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlan_scanr_index_decode
_wlan_scanr_index_decode:               ; @wlan_scanr_index_decode
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8, x1, lsl #3]
Lloh0:
	adrp	x10, _IFNAMSIZ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IFNAMSIZ@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.hs	LBB0_16
; %bb.1:
	cbz	x9, LBB0_4
; %bb.2:
	mov	x10, #0
	lsl	x9, x1, #3
	add	x9, x9, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x9
	ldr	x8, [x8, x10, lsl #3]
	strb	w8, [x2, x10]
	add	x12, x10, #1
	ldr	x8, [x0]
	ldr	x11, [x8, x1, lsl #3]
	mov	x10, x12
	cmp	x12, x11
	b.lo	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x11, #0
LBB0_5:
	strb	wzr, [x2, x11]
	ldr	x9, [x0]
	ldr	x8, [x9, x1, lsl #3]
	add	w8, w8, w1
	mov	x10, #4294967296
	add	x8, x10, x8, lsl #32
	asr	x10, x8, #29
	ldr	x10, [x9, x10]
Lloh3:
	adrp	x11, _IEEE80211_NWID_LEN@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IEEE80211_NWID_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x10, x11
	b.hi	LBB0_16
; %bb.6:
	asr	x8, x8, #32
	cbz	x10, LBB0_9
; %bb.7:
	mov	x11, #0
	lsl	x10, x8, #3
	add	x10, x10, #8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x9, x10
	ldr	x9, [x9, x11, lsl #3]
	strb	w9, [x3, x11]
	add	x12, x11, #1
	ldr	x9, [x0]
	ldr	x13, [x9, x8, lsl #3]
	mov	x11, x12
	cmp	x12, x13
	b.lo	LBB0_8
	b	LBB0_10
LBB0_9:
	mov	x12, #0
LBB0_10:
	strb	wzr, [x3, x12]
	ldr	x9, [x0]
	ldr	x10, [x9, x1, lsl #3]
	ldr	x8, [x9, x8, lsl #3]
	add	w10, w10, w1
	add	w8, w10, w8
	mov	x10, #8589934592
	add	x10, x10, x8, lsl #32
	asr	x8, x10, #29
	ldr	x11, [x9, x8]
Lloh6:
	adrp	x8, _IEEE80211_ADDR_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_ADDR_LEN@GOTPAGEOFF]
	ldr	x12, [x8]
	cmp	x11, x12
	b.ne	LBB0_16
; %bb.11:
	cbz	x11, LBB0_15
; %bb.12:
	asr	x11, x10, #32
	add	x9, x9, x11, lsl #3
	ldr	x9, [x9, #8]
	strb	w9, [x4]
	ldr	x9, [x8]
	cmp	x9, #2
	b.lo	LBB0_15
; %bb.13:
	mov	x10, #0
	lsl	x9, x11, #3
	add	x9, x9, #16
	add	x11, x4, #1
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x0]
	add	x12, x12, x9
	ldr	x12, [x12, x10, lsl #3]
	strb	w12, [x11, x10]
	ldr	x12, [x8]
	add	x13, x10, #2
	add	x10, x10, #1
	cmp	x13, x12
	b.lo	LBB0_14
LBB0_15:
	mov	w0, #0
	ret
LBB0_16:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IFNAMSIZ,8,3                   ; @IFNAMSIZ
	.comm	_IEEE80211_NWID_LEN,8,3         ; @IEEE80211_NWID_LEN
	.comm	_IEEE80211_ADDR_LEN,8,3         ; @IEEE80211_ADDR_LEN
	.no_dead_strip	_wlan_scanr_index_decode
.subsections_via_symbols
