	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723e_led_control           ## -- Begin function rtl8723e_led_control
	.p2align	4, 0x90
_rtl8723e_led_control:                  ## @rtl8723e_led_control
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	(%rax), %rax
	movq	_RF_CHANGE_BY_PS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_9
## %bb.1:
	movq	_LED_CTL_TX@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_8
## %bb.2:
	movq	_LED_CTL_RX@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_8
## %bb.3:
	movq	_LED_CTL_SITE_SURVEY@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_8
## %bb.4:
	movq	_LED_CTL_LINK@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_8
## %bb.5:
	movq	_LED_CTL_NO_LINK@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_8
## %bb.6:
	movq	_LED_CTL_START_TO_LINK@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_LED_CTL_POWER_ON@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_8
LBB0_9:
	movq	_COMP_LED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movl	%ebx, %r8d
	callq	_RT_TRACE
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__rtl8723e_sw_led_control       ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_CHANGE_BY_PS,8,3            ## @RF_CHANGE_BY_PS
	.comm	_LED_CTL_TX,4,2                 ## @LED_CTL_TX
	.comm	_LED_CTL_RX,4,2                 ## @LED_CTL_RX
	.comm	_LED_CTL_SITE_SURVEY,4,2        ## @LED_CTL_SITE_SURVEY
	.comm	_LED_CTL_LINK,4,2               ## @LED_CTL_LINK
	.comm	_LED_CTL_NO_LINK,4,2            ## @LED_CTL_NO_LINK
	.comm	_LED_CTL_START_TO_LINK,4,2      ## @LED_CTL_START_TO_LINK
	.comm	_LED_CTL_POWER_ON,4,2           ## @LED_CTL_POWER_ON
	.comm	_COMP_LED,4,2                   ## @COMP_LED
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ledaction %d,\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723e_led_control           ; -- Begin function rtl8723e_led_control
	.p2align	2
_rtl8723e_led_control:                  ; @rtl8723e_led_control
	.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
	mov	x20, x0
	bl	_rtl_priv
	mov	x21, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_psc
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RF_CHANGE_BY_PS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RF_CHANGE_BY_PS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _LED_CTL_TX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LED_CTL_TX@GOTPAGEOFF]
Lloh5:
	adrp	x9, _LED_CTL_RX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LED_CTL_RX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _LED_CTL_SITE_SURVEY@GOTPAGE
Lloh10:
	ldr	x10, [x10, _LED_CTL_SITE_SURVEY@GOTPAGEOFF]
Lloh11:
	adrp	x11, _LED_CTL_LINK@GOTPAGE
Lloh12:
	ldr	x11, [x11, _LED_CTL_LINK@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	ldr	w11, [x11]
Lloh15:
	adrp	x12, _LED_CTL_NO_LINK@GOTPAGE
Lloh16:
	ldr	x12, [x12, _LED_CTL_NO_LINK@GOTPAGEOFF]
Lloh17:
	adrp	x13, _LED_CTL_START_TO_LINK@GOTPAGE
Lloh18:
	ldr	x13, [x13, _LED_CTL_START_TO_LINK@GOTPAGEOFF]
Lloh19:
	ldr	w12, [x12]
Lloh20:
	ldr	w13, [x13]
Lloh21:
	adrp	x14, _LED_CTL_POWER_ON@GOTPAGE
Lloh22:
	ldr	x14, [x14, _LED_CTL_POWER_ON@GOTPAGEOFF]
Lloh23:
	ldr	w14, [x14]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	ccmp	w10, w19, #4, ne
	ccmp	w11, w19, #4, ne
	ccmp	w12, w19, #4, ne
	ccmp	w13, w19, #4, ne
	ccmp	w14, w19, #4, ne
	b.ne	LBB0_3
; %bb.2:
	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
LBB0_3:
Lloh24:
	adrp	x8, _COMP_LED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _COMP_LED@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x3, l_.str@PAGE
Lloh31:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x4, x19
	bl	_RT_TRACE
	mov	x0, x20
	mov	x1, x19
	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
	b	__rtl8723e_sw_led_control
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_CHANGE_BY_PS,8,3            ; @RF_CHANGE_BY_PS
	.comm	_LED_CTL_TX,4,2                 ; @LED_CTL_TX
	.comm	_LED_CTL_RX,4,2                 ; @LED_CTL_RX
	.comm	_LED_CTL_SITE_SURVEY,4,2        ; @LED_CTL_SITE_SURVEY
	.comm	_LED_CTL_LINK,4,2               ; @LED_CTL_LINK
	.comm	_LED_CTL_NO_LINK,4,2            ; @LED_CTL_NO_LINK
	.comm	_LED_CTL_START_TO_LINK,4,2      ; @LED_CTL_START_TO_LINK
	.comm	_LED_CTL_POWER_ON,4,2           ; @LED_CTL_POWER_ON
	.comm	_COMP_LED,4,2                   ; @COMP_LED
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ledaction %d,\n"

.subsections_via_symbols
