	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w6692_led_handler
_w6692_led_handler:                     ## @w6692_led_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_led@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	8(%rdi), %rax
	movq	_W6692_USR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	popq	%rbp
	retq
LBB0_3:
	movl	16(%rdi), %edx
	movl	%edx, %eax
	orl	$4, %eax
	andl	$251, %edx
	testl	%esi, %esi
	cmovel	%eax, %edx
	movl	%edx, 16(%rdi)
	movq	_W_XDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_WriteW6692                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_led,4,2                        ## @led
	.comm	_W6692_USR,8,3                  ## @W6692_USR
	.comm	_W_XDATA,4,2                    ## @W_XDATA
	.no_dead_strip	_w6692_led_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w6692_led_handler
_w6692_led_handler:                     ; @w6692_led_handler
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _led@GOTPAGE
Lloh1:
	ldr	x9, [x9, _led@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _W6692_USR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _W6692_USR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	ret
LBB0_3:
	ldr	w8, [x0, #16]
	orr	w9, w8, #0x4
	mov	w10, #251
	and	w8, w8, w10
	cmp	w1, #0
	csel	w2, w9, w8, eq
	str	w2, [x0, #16]
Lloh6:
	adrp	x8, _W_XDATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _W_XDATA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	b	_WriteW6692
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_led,4,2                        ; @led
	.comm	_W6692_USR,8,3                  ; @W6692_USR
	.comm	_W_XDATA,4,2                    ; @W_XDATA
	.no_dead_strip	_w6692_led_handler
.subsections_via_symbols
