	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_find_link_id            ## -- Begin function cw1200_find_link_id
	.p2align	4, 0x90
_cw1200_find_link_id:                   ## @cw1200_find_link_id
	.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	%rsi, %r15
	movq	%rdi, %r14
	callq	_spin_lock_bh
	movq	_CW1200_MAX_STA_IN_AP_MODE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	movq	_ETH_ALEN@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	_CW1200_MAX_STA_IN_AP_MODE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$24, %rbx
	cmpq	%rax, %r13
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	16(%rax,%rbx), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	cmpq	$0, 8(%rax,%rbx)
	je	LBB0_5
## %bb.4:
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax,%rbx)
	incl	%r13d
	jmp	LBB0_7
LBB0_6:
	xorl	%r13d, %r13d
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CW1200_MAX_STA_IN_AP_MODE,4,2  ## @CW1200_MAX_STA_IN_AP_MODE
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_jiffies,4,2                    ## @jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_find_link_id            ; -- Begin function cw1200_find_link_id
	.p2align	2
_cw1200_find_link_id:                   ; @cw1200_find_link_id
	.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, x1
	mov	x19, x0
	bl	_spin_lock_bh
Lloh0:
	adrp	x22, _CW1200_MAX_STA_IN_AP_MODE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CW1200_MAX_STA_IN_AP_MODE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
	mov	x21, #0
Lloh2:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x22]
	add	x23, x23, #24
	cmp	x21, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	ldr	w1, [x8, #16]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_memcmp
	cbnz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	add	x9, x8, x23
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_2
; %bb.5:
Lloh4:
	adrp	x9, _jiffies@GOTPAGE
Lloh5:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	str	w9, [x8, x23]
	add	w20, w21, #1
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CW1200_MAX_STA_IN_AP_MODE,4,2  ; @CW1200_MAX_STA_IN_AP_MODE
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_jiffies,4,2                    ; @jiffies
.subsections_via_symbols
