	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92de_sw_led_on              ## -- Begin function rtl92de_sw_led_on
	.p2align	4, 0x90
_rtl92de_sw_led_on:                     ## @rtl92de_sw_led_on
	.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, %r13
	callq	_rtl_priv
	movq	%rax, %r14
	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	(%r13), %r9d
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_RT_TRACE
	movl	(%r13), %esi
	cmpl	$128, %esi
	je	LBB0_9
## %bb.1:
	cmpl	$130, %esi
	je	LBB0_11
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_10
## %bb.3:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_rtl_read_byte
	movl	%eax, %r15d
	movl	(%r14), %eax
	cmpl	$33171, %eax                    ## imm = 0x8193
	je	LBB0_5
## %bb.4:
	cmpl	$33142, %eax                    ## imm = 0x8176
	jne	LBB0_6
LBB0_5:
	movl	(%r12), %r12d
	andl	$240, %r15d
	movl	$7, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$5, %edi
	callq	_BIT
	orl	%eax, %ebx
	movl	$6, %edi
	jmp	LBB0_7
LBB0_9:
	movq	_REG_LEDCFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rtl_read_byte
	movl	%eax, %ebx
	movl	(%r12), %r15d
	andl	$15, %ebx
	movl	$5, %edi
	callq	_BIT
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	jmp	LBB0_8
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_11
LBB0_6:
	movl	(%r12), %r12d
	andl	$240, %r15d
	movl	$7, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$5, %edi
LBB0_7:
	callq	_BIT
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
LBB0_8:
	movl	%ebx, %edx
	callq	_rtl_write_byte
LBB0_11:
	movl	$1, 4(%r13)
	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
	.comm	_REG_LEDCFG1,4,2                ## @REG_LEDCFG1
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_on              ; -- Begin function rtl92de_sw_led_on
	.p2align	2
_rtl92de_sw_led_on:                     ; @rtl92de_sw_led_on
	.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, [x19]
	cmp	w1, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w1, #130
	b.eq	LBB0_11
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_7
; %bb.3:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_rtl_read_byte
	ldr	w8, [x20]
	mov	w9, #33171
	cmp	w8, w9
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #33142
	cmp	w8, w9
	b.ne	LBB0_8
LBB0_5:
	ldr	w21, [x21]
	and	w22, w0, #0xf0
	mov	w0, #7
	bl	_BIT
	orr	w22, w0, w22
	mov	w0, #5
	bl	_BIT
	orr	w22, w22, w0
	mov	w0, #6
	b	LBB0_9
LBB0_6:
Lloh10:
	adrp	x8, _REG_LEDCFG1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REG_LEDCFG1@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rtl_read_byte
	ldr	w21, [x21]
	and	w22, w0, #0xf
	mov	w0, #5
	bl	_BIT
	orr	w2, w0, w22
	b	LBB0_10
LBB0_7:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	b	LBB0_11
LBB0_8:
	ldr	w21, [x21]
	and	w22, w0, #0xf0
	mov	w0, #7
	bl	_BIT
	orr	w22, w0, w22
	mov	w0, #5
LBB0_9:
	bl	_BIT
	orr	w2, w22, w0
LBB0_10:
	mov	x0, x20
	mov	x1, x21
	bl	_rtl_write_byte
LBB0_11:
	mov	w8, #1
	str	w8, [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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.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
	.comm	_REG_LEDCFG1,4,2                ; @REG_LEDCFG1
l_.str.1:                               ; @.str.1
	.asciz	"switch case %#x not processed\n"

.subsections_via_symbols
