	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fxas21002c_range_value_from_fs
_fxas21002c_range_value_from_fs:        ## @fxas21002c_range_value_from_fs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_fxas21002c_range_values@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	(%rbx), %rcx
	movl	%eax, %eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, (%rcx,%rbx,4)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_2
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_5:
	movq	_FXAS21002C_RANGE_LIMIT_DOUBLE@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	cmpl	%r15d, (%rax)
	setb	%sil
	movq	(%r14), %rax
	movq	_F_FS_DOUBLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_regmap_field_write
	testl	%eax, %eax
	cmovsl	%eax, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fxas21002c_range_values,8,3    ## @fxas21002c_range_values
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FXAS21002C_RANGE_LIMIT_DOUBLE,4,2 ## @FXAS21002C_RANGE_LIMIT_DOUBLE
	.comm	_F_FS_DOUBLE,8,3                ## @F_FS_DOUBLE
	.no_dead_strip	_fxas21002c_range_value_from_fs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fxas21002c_range_value_from_fs
_fxas21002c_range_value_from_fs:        ; @fxas21002c_range_value_from_fs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _fxas21002c_range_values@GOTPAGE
Lloh1:
	ldr	x22, [x22, _fxas21002c_range_values@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, #0
	ldr	x8, [x22]
	mov	w9, w0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8, x21, lsl #2]
	cmp	w10, w20
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	cmp	x9, x21
	b.ne	LBB0_2
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _FXAS21002C_RANGE_LIMIT_DOUBLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FXAS21002C_RANGE_LIMIT_DOUBLE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w20
	cset	w1, lo
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _F_FS_DOUBLE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _F_FS_DOUBLE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_regmap_field_write
	cmp	w0, #0
	csel	w0, w0, w21, lt
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_fxas21002c_range_values,8,3    ; @fxas21002c_range_values
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FXAS21002C_RANGE_LIMIT_DOUBLE,4,2 ; @FXAS21002C_RANGE_LIMIT_DOUBLE
	.comm	_F_FS_DOUBLE,8,3                ; @F_FS_DOUBLE
	.no_dead_strip	_fxas21002c_range_value_from_fs
.subsections_via_symbols
