	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbs_set_power_adapt_cfg        ## -- Begin function lbs_set_power_adapt_cfg
	.p2align	4, 0x90
_lbs_set_power_adapt_cfg:               ## @lbs_set_power_adapt_cfg
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	$48, %edi
	callq	_cpu_to_le16
	movq	%rax, -48(%rbp)
	movq	_CMD_ACT_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	testl	%r15d, %r15d
	setne	%al
	movl	%eax, -88(%rbp)
	movq	%rbx, -64(%rbp)
	movq	%r13, -72(%rbp)
	movq	%r14, -80(%rbp)
	movq	_CMD_802_11_PA_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	leaq	-88(%rbp), %rdx
	callq	_lbs_cmd_with_response
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_ACT_SET,4,2                ## @CMD_ACT_SET
	.comm	_CMD_802_11_PA_CFG,4,2          ## @CMD_802_11_PA_CFG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbs_set_power_adapt_cfg        ; -- Begin function lbs_set_power_adapt_cfg
	.p2align	2
_lbs_set_power_adapt_cfg:               ; @lbs_set_power_adapt_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	mov	w0, #48
	bl	_cpu_to_le16
	str	x0, [sp, #40]
Lloh0:
	adrp	x8, _CMD_ACT_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_ACT_SET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	cmp	w22, #0
	cset	w8, ne
	str	w8, [sp]
	stp	x21, x0, [sp, #24]
	stp	x19, x20, [sp, #8]
Lloh3:
	adrp	x8, _CMD_802_11_PA_CFG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_802_11_PA_CFG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x23
	bl	_lbs_cmd_with_response
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_ACT_SET,4,2                ; @CMD_ACT_SET
	.comm	_CMD_802_11_PA_CFG,4,2          ; @CMD_802_11_PA_CFG
.subsections_via_symbols
