	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hgt_hue_areas_try_ctrl
_hgt_hue_areas_try_ctrl:                ## @hgt_hue_areas_try_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_HGT_NUM_HUE_AREAS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	addl	$-2, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rcx,%rdx,8), %rsi
	leaq	1(%rdx), %rdi
	cmpq	16(%rcx,%rdx,8), %rsi
	movq	%rdi, %rdx
	jle	LBB0_1
	jmp	LBB0_5
LBB0_3:
	movq	(%rcx), %rdx
	xorl	%eax, %eax
	cmpq	8(%rcx), %rdx
	jle	LBB0_6
## %bb.4:
	cmpq	%rdx, 88(%rcx)
	jle	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HGT_NUM_HUE_AREAS,4,2          ## @HGT_NUM_HUE_AREAS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_hgt_hue_areas_try_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hgt_hue_areas_try_ctrl
_hgt_hue_areas_try_ctrl:                ; @hgt_hue_areas_try_ctrl
	.cfi_startproc
; %bb.0:
	mov	x9, #0
	ldr	x8, [x0]
Lloh0:
	adrp	x10, _HGT_NUM_HUE_AREAS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HGT_NUM_HUE_AREAS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	lsl	w10, w10, #1
	sub	w10, w10, #2
	lsl	x10, x10, #3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x9
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x11, x8, x9
	ldp	x12, x11, [x11, #8]
	add	x9, x9, #8
	cmp	x12, x11
	b.le	LBB0_1
	b	LBB0_5
LBB0_3:
	ldp	x9, x10, [x8]
	cmp	x9, x10
	b.le	LBB0_6
; %bb.4:
	ldr	x8, [x8, #88]
	cmp	x8, x9
	b.le	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HGT_NUM_HUE_AREAS,4,2          ; @HGT_NUM_HUE_AREAS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_hgt_hue_areas_try_ctrl
.subsections_via_symbols
