	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5791_get_lin_comp
_ad5791_get_lin_comp:                   ## @ad5791_get_lin_comp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$10001, %edi                    ## imm = 0x2711
	jae	LBB0_2
## %bb.1:
	movq	_AD5791_LINCOMP_0_10@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	cmpl	$12001, %edi                    ## imm = 0x2EE1
	jae	LBB0_4
## %bb.3:
	movq	_AD5791_LINCOMP_10_12@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	cmpl	$16001, %edi                    ## imm = 0x3E81
	jae	LBB0_6
## %bb.5:
	movq	_AD5791_LINCOMP_12_16@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	cmpl	$19001, %edi                    ## imm = 0x4A39
	jae	LBB0_7
## %bb.8:
	movq	_AD5791_LINCOMP_16_19@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_AD5791_LINCOMP_19_20@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD5791_LINCOMP_0_10,4,2        ## @AD5791_LINCOMP_0_10
	.comm	_AD5791_LINCOMP_10_12,4,2       ## @AD5791_LINCOMP_10_12
	.comm	_AD5791_LINCOMP_12_16,4,2       ## @AD5791_LINCOMP_12_16
	.comm	_AD5791_LINCOMP_16_19,4,2       ## @AD5791_LINCOMP_16_19
	.comm	_AD5791_LINCOMP_19_20,4,2       ## @AD5791_LINCOMP_19_20
	.no_dead_strip	_ad5791_get_lin_comp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5791_get_lin_comp
_ad5791_get_lin_comp:                   ; @ad5791_get_lin_comp
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AD5791_LINCOMP_0_10@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AD5791_LINCOMP_0_10@GOTPAGEOFF]
	mov	w9, #10001
Lloh2:
	adrp	x10, _AD5791_LINCOMP_10_12@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AD5791_LINCOMP_10_12@GOTPAGEOFF]
	mov	w11, #12001
Lloh4:
	adrp	x12, _AD5791_LINCOMP_12_16@GOTPAGE
Lloh5:
	ldr	x12, [x12, _AD5791_LINCOMP_12_16@GOTPAGEOFF]
Lloh6:
	adrp	x13, _AD5791_LINCOMP_19_20@GOTPAGE
Lloh7:
	ldr	x13, [x13, _AD5791_LINCOMP_19_20@GOTPAGEOFF]
Lloh8:
	adrp	x14, _AD5791_LINCOMP_16_19@GOTPAGE
Lloh9:
	ldr	x14, [x14, _AD5791_LINCOMP_16_19@GOTPAGEOFF]
	mov	w15, #16001
	mov	w16, #19001
	cmp	w0, w16
	csel	x13, x14, x13, lo
	cmp	w0, w15
	csel	x12, x12, x13, lo
	cmp	w0, w11
	csel	x10, x10, x12, lo
	cmp	w0, w9
	csel	x8, x8, x10, lo
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AD5791_LINCOMP_0_10,4,2        ; @AD5791_LINCOMP_0_10
	.comm	_AD5791_LINCOMP_10_12,4,2       ; @AD5791_LINCOMP_10_12
	.comm	_AD5791_LINCOMP_12_16,4,2       ; @AD5791_LINCOMP_12_16
	.comm	_AD5791_LINCOMP_16_19,4,2       ; @AD5791_LINCOMP_16_19
	.comm	_AD5791_LINCOMP_19_20,4,2       ; @AD5791_LINCOMP_19_20
	.no_dead_strip	_ad5791_get_lin_comp
.subsections_via_symbols
