	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2x00led_led_simple
_rt2x00led_led_simple:                  ## @rt2x00led_led_simple
	.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
	movq	_LED_REGISTERED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	testl	%esi, %esi
	jne	LBB0_2
## %bb.3:
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_LED_FULL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %r14d
	leaq	8(%rbx), %rdi
	movl	%r14d, %esi
	callq	*16(%rbx)
	movl	%r14d, 8(%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LED_FULL,4,2                   ## @LED_FULL
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.comm	_LED_REGISTERED,4,2             ## @LED_REGISTERED
	.no_dead_strip	_rt2x00led_led_simple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2x00led_led_simple
_rt2x00led_led_simple:                  ; @rt2x00led_led_simple
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _LED_REGISTERED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LED_REGISTERED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh5:
	adrp	x9, _LED_FULL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LED_FULL@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x8, x9, eq
	ldr	w20, [x8]
	add	x0, x0, #8
	ldr	x8, [x19, #16]
	mov	x1, x20
	blr	x8
	str	w20, [x19, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_LED_FULL,4,2                   ; @LED_FULL
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.comm	_LED_REGISTERED,4,2             ; @LED_REGISTERED
	.no_dead_strip	_rt2x00led_led_simple
.subsections_via_symbols
