	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_add_new_sta
_ath6kl_add_new_sta:                    ## @ath6kl_add_new_sta
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	32(%rbp), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r13
	leaq	-1(%rdx), %rbx
	movq	16(%r13), %r12
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	imulq	$56, %rbx, %r14
	movl	52(%r12,%r14), %edi
	callq	_memcpy
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	_ATH6KL_MAX_IE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jb	LBB0_2
## %bb.1:
	movl	48(%r12,%r14), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
LBB0_2:
	movq	%r15, 40(%r12,%r14)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12,%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r12,%r14)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r12,%r14)
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 24(%r12,%r14)
	orl	%eax, (%r13)
	movq	%r15, %rdi
	callq	_cpu_to_le32
	movq	8(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %esi
	movl	32(%r12,%r14), %edx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_aggr_conn_init                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.comm	_ATH6KL_MAX_IE,8,3              ## @ATH6KL_MAX_IE
	.no_dead_strip	_ath6kl_add_new_sta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_add_new_sta
_ath6kl_add_new_sta:                    ; @ath6kl_add_new_sta
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x7
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x2
	mov	x19, x0
	ldr	x28, [x29, #16]
	ldr	x26, [x0, #8]
	sub	x27, x2, #1
	ldr	x25, [x26, #16]
	mov	w8, #56
	madd	x8, x27, x8, x25
	ldr	w0, [x8, #52]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x8]
	bl	_memcpy
Lloh3:
	adrp	x8, _ATH6KL_MAX_IE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH6KL_MAX_IE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x24
	b.lo	LBB0_2
; %bb.1:
	mov	w8, #56
	madd	x8, x27, x8, x25
	ldr	w0, [x8, #48]
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x24
	bl	_memcpy
LBB0_2:
	mov	w8, #56
	madd	x24, x27, x8, x25
	str	x20, [x24, #40]
	stp	x23, x22, [x24]
	stp	x21, x28, [x24, #16]
	ldr	w8, [x26]
	mov	w9, #1
	lsl	w9, w9, w27
	orr	w8, w8, w9
	str	w8, [x26]
	mov	x0, x20
	bl	_cpu_to_le32
	ldr	x8, [x26, #8]
	str	w0, [x8, x27, lsl #2]
	ldr	w1, [x19]
	ldr	w2, [x24, #32]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_aggr_conn_init
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.comm	_ATH6KL_MAX_IE,8,3              ; @ATH6KL_MAX_IE
	.no_dead_strip	_ath6kl_add_new_sta
.subsections_via_symbols
