	.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
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movaps	l___const.setbrightness.set6(%rip), %xmm0
	movaps	%xmm0, -32(%rbp)
	cmpl	$6, %esi
	jg	LBB0_2
## %bb.1:
	movl	$38, -28(%rbp)
	shll	$4, %esi
	movl	$112, %eax
	subl	%esi, %eax
	jmp	LBB0_3
LBB0_2:
	shll	$4, %esi
	addl	$-112, %esi
	movl	%esi, %eax
LBB0_3:
	movl	%eax, -20(%rbp)
	leaq	-32(%rbp), %rsi
	movl	$16, %edx
	callq	_reg_w_buf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.setbrightness.set6
l___const.setbrightness.set6:
	.long	143                             ## 0x8f
	.long	36                              ## 0x24
	.long	195                             ## 0xc3
	.long	0                               ## 0x0

	.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, #48
	.cfi_def_cfa_offset 48
	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
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.set6@PAGE
Lloh4:
	add	x9, x9, l___const.setbrightness.set6@PAGEOFF
	stur	x8, [x29, #-8]
	ldr	x8, [x9]
	str	x8, [sp, #8]
	ldr	w8, [x9, #8]
	str	w8, [sp, #16]
	cmp	w1, #6
	b.gt	LBB0_2
; %bb.1:
	mov	w8, #38
	str	w8, [sp, #12]
	mov	w8, #112
	sub	w8, w8, w1, lsl #4
	b	LBB0_3
LBB0_2:
	lsl	w8, w1, #4
	sub	w8, w8, #112
LBB0_3:
	str	w8, [sp, #20]
	add	x1, sp, #8
	mov	w2, #16
	bl	_reg_w_buf
	ldur	x8, [x29, #-8]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.setbrightness.set6
l___const.setbrightness.set6:
	.long	143                             ; 0x8f
	.long	36                              ; 0x24
	.long	195                             ; 0xc3
	.long	0                               ; 0x0

	.no_dead_strip	_setbrightness
.subsections_via_symbols
