	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setbrightness
_setbrightness:                         ## @setbrightness
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movaps	l___const.setbrightness.regE5cbx+16(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	l___const.setbrightness.regE5cbx(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	%esi, -56(%rbp)
	leaq	-64(%rbp), %rdx
	movl	$229, %esi
	movl	$8, %ecx
	callq	_reg_w
	movq	%rbx, %rdi
	movl	$232, %esi
	movl	$8, %edx
	callq	_reg_r
	movq	_regE5c@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	movl	$229, %esi
	movl	$4, %ecx
	callq	_reg_w
	movq	%rbx, %rdi
	movl	$232, %esi
	movl	$1, %edx
	callq	_reg_r
	movl	$119, -72(%rbp)
	movl	%r14d, -68(%rbp)
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$81, %esi
	movl	$2, %ecx
	callq	_reg_w
	movq	_reg10@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$2, %ecx
	callq	_reg_w
	movq	_reg70@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$112, %esi
	callq	_reg_w_val
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.setbrightness.regE5cbx
l___const.setbrightness.regE5cbx:
	.long	136                             ## 0x88
	.long	0                               ## 0x0
	.long	212                             ## 0xd4
	.long	1                               ## 0x1
	.long	136                             ## 0x88
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1

	.comm	_regE5c,8,3                     ## @regE5c
	.comm	_reg10,8,3                      ## @reg10
	.comm	_reg70,4,2                      ## @reg70
	.no_dead_strip	_setbrightness
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setbrightness
_setbrightness:                         ; @setbrightness
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, l___const.setbrightness.regE5cbx@PAGE
Lloh4:
	add	x9, x9, l___const.setbrightness.regE5cbx@PAGEOFF
	stur	x8, [x29, #-24]
	ldp	q0, q1, [x9]
	stp	q0, q1, [sp, #16]
	str	w1, [sp, #24]
	add	x2, sp, #16
	mov	w1, #229
	mov	w3, #8
	bl	_reg_w
	mov	x0, x19
	mov	w1, #232
	mov	w2, #8
	bl	_reg_r
Lloh5:
	adrp	x8, _regE5c@GOTPAGE
Lloh6:
	ldr	x8, [x8, _regE5c@GOTPAGEOFF]
Lloh7:
	ldr	x2, [x8]
	mov	x0, x19
	mov	w1, #229
	mov	w3, #4
	bl	_reg_w
	mov	x0, x19
	mov	w1, #232
	mov	w2, #1
	bl	_reg_r
	mov	w8, #119
	stp	w8, w20, [sp, #8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #81
	mov	w3, #2
	bl	_reg_w
Lloh8:
	adrp	x8, _reg10@GOTPAGE
Lloh9:
	ldr	x8, [x8, _reg10@GOTPAGEOFF]
Lloh10:
	ldr	x2, [x8]
	mov	x0, x19
	mov	w1, #16
	mov	w3, #2
	bl	_reg_w
Lloh11:
	adrp	x8, _reg70@GOTPAGE
Lloh12:
	ldr	x8, [x8, _reg70@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #112
	bl	_reg_w_val
	ldur	x8, [x29, #-24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.setbrightness.regE5cbx
l___const.setbrightness.regE5cbx:
	.long	136                             ; 0x88
	.long	0                               ; 0x0
	.long	212                             ; 0xd4
	.long	1                               ; 0x1
	.long	136                             ; 0x88
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1

	.comm	_regE5c,8,3                     ; @regE5c
	.comm	_reg10,8,3                      ; @reg10
	.comm	_reg70,4,2                      ; @reg70
	.no_dead_strip	_setbrightness
.subsections_via_symbols
