	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_set_tx_power                ## -- Begin function il_set_tx_power
	.p2align	4, 0x90
_il_set_tx_power:                       ## @il_set_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	addq	$44, %rdi
	callq	_lockdep_assert_held
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	cmpq	%r14, (%r12)
	je	LBB0_11
LBB0_2:
	movq	24(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.3:
	testq	%r14, %r14
	js	LBB0_8
## %bb.4:
	movq	8(%r12), %rdx
	cmpq	%r14, %rdx
	jge	LBB0_12
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_IL_WARN
	jmp	LBB0_9
LBB0_6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_IL_WARN
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_10:
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r12, %rdi
	callq	_il_is_ready_rf
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:
	movq	%r14, 16(%r12)
	movq	_S_SCANNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	40(%r12), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	xorl	%eax, %eax
	testl	%r15d, %r15d
	je	LBB0_19
	jmp	LBB0_15
LBB0_17:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_18:
	leaq	36(%r12), %rdi
	leaq	32(%r12), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	sete	%al
	testl	%r15d, %r15d
	jne	LBB0_15
LBB0_19:
	testb	%al, %al
	jne	LBB0_15
## %bb.20:
	leaq	L_.str.2(%rip), %rdi
	callq	_D_INFO
	jmp	LBB0_21
LBB0_15:
	movq	(%r12), %r15
	movq	24(%r12), %rax
	movq	%r14, (%r12)
	movq	%r12, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_21
## %bb.16:
	movl	%eax, %ebx
	movq	%r15, (%r12)
	movq	%r15, 16(%r12)
	jmp	LBB0_11
LBB0_21:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Requested user TXPOWER %d below 1 mW.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Requested user TXPOWER %d above upper limit %d.\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_S_SCANNING,4,2                 ## @S_SCANNING
L_.str.2:                               ## @.str.2
	.asciz	"Deferring tx power set\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_set_tx_power                ; -- Begin function il_set_tx_power
	.p2align	2
_il_set_tx_power:                       ; @il_set_tx_power
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, x0, #44
	bl	_lockdep_assert_held
	cbnz	w21, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, x19
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_11
LBB0_3:
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.4:
	tbnz	x19, #63, LBB0_8
; %bb.5:
	ldr	x8, [x20, #8]
	cmp	x8, x19
	b.ge	LBB0_12
; %bb.6:
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_9:
	mov	x1, x19
	bl	_IL_WARN
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
	add	sp, sp, #64
	ret
LBB0_12:
	mov	x0, x20
	bl	_il_is_ready_rf
	cbz	w0, LBB0_15
; %bb.13:
	str	x19, [x20, #16]
Lloh8:
	adrp	x8, _S_SCANNING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S_SCANNING@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, x20, #40
	bl	_test_bit
	cbz	x0, LBB0_16
; %bb.14:
	mov	w8, #0
	cbz	w21, LBB0_17
	b	LBB0_19
LBB0_15:
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_10
LBB0_16:
	add	x0, x20, #36
	add	x1, x20, #32
	mov	w2, #4
	bl	_memcmp
	cmp	x0, #0
	cset	w8, eq
	cbnz	w21, LBB0_19
LBB0_17:
	tbnz	w8, #0, LBB0_19
; %bb.18:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_D_INFO
	mov	w0, #0
	b	LBB0_11
LBB0_19:
	ldr	x21, [x20]
	str	x19, [x20]
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	cbz	w0, LBB0_11
; %bb.20:
	str	x21, [x20]
	str	x21, [x20, #16]
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Requested user TXPOWER %d below 1 mW.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Requested user TXPOWER %d above upper limit %d.\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_S_SCANNING,4,2                 ; @S_SCANNING
l_.str.2:                               ; @.str.2
	.asciz	"Deferring tx power set\n"

.subsections_via_symbols
