	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbs_get_tx_power               ## -- Begin function lbs_get_tx_power
	.p2align	4, 0x90
_lbs_get_tx_power:                      ## @lbs_get_tx_power
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-72(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	$32, %edi
	callq	_cpu_to_le16
	movq	%rax, -48(%rbp)
	movq	_CMD_ACT_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, -56(%rbp)
	movq	_CMD_802_11_RF_TX_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_lbs_cmd_with_response
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movl	-64(%rbp), %edi
	callq	_le16_to_cpu
	movl	%eax, (%r15)
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	movl	-68(%rbp), %eax
	movl	%eax, (%r12)
LBB0_3:
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movl	-72(%rbp), %eax
	movl	%eax, (%r14)
LBB0_5:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_ACT_GET,4,2                ## @CMD_ACT_GET
	.comm	_CMD_802_11_RF_TX_POWER,4,2     ## @CMD_802_11_RF_TX_POWER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbs_get_tx_power               ; -- Begin function lbs_get_tx_power
	.p2align	2
_lbs_get_tx_power:                      ; @lbs_get_tx_power
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	w0, #32
	bl	_cpu_to_le16
	str	x0, [sp, #24]
Lloh0:
	adrp	x8, _CMD_ACT_GET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_ACT_GET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [sp, #16]
Lloh3:
	adrp	x8, _CMD_802_11_RF_TX_POWER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_802_11_RF_TX_POWER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x22
	bl	_lbs_cmd_with_response
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_le16_to_cpu
	str	w0, [x21]
	cbz	x20, LBB0_3
; %bb.2:
	ldr	w8, [sp, #4]
	str	w8, [x20]
LBB0_3:
	cbz	x19, LBB0_5
; %bb.4:
	ldr	w8, [sp]
	str	w8, [x19]
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_ACT_GET,4,2                ; @CMD_ACT_GET
	.comm	_CMD_802_11_RF_TX_POWER,4,2     ; @CMD_802_11_RF_TX_POWER
.subsections_via_symbols
