	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isif_config_linearization
_isif_config_linearization:             ## @isif_config_linearization
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 24(%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r15
	movl	(%rdi), %edi
	movq	_ISIF_LIN_CORRSFT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	orl	$1, %edi
	movq	_LINCFG0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	xorl	%edi, %edi
	cmpl	$0, 20(%r15)
	setne	%dil
	movq	_ISIF_LIN_SCALE_FACT_INTEG_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	orl	16(%r15), %edi
	movq	_LINCFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movq	_ISIF_LINEAR_TAB_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.2:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movl	%r12d, %esi
	andl	$-4, %esi
	movl	%ebx, %edx
	andl	$1, %edx
	callq	_regw_lin_tbl
	incq	%rbx
	movslq	(%r14), %rax
	addl	$2, %r12d
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_LINCFG0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regw                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LINCFG0,4,2                    ## @LINCFG0
	.comm	_ISIF_LIN_CORRSFT_SHIFT,4,2     ## @ISIF_LIN_CORRSFT_SHIFT
	.comm	_ISIF_LIN_SCALE_FACT_INTEG_SHIFT,4,2 ## @ISIF_LIN_SCALE_FACT_INTEG_SHIFT
	.comm	_LINCFG1,4,2                    ## @LINCFG1
	.comm	_ISIF_LINEAR_TAB_SIZE,4,2       ## @ISIF_LINEAR_TAB_SIZE
	.no_dead_strip	_isif_config_linearization
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isif_config_linearization
_isif_config_linearization:             ; @isif_config_linearization
	.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
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ISIF_LIN_CORRSFT_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISIF_LIN_CORRSFT_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w0, w8, #0x1
Lloh3:
	adrp	x8, _LINCFG0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LINCFG0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_regw
	ldp	w9, w8, [x19, #16]
	cmp	w8, #0
	cset	w8, ne
Lloh6:
	adrp	x10, _ISIF_LIN_SCALE_FACT_INTEG_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ISIF_LIN_SCALE_FACT_INTEG_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w0, w8, w9
Lloh9:
	adrp	x8, _LINCFG1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LINCFG1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_regw
Lloh12:
	adrp	x20, _ISIF_LINEAR_TAB_SIZE@GOTPAGE
Lloh13:
	ldr	x20, [x20, _ISIF_LINEAR_TAB_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w21, #0
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x22, lsl #2]
	and	w1, w21, #0xfffffffc
	and	w2, w22, #0x1
	bl	_regw_lin_tbl
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	w21, w21, #2
	cmp	x22, x8
	b.lt	LBB0_3
LBB0_4:
	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
LBB0_5:
Lloh14:
	adrp	x8, _LINCFG0@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LINCFG0@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w0, #0
	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
	b	_regw
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_LINCFG0,4,2                    ; @LINCFG0
	.comm	_ISIF_LIN_CORRSFT_SHIFT,4,2     ; @ISIF_LIN_CORRSFT_SHIFT
	.comm	_ISIF_LIN_SCALE_FACT_INTEG_SHIFT,4,2 ; @ISIF_LIN_SCALE_FACT_INTEG_SHIFT
	.comm	_LINCFG1,4,2                    ; @LINCFG1
	.comm	_ISIF_LINEAR_TAB_SIZE,4,2       ; @ISIF_LINEAR_TAB_SIZE
	.no_dead_strip	_isif_config_linearization
.subsections_via_symbols
