	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brightness_default_validate
_brightness_default_validate:           ## @brightness_default_validate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	cmpl	$129, %edi
	je	LBB0_3
## %bb.1:
	cmpl	$128, %edi
	jne	LBB0_6
## %bb.2:
	decl	%eax
	popq	%rbp
	retq
LBB0_3:
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movq	_SONY_MAX_BRIGHTNESS@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jle	LBB0_6
## %bb.5:
	incl	%eax
	popq	%rbp
	retq
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SONY_MAX_BRIGHTNESS,4,2        ## @SONY_MAX_BRIGHTNESS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_brightness_default_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brightness_default_validate
_brightness_default_validate:           ; @brightness_default_validate
	.cfi_startproc
; %bb.0:
	cmp	w0, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_6
; %bb.2:
	sub	w0, w1, #1
	ret
LBB0_3:
	tbnz	w1, #31, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _SONY_MAX_BRIGHTNESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SONY_MAX_BRIGHTNESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_6
; %bb.5:
	add	w0, w1, #1
	ret
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SONY_MAX_BRIGHTNESS,4,2        ; @SONY_MAX_BRIGHTNESS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_brightness_default_validate
.subsections_via_symbols
