	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dfs_pattern_detector_init      ## -- Begin function dfs_pattern_detector_init
	.p2align	4, 0x90
_dfs_pattern_detector_init:             ## @dfs_pattern_detector_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_CONFIG_CFG80211_CERTIFICATION_ONUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movq	_default_dpd@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 16(%rbx)
	movups	(%rax), %xmm0
	movups	%xmm0, (%rbx)
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, 8(%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	*(%rbx)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	_DFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %ecx
	callq	_ath_dbg
	movq	%rbx, %rdi
	callq	_kfree
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_CFG80211_CERTIFICATION_ONUS,4,2 ## @CONFIG_CFG80211_CERTIFICATION_ONUS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_default_dpd,24,3               ## @default_dpd
	.comm	_DFS,4,2                        ## @DFS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not set DFS domain to %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dfs_pattern_detector_init      ; -- Begin function dfs_pattern_detector_init
	.p2align	2
_dfs_pattern_detector_init:             ; @dfs_pattern_detector_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CONFIG_CFG80211_CERTIFICATION_ONUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_CFG80211_CERTIFICATION_ONUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	w0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kmalloc
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _default_dpd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _default_dpd@GOTPAGEOFF]
	ldr	x9, [x8, #16]
	ldr	q0, [x8]
	str	q0, [x21]
	mov	x0, x21
	str	x9, [x0, #16]!
	bl	_INIT_LIST_HEAD
	str	x20, [x21, #8]
	ldr	x8, [x21]
	mov	x0, x21
	mov	x1, x19
	blr	x8
	cbnz	x0, LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _DFS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DFS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_ath_dbg
	mov	x0, x21
	bl	_kfree
LBB0_4:
	mov	x21, #0
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_CFG80211_CERTIFICATION_ONUS,4,2 ; @CONFIG_CFG80211_CERTIFICATION_ONUS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_default_dpd,24,3               ; @default_dpd
	.comm	_DFS,4,2                        ; @DFS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not set DFS domain to %d"

.subsections_via_symbols
