	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_wow_add_disassoc_deauth_pattern
_ath9k_wow_add_disassoc_deauth_pattern: ## @ath9k_wow_add_disassoc_deauth_pattern
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_ath9k_hw_common
	movq	%rax, %r12
	movq	_MAX_PATTERN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rbx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	_MAX_PATTERN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_MAX_PATTERN_MASK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_2
## %bb.1:
	shlq	$2, %rdx
	leaq	L_.memset_pattern(%rip), %rsi
	movq	%r15, %rdi
	callq	_memset_pattern16
LBB0_2:
	movl	$160, (%r14)
	leaq	40(%r14), %rdi
	movl	(%r12), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_memcpy
	movq	%r14, %rdi
	addq	$64, %rdi
	movl	(%r12), %esi
	movl	(%rbx), %edx
	callq	_memcpy
	movabsq	$12884902142, %rax              ## imm = 0x3000000FE
	movq	%rax, (%r15)
	movl	$192, 8(%r15)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	movl	$16, %r8d
	callq	_ath9k_hw_wow_apply_pattern
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	$192, (%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	$1, %ecx
	movl	$16, %r8d
	callq	_ath9k_hw_wow_apply_pattern
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATTERN_SIZE,4,2           ## @MAX_PATTERN_SIZE
	.comm	_MAX_PATTERN_MASK_SIZE,4,2      ## @MAX_PATTERN_MASK_SIZE
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.no_dead_strip	_ath9k_wow_add_disassoc_deauth_pattern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ath9k_wow_add_disassoc_deauth_pattern
lCPI0_0:
	.long	254                             ; 0xfe
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ath9k_wow_add_disassoc_deauth_pattern: ; @ath9k_wow_add_disassoc_deauth_pattern
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x19, [x0]
	mov	x0, x19
	bl	_ath9k_hw_common
	mov	x22, x0
Lloh3:
	adrp	x23, _MAX_PATTERN_SIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAX_PATTERN_SIZE@GOTPAGEOFF]
	ldr	w2, [x23]
	lsl	x8, x2, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x12
	mov	sp, x21
	mov	x0, x20
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memset
	ldr	w2, [x23]
	mov	x0, x21
	mov	w1, #0
	bl	_memset
Lloh9:
	adrp	x8, _MAX_PATTERN_MASK_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_PATTERN_MASK_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	lsl	x2, x8, #2
Lloh12:
	adrp	x1, l_.memset_pattern@PAGE
Lloh13:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	mov	x0, x21
	bl	_memset_pattern16
LBB0_2:
	mov	w8, #160
	mov	x23, x20
	str	w8, [x23], #64
	add	x0, x20, #40
	ldr	w1, [x22]
Lloh14:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh15:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_memcpy
	ldr	w1, [x22]
	ldr	w2, [x24]
	mov	x0, x23
	bl	_memcpy
Lloh16:
	adrp	x8, lCPI0_0@PAGE
Lloh17:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21]
	mov	w22, #192
	str	w22, [x21, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	mov	w4, #16
	bl	_ath9k_hw_wow_apply_pattern
	cbnz	w0, LBB0_4
; %bb.3:
	str	w22, [x20]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #1
	mov	w4, #16
	bl	_ath9k_hw_wow_apply_pattern
LBB0_4:
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #48
	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_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATTERN_SIZE,4,2           ; @MAX_PATTERN_SIZE
	.comm	_MAX_PATTERN_MASK_SIZE,4,2      ; @MAX_PATTERN_MASK_SIZE
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.no_dead_strip	_ath9k_wow_add_disassoc_deauth_pattern
.subsections_via_symbols
