	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rf_val_set
_rf_val_set:                            ## @rf_val_set
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$37750, %edx                    ## imm = 0x9376
	jle	LBB0_2
## %bb.1:
	movl	$6, %edx
	movl	$9, %ebx
	jmp	LBB0_6
LBB0_2:
	movl	%edx, %eax
	xorl	%edx, %edx
	cmpl	$18876, %eax                    ## imm = 0x49BC
	jl	LBB0_4
## %bb.3:
	cmpl	$30501, %eax                    ## imm = 0x7725
	setae	%dl
	leal	2(,%rdx,4), %edx
	movl	$17, %ebx
	jmp	LBB0_6
LBB0_4:
	cmpl	$5501, %eax                     ## imm = 0x157D
	setl	%dl
	leal	25(,%rdx,8), %ebx
	movl	$2, %edx
	cmpl	$9375, %eax                     ## imm = 0x249F
	jg	LBB0_6
## %bb.5:
	xorl	%edx, %edx
	cmpl	$4626, %eax                     ## imm = 0x1212
	setl	%dl
	shll	$2, %edx
LBB0_6:
	movl	$0, %eax
	cmpl	$1060, %esi                     ## imm = 0x424
	jl	LBB0_15
## %bb.7:
	movl	$1, %eax
	cmpl	$1175, %esi                     ## imm = 0x497
	jb	LBB0_15
## %bb.8:
	movl	$2, %eax
	cmpl	$1305, %esi                     ## imm = 0x519
	jb	LBB0_15
## %bb.9:
	movl	$3, %eax
	cmpl	$1435, %esi                     ## imm = 0x59B
	jb	LBB0_15
## %bb.10:
	movl	$4, %eax
	cmpl	$1570, %esi                     ## imm = 0x622
	jb	LBB0_15
## %bb.11:
	movl	$5, %eax
	cmpl	$1715, %esi                     ## imm = 0x6B3
	jb	LBB0_15
## %bb.12:
	movl	$6, %eax
	cmpl	$1845, %esi                     ## imm = 0x735
	jb	LBB0_15
## %bb.13:
	movl	$7, %eax
	cmpl	$1980, %esi                     ## imm = 0x7BC
	jb	LBB0_15
## %bb.14:
	cmpl	$2080, %esi                     ## imm = 0x820
	movl	$9, %eax
	sbbl	$0, %eax
LBB0_15:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movzbl	%cl, %r12d
	movl	%r12d, %ecx
	shll	%cl, %esi
	movl	%esi, %r14d
	shrl	$31, %r14d
	addl	%esi, %r14d
	sarl	%r14d
	orl	%ebx, %edx
	shll	$5, %r12d
	movl	%r14d, %ebx
	shrl	$12, %ebx
	andl	$31, %ebx
	movl	%r14d, %r15d
	shrl	$4, %r15d
	shll	$4, %r14d
	movl	$33, %esi
	movq	%rdi, %r13
	callq	_mb86a16_write
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movzbl	%r12b, %edx
	orl	%ebx, %edx
	movq	%r13, %rdi
	movl	$34, %esi
	callq	_mb86a16_write
	movq	%rax, %r12
	movzbl	%r15b, %edx
	movq	%r13, %rdi
	movl	$35, %esi
	callq	_mb86a16_write
	movq	%rax, %rbx
	movzbl	%r14b, %edx
	orl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	movq	%r13, %rdi
	movl	$36, %esi
	callq	_mb86a16_write
	movq	%rax, %r14
	movq	%r13, %rdi
	movl	$37, %esi
	movl	$1, %edx
	callq	_mb86a16_write
	testq	%rax, %rax
	movl	$0, %eax
	js	LBB0_20
## %bb.16:
	testq	%r14, %r14
	js	LBB0_20
## %bb.17:
	testq	%rbx, %rbx
	js	LBB0_20
## %bb.18:
	testq	%r12, %r12
	js	LBB0_20
## %bb.19:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	sarq	$63, %rcx
	cmpl	$-1, %ecx
	jne	LBB0_21
LBB0_20:
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MB86A16_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	_EREMOTEIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbose,4,2                    ## @verbose
	.comm	_MB86A16_ERROR,4,2              ## @MB86A16_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RF Setup - I2C transfer error"

	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.no_dead_strip	_rf_val_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rf_val_set
_rf_val_set:                            ; @rf_val_set
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x19, x0
	mov	w8, #6
	mov	w9, #37750
	cmp	w2, w9
	b.le	LBB0_4
; %bb.1:
	mov	w9, #9
	cmp	w1, #1060
	b.lt	LBB0_5
LBB0_2:
	cmp	w1, #1175
	b.hs	LBB0_6
; %bb.3:
	mov	w23, #1
	b	LBB0_19
LBB0_4:
	mov	w9, #18876
	mov	w10, #5500
	mov	w11, #33
	mov	w12, #25
	cmp	w2, w10
	csel	w10, w12, w11, gt
	mov	w11, #2
	mov	w12, #9375
	mov	w13, #4626
	cmp	w2, w13
	cset	w13, lt
	lsl	w13, w13, #2
	cmp	w2, w12
	csel	w12, w11, w13, gt
	mov	w13, #30500
	cmp	w2, w13
	csel	w8, w8, w11, hi
	mov	w11, #17
	cmp	w2, w9
	csel	w9, w10, w11, lt
	csel	w8, w12, w8, lt
	cmp	w1, #1060
	b.ge	LBB0_2
LBB0_5:
	mov	w23, #0
	b	LBB0_19
LBB0_6:
	cmp	w1, #1305
	b.hs	LBB0_8
; %bb.7:
	mov	w23, #2
	b	LBB0_19
LBB0_8:
	cmp	w1, #1435
	b.hs	LBB0_10
; %bb.9:
	mov	w23, #3
	b	LBB0_19
LBB0_10:
	cmp	w1, #1570
	b.hs	LBB0_12
; %bb.11:
	mov	w23, #4
	b	LBB0_19
LBB0_12:
	cmp	w1, #1715
	b.hs	LBB0_14
; %bb.13:
	mov	w23, #5
	b	LBB0_19
LBB0_14:
	cmp	w1, #1845
	b.hs	LBB0_16
; %bb.15:
	mov	w23, #6
	b	LBB0_19
LBB0_16:
	cmp	w1, #1980
	b.hs	LBB0_18
; %bb.17:
	mov	w23, #7
	b	LBB0_19
LBB0_18:
	cmp	w1, #2080
	mov	w10, #8
	cinc	w23, w10, hs
LBB0_19:
	lsl	w10, w1, w20
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w24, w10, #1
	orr	w2, w8, w9
	mov	x0, x19
	mov	w1, #33
	bl	_mb86a16_write
	mov	x21, x0
	ubfiz	w2, w20, #5, #3
	bfxil	w2, w24, #12, #5
	mov	x0, x19
	mov	w1, #34
	bl	_mb86a16_write
	mov	x20, x0
	ubfx	w2, w24, #4, #8
	mov	x0, x19
	mov	w1, #35
	bl	_mb86a16_write
	mov	x22, x0
	ubfiz	w8, w24, #4, #4
	orr	w2, w23, w8
	mov	x0, x19
	mov	w1, #36
	bl	_mb86a16_write
	mov	x23, x0
	mov	x0, x19
	mov	w1, #37
	mov	w2, #1
	bl	_mb86a16_write
	tbnz	x0, #63, LBB0_25
; %bb.20:
	tbnz	x23, #63, LBB0_25
; %bb.21:
	tbnz	x22, #63, LBB0_25
; %bb.22:
	tbnz	x20, #63, LBB0_25
; %bb.23:
	asr	x8, x21, #63
	cmn	w8, #1
	b.eq	LBB0_25
; %bb.24:
	mov	w0, #0
	b	LBB0_26
LBB0_25:
Lloh0:
	adrp	x8, _verbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MB86A16_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MB86A16_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #1
	bl	_dprintk
Lloh8:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_26:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_verbose,4,2                    ; @verbose
	.comm	_MB86A16_ERROR,4,2              ; @MB86A16_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RF Setup - I2C transfer error"

	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.no_dead_strip	_rf_val_set
.subsections_via_symbols
