	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cc2520_cc2591_set_tx_power
_cc2520_cc2591_set_tx_power:            ## @cc2520_cc2591_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
	cmpl	$1399, %esi                     ## imm = 0x577
	jg	LBB0_5
## %bb.1:
	cmpl	$-800, %esi                     ## imm = 0xFCE0
	je	LBB0_11
## %bb.2:
	cmpl	$-100, %esi
	je	LBB0_10
## %bb.3:
	cmpl	$1100, %esi                     ## imm = 0x44C
	jne	LBB0_12
## %bb.4:
	movl	$44, %edx
	jmp	LBB0_14
LBB0_5:
	cmpl	$1400, %esi                     ## imm = 0x578
	je	LBB0_13
## %bb.6:
	cmpl	$1700, %esi                     ## imm = 0x6A4
	je	LBB0_7
## %bb.8:
	cmpl	$1600, %esi                     ## imm = 0x640
	jne	LBB0_12
## %bb.9:
	movl	$240, %edx
	jmp	LBB0_14
LBB0_11:
	movl	$1, %edx
	jmp	LBB0_14
LBB0_10:
	movl	$3, %edx
	jmp	LBB0_14
LBB0_13:
	movl	$160, %edx
	jmp	LBB0_14
LBB0_7:
	movl	$249, %edx
LBB0_14:
	movq	_CC2520_TXPOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_cc2520_write_register          ## TAILCALL
LBB0_12:
	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_cc2591_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_cc2591_set_tx_power
_cc2520_cc2591_set_tx_power:            ; @cc2520_cc2591_set_tx_power
	.cfi_startproc
; %bb.0:
	cmp	w1, #1399
	b.gt	LBB0_5
; %bb.1:
	cmn	w1, #800
	b.eq	LBB0_9
; %bb.2:
	cmn	w1, #100
	b.eq	LBB0_10
; %bb.3:
	cmp	w1, #1100
	b.ne	LBB0_14
; %bb.4:
	mov	w2, #44
	b	LBB0_13
LBB0_5:
	cmp	w1, #1400
	b.eq	LBB0_11
; %bb.6:
	cmp	w1, #1700
	b.eq	LBB0_12
; %bb.7:
	cmp	w1, #1600
	b.ne	LBB0_14
; %bb.8:
	mov	w2, #240
	b	LBB0_13
LBB0_9:
	mov	w2, #1
	b	LBB0_13
LBB0_10:
	mov	w2, #3
	b	LBB0_13
LBB0_11:
	mov	w2, #160
	b	LBB0_13
LBB0_12:
	mov	w2, #249
LBB0_13:
Lloh0:
	adrp	x8, _CC2520_TXPOWER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CC2520_TXPOWER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	b	_cc2520_write_register
LBB0_14:
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_cc2591_set_tx_power
.subsections_via_symbols
