	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dib0070_set_rf_output          ## -- Begin function dib0070_set_rf_output
	.p2align	4, 0x90
_dib0070_set_rf_output:                 ## @dib0070_set_rf_output
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	(%rdi), %r14
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_dib0070_read_reg
	andl	$1042431, %eax                  ## imm = 0xFE7FF
	cmpl	$3, %ebx
	movl	$3, %ecx
	cmovll	%ebx, %ecx
	cmpl	$2, %ecx
	movl	$1, %edx
	cmovgel	%ecx, %edx
	shll	$11, %edx
	orl	%eax, %edx
	movq	%r14, %rdi
	movl	$7, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dib0070_write_reg              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dib0070_set_rf_output          ; -- Begin function dib0070_set_rf_output
	.p2align	2
_dib0070_set_rf_output:                 ; @dib0070_set_rf_output
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #7
	bl	_dib0070_read_reg
	and	w8, w0, #0xfffff
	and	w8, w8, #0xffffe7ff
	mov	w9, #3
	cmp	w19, #3
	csel	w9, w19, w9, lt
	cmp	w9, #1
	csinc	w9, w9, wzr, gt
	orr	w2, w8, w9, lsl #11
	mov	x0, x20
	mov	w1, #7
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dib0070_write_reg
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
