	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_set_uapsd_param         ## -- Begin function cw1200_set_uapsd_param
	.p2align	4, 0x90
_cw1200_set_uapsd_param:                ## @cw1200_set_uapsd_param
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%rax)
	setne	%cl
	leal	(,%rcx,8), %edx
	cmpq	$0, 8(%rax)
	leal	4(,%rcx,8), %ecx
	cmovel	%edx, %ecx
	cmpq	$0, 16(%rax)
	leal	2(%rcx), %edx
	cmovel	%ecx, %edx
	xorl	%edi, %edi
	cmpq	$0, 24(%rax)
	setne	%dil
	orl	%edx, %edi
	callq	_cpu_to_le16
	movl	%eax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wsm_set_uapsd_info             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_set_uapsd_param         ; -- Begin function cw1200_set_uapsd_param
	.p2align	2
_cw1200_set_uapsd_param:                ; @cw1200_set_uapsd_param
	.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
	ldr	x8, [x1]
	ldp	x9, x10, [x8]
	cmp	x9, #0
	cset	w9, ne
	lsl	w11, w9, #3
	mov	w12, #4
	bfi	w12, w9, #3, #1
	cmp	x10, #0
	csel	w9, w11, w12, eq
	orr	w10, w9, #0x2
	ldp	x11, x8, [x8, #16]
	cmp	x11, #0
	csel	w9, w9, w10, eq
	cmp	x8, #0
	cset	w8, ne
	orr	w0, w9, w8
	bl	_cpu_to_le16
	str	w0, [x19, #24]
	stp	xzr, xzr, [x19, #8]
	str	xzr, [x19]
	mov	x0, x19
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wsm_set_uapsd_info
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
