	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92de_sw_led_off             ## -- Begin function rtl92de_sw_led_off
	.p2align	4, 0x90
_rtl92de_sw_led_off:                    ## @rtl92de_sw_led_off
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_rtl_priv
	movq	%rax, %r15
	movq	_COMP_LED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_REG_LEDCFG2@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	movl	(%r14), %r9d
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	callq	_RT_TRACE
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_rtl_read_byte
	movl	%eax, %ebx
	movl	(%r14), %esi
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$130, %esi
	je	LBB0_10
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_6
## %bb.3:
	andl	$240, %ebx
	cmpl	$0, (%r15)
	movl	(%r12), %r12d
	je	LBB0_7
## %bb.4:
	movl	$1, %edi
	jmp	LBB0_8
LBB0_5:
	andl	$15, %ebx
	movl	(%r12), %r12d
	movl	$3, %edi
	callq	_BIT
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_10
LBB0_7:
	movl	$3, %edi
LBB0_8:
	callq	_BIT
	orl	%eax, %ebx
	movl	$5, %edi
	callq	_BIT
	movl	%eax, %r13d
	movl	$6, %edi
	callq	_BIT
	orl	%eax, %r13d
	orl	%ebx, %r13d
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
LBB0_9:
	callq	_rtl_write_byte
LBB0_10:
	movl	$0, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_LED,4,2                   ## @COMP_LED
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LedAddr:%X ledpin=%d\n"

	.comm	_REG_LEDCFG2,4,2                ## @REG_LEDCFG2
L_.str.1:                               ## @.str.1
	.asciz	"switch case %#x not processed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92de_sw_led_off             ; -- Begin function rtl92de_sw_led_off
	.p2align	2
_rtl92de_sw_led_off:                    ; @rtl92de_sw_led_off
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	bl	_rtl_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _COMP_LED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_LED@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DBG_LOUD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DBG_LOUD@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x21, _REG_LEDCFG2@GOTPAGE
Lloh7:
	ldr	x21, [x21, _REG_LEDCFG2@GOTPAGEOFF]
	ldr	w4, [x21]
	ldr	w5, [x19]
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	bl	_RT_TRACE
	ldr	w1, [x21]
	mov	x0, x20
	bl	_rtl_read_byte
	ldr	w1, [x19]
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #130
	b.eq	LBB0_10
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_6
; %bb.3:
	and	w22, w0, #0xf0
	ldr	w8, [x20]
	ldr	w21, [x21]
	cbz	w8, LBB0_7
; %bb.4:
	mov	w0, #1
	b	LBB0_8
LBB0_5:
	and	w22, w0, #0xf
	ldr	w21, [x21]
	mov	w0, #3
	bl	_BIT
	orr	w2, w0, w22
	b	LBB0_9
LBB0_6:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	b	LBB0_10
LBB0_7:
	mov	w0, #3
LBB0_8:
	bl	_BIT
	orr	w22, w0, w22
	mov	w0, #5
	bl	_BIT
	orr	w22, w22, w0
	mov	w0, #6
	bl	_BIT
	orr	w2, w22, w0
LBB0_9:
	mov	x0, x20
	mov	x1, x21
	bl	_rtl_write_byte
LBB0_10:
	str	wzr, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_LED,4,2                   ; @COMP_LED
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LedAddr:%X ledpin=%d\n"

	.comm	_REG_LEDCFG2,4,2                ; @REG_LEDCFG2
l_.str.1:                               ; @.str.1
	.asciz	"switch case %#x not processed\n"

.subsections_via_symbols
