	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_start                   ## -- Begin function cw1200_start
	.p2align	4, 0x90
_cw1200_start:                          ## @cw1200_start
	.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	%rdi, %r15
	movq	8(%rdi), %r12
	leaq	28(%r12), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cw1200_pm_stay_awake
	leaq	12(%r12), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	leaq	24(%r12), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	movl	$3, %ecx
	movl	$7, %r8d
	movl	$47, %r9d
	pushq	$0
	pushq	$200
	callq	_WSM_EDCA_SET
	addq	$16, %rsp
	movq	%r13, %rdi
	movl	$1, %esi
	movl	$2, %edx
	movl	$7, %ecx
	movl	$15, %r8d
	movl	$94, %r9d
	pushq	$0
	pushq	$200
	callq	_WSM_EDCA_SET
	addq	$16, %rsp
	movq	%r13, %rdi
	movl	$2, %esi
	movl	$3, %edx
	movl	$15, %ecx
	movl	$1023, %r8d                     ## imm = 0x3FF
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$200
	callq	_WSM_EDCA_SET
	addq	$16, %rsp
	movq	%r13, %rdi
	movl	$3, %esi
	movl	$7, %edx
	movl	$15, %ecx
	movl	$1023, %r8d                     ## imm = 0x3FF
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$200
	callq	_WSM_EDCA_SET
	addq	$16, %rsp
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_wsm_set_edca_params
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_cw1200_set_uapsd_param
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	$0, (%r12)
	movl	20(%r12), %edi
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_NL80211_IFTYPE_MONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movabsq	$47244640255, %rax              ## imm = 0xAFFFFFFFF
	movq	%rax, 4(%r12)
	movq	%r12, %rdi
	callq	_cw1200_setup_mac
	movl	%eax, %ebx
LBB0_3:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_NL80211_IFTYPE_MONITOR,4,2     ## @NL80211_IFTYPE_MONITOR
.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 cw1200_start
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	10                              ; 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_cw1200_start
	.p2align	2
_cw1200_start:                          ; @cw1200_start
	.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	x21, x0
	ldr	x19, [x0, #8]
	add	x0, x19, #28
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_cw1200_pm_stay_awake
	add	x20, x19, #12
	mov	x0, x20
	bl	_mutex_lock
	add	x22, x19, #24
	mov	x0, x22
	mov	w1, #0
	mov	w2, #2
	mov	w3, #3
	mov	w4, #7
	mov	w5, #47
	mov	w6, #200
	mov	w7, #0
	bl	_WSM_EDCA_SET
	mov	x0, x22
	mov	w1, #1
	mov	w2, #2
	mov	w3, #7
	mov	w4, #15
	mov	w5, #94
	mov	w7, #0
	mov	w6, #200
	bl	_WSM_EDCA_SET
	mov	x0, x22
	mov	w1, #2
	mov	w2, #3
	mov	w3, #15
	mov	w4, #1023
	mov	w5, #0
	mov	w6, #200
	mov	w7, #0
	bl	_WSM_EDCA_SET
	mov	x0, x22
	mov	w1, #3
	mov	w2, #7
	mov	w3, #15
	mov	w4, #1023
	mov	w5, #0
	mov	w6, #200
	mov	w7, #0
	bl	_WSM_EDCA_SET
	mov	x0, x19
	mov	x1, x22
	bl	_wsm_set_edca_params
	mov	x23, x0
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	bl	_cw1200_set_uapsd_param
	mov	x23, x0
	cbnz	w0, LBB0_3
; %bb.2:
	str	wzr, [x19]
	ldr	w0, [x19, #20]
	ldr	x8, [x21]
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_memcpy
Lloh6:
	adrp	x8, _NL80211_IFTYPE_MONITOR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_IFTYPE_MONITOR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #4]
	mov	x0, x19
	bl	_cw1200_setup_mac
	mov	x23, x0
LBB0_3:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x23
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_NL80211_IFTYPE_MONITOR,4,2     ; @NL80211_IFTYPE_MONITOR
.subsections_via_symbols
