	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cc2520_set_tx_power
_cc2520_set_tx_power:                   ## @cc2520_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
	testl	%esi, %esi
	js	LBB0_1
## %bb.8:
	cmpl	$199, %esi
	jle	LBB0_9
## %bb.12:
	cmpl	$200, %esi
	je	LBB0_20
## %bb.13:
	movl	$247, %edx
	cmpl	$500, %esi                      ## imm = 0x1F4
	je	LBB0_21
## %bb.14:
	cmpl	$300, %esi                      ## imm = 0x12C
	jne	LBB0_19
## %bb.15:
	movl	$242, %edx
	jmp	LBB0_21
LBB0_1:
	cmpl	$-401, %esi                     ## imm = 0xFE6F
	jg	LBB0_5
## %bb.2:
	cmpl	$-1800, %esi                    ## imm = 0xF8F8
	je	LBB0_18
## %bb.3:
	cmpl	$-700, %esi                     ## imm = 0xFD44
	jne	LBB0_19
## %bb.4:
	movl	$44, %edx
	jmp	LBB0_21
LBB0_9:
	testl	%esi, %esi
	je	LBB0_16
## %bb.10:
	cmpl	$100, %esi
	jne	LBB0_19
## %bb.11:
	movl	$19, %edx
	jmp	LBB0_21
LBB0_5:
	cmpl	$-400, %esi                     ## imm = 0xFE70
	je	LBB0_17
## %bb.6:
	cmpl	$-200, %esi
	jne	LBB0_19
## %bb.7:
	movl	$129, %edx
	jmp	LBB0_21
LBB0_20:
	movl	$171, %edx
	jmp	LBB0_21
LBB0_18:
	movl	$3, %edx
	jmp	LBB0_21
LBB0_16:
	movl	$50, %edx
	jmp	LBB0_21
LBB0_17:
	movl	$136, %edx
LBB0_21:
	movq	_CC2520_TXPOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_cc2520_write_register          ## TAILCALL
LBB0_19:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CC2520_TXPOWER,4,2             ## @CC2520_TXPOWER
	.no_dead_strip	_cc2520_set_tx_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cc2520_set_tx_power
_cc2520_set_tx_power:                   ; @cc2520_set_tx_power
	.cfi_startproc
; %bb.0:
	tbnz	w1, #31, LBB0_6
; %bb.1:
	cmp	w1, #199
	b.le	LBB0_10
; %bb.2:
	cmp	w1, #200
	b.eq	LBB0_16
; %bb.3:
	cmp	w1, #500
	b.eq	LBB0_17
; %bb.4:
	cmp	w1, #300
	b.ne	LBB0_22
; %bb.5:
	mov	w2, #242
	b	LBB0_21
LBB0_6:
	cmn	w1, #401
	b.gt	LBB0_13
; %bb.7:
	cmn	w1, #1800
	b.eq	LBB0_18
; %bb.8:
	cmn	w1, #700
	b.ne	LBB0_22
; %bb.9:
	mov	w2, #44
	b	LBB0_21
LBB0_10:
	cbz	w1, LBB0_19
; %bb.11:
	cmp	w1, #100
	b.ne	LBB0_22
; %bb.12:
	mov	w2, #19
	b	LBB0_21
LBB0_13:
	cmn	w1, #400
	b.eq	LBB0_20
; %bb.14:
	cmn	w1, #200
	b.ne	LBB0_22
; %bb.15:
	mov	w2, #129
	b	LBB0_21
LBB0_16:
	mov	w2, #171
	b	LBB0_21
LBB0_17:
	mov	w2, #247
	b	LBB0_21
LBB0_18:
	mov	w2, #3
	b	LBB0_21
LBB0_19:
	mov	w2, #50
	b	LBB0_21
LBB0_20:
	mov	w2, #136
LBB0_21:
Lloh0:
	adrp	x8, _CC2520_TXPOWER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CC2520_TXPOWER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	b	_cc2520_write_register
LBB0_22:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CC2520_TXPOWER,4,2             ; @CC2520_TXPOWER
	.no_dead_strip	_cc2520_set_tx_power
.subsections_via_symbols
