	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbs_cmd_802_11_sleep_params    ## -- Begin function lbs_cmd_802_11_sleep_params
	.p2align	4, 0x90
_lbs_cmd_802_11_sleep_params:           ## @lbs_cmd_802_11_sleep_params
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_CMD_ACT_GET@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	jmp	LBB0_3
LBB0_2:
	movl	(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, -56(%rbp)
	movl	4(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, -64(%rbp)
	movl	8(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, -72(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -76(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -80(%rbp)
	movl	12(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, -88(%rbp)
LBB0_3:
	movl	$56, %edi
	callq	_cpu_to_le16
	movq	%rax, -40(%rbp)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, -48(%rbp)
	movq	_CMD_802_11_SLEEP_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdx
	movq	%r14, %rdi
	callq	_lbs_cmd_with_response
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	-56(%rbp), %rdi
	callq	_le16_to_cpu
	movq	%rax, %r15
	movq	-64(%rbp), %rdi
	callq	_le16_to_cpu
	movq	%rax, %r12
	movq	-72(%rbp), %rdi
	callq	_le16_to_cpu
	movl	-80(%rbp), %r9d
	movl	-76(%rbp), %r8d
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_lbs_deb_cmd
	movq	-56(%rbp), %rdi
	callq	_le16_to_cpu
	movl	%eax, (%rbx)
	movq	-64(%rbp), %rdi
	callq	_le16_to_cpu
	movl	%eax, 4(%rbx)
	movq	-72(%rbp), %rdi
	callq	_le16_to_cpu
	movl	%eax, 8(%rbx)
	movl	-76(%rbp), %eax
	movl	%eax, 20(%rbx)
	movl	-80(%rbp), %eax
	movl	%eax, 16(%rbx)
	movq	-88(%rbp), %rdi
	callq	_le16_to_cpu
	movl	%eax, 12(%rbx)
LBB0_5:
	movl	%r14d, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_ACT_GET,4,2                ## @CMD_ACT_GET
	.comm	_CMD_802_11_SLEEP_PARAMS,4,2    ## @CMD_802_11_SLEEP_PARAMS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error 0x%x, offset 0x%x, stabletime 0x%x, calcontrol 0x%x extsleepclk 0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbs_cmd_802_11_sleep_params    ; -- Begin function lbs_cmd_802_11_sleep_params
	.p2align	2
_lbs_cmd_802_11_sleep_params:           ; @lbs_cmd_802_11_sleep_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CMD_ACT_GET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_ACT_GET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19]
	bl	_cpu_to_le16
	str	x0, [sp, #40]
	ldr	w0, [x19, #4]
	bl	_cpu_to_le16
	str	x0, [sp, #32]
	ldr	w0, [x19, #8]
	bl	_cpu_to_le16
	str	x0, [sp, #24]
	ldr	d0, [x19, #16]
	str	d0, [sp, #16]
	ldr	w0, [x19, #12]
	bl	_cpu_to_le16
	str	x0, [sp, #8]
LBB0_3:
	mov	w0, #56
	bl	_cpu_to_le16
	str	x0, [sp, #56]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [sp, #48]
Lloh3:
	adrp	x8, _CMD_802_11_SLEEP_PARAMS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_802_11_SLEEP_PARAMS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_lbs_cmd_with_response
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	x0, [sp, #40]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	x0, [sp, #32]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	x0, [sp, #24]
	bl	_le16_to_cpu
	mov	x3, x0
	ldp	w5, w4, [sp, #16]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x22
	bl	_lbs_deb_cmd
	ldr	x0, [sp, #40]
	bl	_le16_to_cpu
	str	w0, [x19]
	ldr	x0, [sp, #32]
	bl	_le16_to_cpu
	str	w0, [x19, #4]
	ldr	x0, [sp, #24]
	bl	_le16_to_cpu
	str	w0, [x19, #8]
	ldr	d0, [sp, #16]
	str	d0, [x19, #16]
	ldr	x0, [sp, #8]
	bl	_le16_to_cpu
	str	w0, [x19, #12]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_ACT_GET,4,2                ; @CMD_ACT_GET
	.comm	_CMD_802_11_SLEEP_PARAMS,4,2    ; @CMD_802_11_SLEEP_PARAMS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error 0x%x, offset 0x%x, stabletime 0x%x, calcontrol 0x%x extsleepclk 0x%x\n"

.subsections_via_symbols
