	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_cfg80211_vif_init
_ath6kl_cfg80211_vif_init:              ## @ath6kl_cfg80211_vif_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_aggr_init
	movl	%eax, 20(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	16(%rbx), %rdi
	movq	_disconnect_timer_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_timer_setup
	leaq	12(%rbx), %rdi
	movq	_ath6kl_wmi_sscan_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_WMM_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_set_bit
	leaq	4(%rbx), %rdi
	callq	_spin_lock_init
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_ath6kl_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to initialize aggr\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_disconnect_timer_handler,4,2   ## @disconnect_timer_handler
	.comm	_ath6kl_wmi_sscan_timer,4,2     ## @ath6kl_wmi_sscan_timer
	.comm	_WMM_ENABLED,4,2                ## @WMM_ENABLED
	.no_dead_strip	_ath6kl_cfg80211_vif_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_cfg80211_vif_init
_ath6kl_cfg80211_vif_init:              ; @ath6kl_cfg80211_vif_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_aggr_init
	str	w0, [x19, #20]
	cbz	w0, LBB0_2
; %bb.1:
	add	x0, x19, #16
Lloh0:
	adrp	x8, _disconnect_timer_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _disconnect_timer_handler@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	add	x0, x19, #12
Lloh3:
	adrp	x8, _ath6kl_wmi_sscan_timer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ath6kl_wmi_sscan_timer@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
Lloh6:
	adrp	x8, _WMM_ENABLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WMM_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_set_bit
	add	x0, x19, #4
	bl	_spin_lock_init
	mov	x0, x19
	bl	_INIT_LIST_HEAD
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ath6kl_err
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to initialize aggr\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_disconnect_timer_handler,4,2   ; @disconnect_timer_handler
	.comm	_ath6kl_wmi_sscan_timer,4,2     ; @ath6kl_wmi_sscan_timer
	.comm	_WMM_ENABLED,4,2                ; @WMM_ENABLED
	.no_dead_strip	_ath6kl_cfg80211_vif_init
.subsections_via_symbols
