	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function global_led_set
_global_led_set:                        ## @global_led_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_global_brightness@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	movq	_interface@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_WMAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	%esi, %edi
	callq	_wmax_brightness
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_2:
	movq	_zone_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_alienware_update_led
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_global_brightness,4,2          ## @global_brightness
	.comm	_interface,8,3                  ## @interface
	.comm	_WMAX,8,3                       ## @WMAX
	.comm	_zone_data,8,3                  ## @zone_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LED brightness update failed\n"

	.no_dead_strip	_global_led_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function global_led_set
_global_led_set:                        ; @global_led_set
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _global_brightness@GOTPAGE
Lloh1:
	ldr	x8, [x8, _global_brightness@GOTPAGEOFF]
Lloh2:
	adrp	x9, _interface@GOTPAGE
Lloh3:
	ldr	x9, [x9, _interface@GOTPAGEOFF]
Lloh4:
	str	w1, [x8]
Lloh5:
	ldr	x8, [x9]
Lloh6:
	adrp	x9, _WMAX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WMAX@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x1
	bl	_wmax_brightness
	cbz	w0, LBB0_4
LBB0_2:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_pr_err
LBB0_3:
Lloh11:
	adrp	x8, _zone_data@GOTPAGE
Lloh12:
	ldr	x8, [x8, _zone_data@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	bl	_alienware_update_led
	cbnz	w0, LBB0_2
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_global_brightness,4,2          ; @global_brightness
	.comm	_interface,8,3                  ; @interface
	.comm	_WMAX,8,3                       ; @WMAX
	.comm	_zone_data,8,3                  ; @zone_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LED brightness update failed\n"

	.no_dead_strip	_global_led_set
.subsections_via_symbols
