	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tdme_chipinit
_tdme_chipinit:                         ## @tdme_chipinit
	.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
	movq	%rdi, %r14
	movq	_CA8210_SFR_LNAGX40@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_LNAGX40_DEFAULT_GAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	_CA8210_SFR_LNAGX41@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_LNAGX41_DEFAULT_GAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.2:
	movq	_CA8210_SFR_LNAGX42@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_LNAGX42_DEFAULT_GAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.3:
	movq	_CA8210_SFR_LNAGX43@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_LNAGX43_DEFAULT_GAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movq	_CA8210_SFR_LNAGX44@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_LNAGX44_DEFAULT_GAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.5:
	movq	_CA8210_SFR_LNAGX45@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_LNAGX45_DEFAULT_GAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movq	_CA8210_SFR_LNAGX46@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_LNAGX46_DEFAULT_GAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:
	movq	_CA8210_SFR_LNAGX47@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_LNAGX47_DEFAULT_GAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	movq	_CA8210_SFR_PRECFG@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movabsq	$12884901891, %rdx              ## imm = 0x300000003
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movq	_CA8210_SFR_PTHRH@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_PTHRH_DEFAULT_THRESHOLD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_CA8210_SFR_PACFGIB@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_PACFGIB_DEFAULT_CURRENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_tdme_setsfr_request_sync
	movq	%rax, %rbx
LBB0_11:
	movq	_MAC_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_13
## %bb.12:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_dev_err
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_SUCCESS,8,3                ## @MAC_SUCCESS
	.comm	_CA8210_SFR_LNAGX40,8,3         ## @CA8210_SFR_LNAGX40
	.comm	_LNAGX40_DEFAULT_GAIN,8,3       ## @LNAGX40_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX41,8,3         ## @CA8210_SFR_LNAGX41
	.comm	_LNAGX41_DEFAULT_GAIN,8,3       ## @LNAGX41_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX42,8,3         ## @CA8210_SFR_LNAGX42
	.comm	_LNAGX42_DEFAULT_GAIN,8,3       ## @LNAGX42_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX43,8,3         ## @CA8210_SFR_LNAGX43
	.comm	_LNAGX43_DEFAULT_GAIN,8,3       ## @LNAGX43_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX44,8,3         ## @CA8210_SFR_LNAGX44
	.comm	_LNAGX44_DEFAULT_GAIN,8,3       ## @LNAGX44_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX45,8,3         ## @CA8210_SFR_LNAGX45
	.comm	_LNAGX45_DEFAULT_GAIN,8,3       ## @LNAGX45_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX46,8,3         ## @CA8210_SFR_LNAGX46
	.comm	_LNAGX46_DEFAULT_GAIN,8,3       ## @LNAGX46_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX47,8,3         ## @CA8210_SFR_LNAGX47
	.comm	_LNAGX47_DEFAULT_GAIN,8,3       ## @LNAGX47_DEFAULT_GAIN
	.comm	_CA8210_SFR_PRECFG,8,3          ## @CA8210_SFR_PRECFG
	.comm	_CA8210_SFR_PTHRH,8,3           ## @CA8210_SFR_PTHRH
	.comm	_PTHRH_DEFAULT_THRESHOLD,8,3    ## @PTHRH_DEFAULT_THRESHOLD
	.comm	_CA8210_SFR_PACFGIB,8,3         ## @CA8210_SFR_PACFGIB
	.comm	_PACFGIB_DEFAULT_CURRENT,8,3    ## @PACFGIB_DEFAULT_CURRENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to set sfr at %#03x, status = %#03x\n"

	.no_dead_strip	_tdme_chipinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tdme_chipinit
_tdme_chipinit:                         ; @tdme_chipinit
	.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	x19, x0
Lloh0:
	adrp	x8, _CA8210_SFR_LNAGX40@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CA8210_SFR_LNAGX40@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _LNAGX40_DEFAULT_GAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LNAGX40_DEFAULT_GAIN@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
	mov	w0, #1
	mov	x1, x20
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
	cbnz	x0, LBB0_11
; %bb.1:
Lloh6:
	adrp	x8, _CA8210_SFR_LNAGX41@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CA8210_SFR_LNAGX41@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
Lloh9:
	adrp	x8, _LNAGX41_DEFAULT_GAIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LNAGX41_DEFAULT_GAIN@GOTPAGEOFF]
Lloh11:
	ldr	x2, [x8]
	mov	w0, #1
	mov	x1, x20
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
	cbnz	x0, LBB0_11
; %bb.2:
Lloh12:
	adrp	x8, _CA8210_SFR_LNAGX42@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CA8210_SFR_LNAGX42@GOTPAGEOFF]
Lloh14:
	ldr	x20, [x8]
Lloh15:
	adrp	x8, _LNAGX42_DEFAULT_GAIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LNAGX42_DEFAULT_GAIN@GOTPAGEOFF]
Lloh17:
	ldr	x2, [x8]
	mov	w0, #1
	mov	x1, x20
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
	cbnz	x0, LBB0_11
; %bb.3:
Lloh18:
	adrp	x8, _CA8210_SFR_LNAGX43@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CA8210_SFR_LNAGX43@GOTPAGEOFF]
Lloh20:
	ldr	x20, [x8]
Lloh21:
	adrp	x8, _LNAGX43_DEFAULT_GAIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LNAGX43_DEFAULT_GAIN@GOTPAGEOFF]
Lloh23:
	ldr	x2, [x8]
	mov	w0, #1
	mov	x1, x20
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
	cbnz	x0, LBB0_11
; %bb.4:
Lloh24:
	adrp	x8, _CA8210_SFR_LNAGX44@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CA8210_SFR_LNAGX44@GOTPAGEOFF]
Lloh26:
	ldr	x20, [x8]
Lloh27:
	adrp	x8, _LNAGX44_DEFAULT_GAIN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LNAGX44_DEFAULT_GAIN@GOTPAGEOFF]
Lloh29:
	ldr	x2, [x8]
	mov	w0, #1
	mov	x1, x20
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
	cbnz	x0, LBB0_11
; %bb.5:
Lloh30:
	adrp	x8, _CA8210_SFR_LNAGX45@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CA8210_SFR_LNAGX45@GOTPAGEOFF]
Lloh32:
	ldr	x20, [x8]
Lloh33:
	adrp	x8, _LNAGX45_DEFAULT_GAIN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _LNAGX45_DEFAULT_GAIN@GOTPAGEOFF]
Lloh35:
	ldr	x2, [x8]
	mov	w0, #1
	mov	x1, x20
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
	cbnz	x0, LBB0_11
; %bb.6:
Lloh36:
	adrp	x8, _CA8210_SFR_LNAGX46@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CA8210_SFR_LNAGX46@GOTPAGEOFF]
Lloh38:
	ldr	x20, [x8]
Lloh39:
	adrp	x8, _LNAGX46_DEFAULT_GAIN@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LNAGX46_DEFAULT_GAIN@GOTPAGEOFF]
Lloh41:
	ldr	x2, [x8]
	mov	w0, #1
	mov	x1, x20
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
	cbnz	x0, LBB0_11
; %bb.7:
Lloh42:
	adrp	x8, _CA8210_SFR_LNAGX47@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CA8210_SFR_LNAGX47@GOTPAGEOFF]
Lloh44:
	ldr	x20, [x8]
Lloh45:
	adrp	x8, _LNAGX47_DEFAULT_GAIN@GOTPAGE
Lloh46:
	ldr	x8, [x8, _LNAGX47_DEFAULT_GAIN@GOTPAGEOFF]
Lloh47:
	ldr	x2, [x8]
	mov	w0, #1
	mov	x1, x20
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
	cbnz	x0, LBB0_11
; %bb.8:
Lloh48:
	adrp	x8, _CA8210_SFR_PRECFG@GOTPAGE
Lloh49:
	ldr	x8, [x8, _CA8210_SFR_PRECFG@GOTPAGEOFF]
Lloh50:
	ldr	x20, [x8]
	mov	w0, #1
	mov	x1, x20
	mov	x2, #12884901891
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
	cbnz	x0, LBB0_11
; %bb.9:
Lloh51:
	adrp	x8, _CA8210_SFR_PTHRH@GOTPAGE
Lloh52:
	ldr	x8, [x8, _CA8210_SFR_PTHRH@GOTPAGEOFF]
Lloh53:
	ldr	x20, [x8]
Lloh54:
	adrp	x8, _PTHRH_DEFAULT_THRESHOLD@GOTPAGE
Lloh55:
	ldr	x8, [x8, _PTHRH_DEFAULT_THRESHOLD@GOTPAGEOFF]
Lloh56:
	ldr	x2, [x8]
	mov	w0, #1
	mov	x1, x20
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
	cbnz	x0, LBB0_11
; %bb.10:
Lloh57:
	adrp	x8, _CA8210_SFR_PACFGIB@GOTPAGE
Lloh58:
	ldr	x8, [x8, _CA8210_SFR_PACFGIB@GOTPAGEOFF]
Lloh59:
	ldr	x20, [x8]
Lloh60:
	adrp	x8, _PACFGIB_DEFAULT_CURRENT@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PACFGIB_DEFAULT_CURRENT@GOTPAGEOFF]
Lloh62:
	ldr	x2, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_tdme_setsfr_request_sync
LBB0_11:
	mov	x21, x0
Lloh63:
	adrp	x8, _MAC_SUCCESS@GOTPAGE
Lloh64:
	ldr	x8, [x8, _MAC_SUCCESS@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.12:
Lloh66:
	adrp	x1, l_.str@PAGE
Lloh67:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_dev_err
LBB0_13:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_SUCCESS,8,3                ; @MAC_SUCCESS
	.comm	_CA8210_SFR_LNAGX40,8,3         ; @CA8210_SFR_LNAGX40
	.comm	_LNAGX40_DEFAULT_GAIN,8,3       ; @LNAGX40_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX41,8,3         ; @CA8210_SFR_LNAGX41
	.comm	_LNAGX41_DEFAULT_GAIN,8,3       ; @LNAGX41_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX42,8,3         ; @CA8210_SFR_LNAGX42
	.comm	_LNAGX42_DEFAULT_GAIN,8,3       ; @LNAGX42_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX43,8,3         ; @CA8210_SFR_LNAGX43
	.comm	_LNAGX43_DEFAULT_GAIN,8,3       ; @LNAGX43_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX44,8,3         ; @CA8210_SFR_LNAGX44
	.comm	_LNAGX44_DEFAULT_GAIN,8,3       ; @LNAGX44_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX45,8,3         ; @CA8210_SFR_LNAGX45
	.comm	_LNAGX45_DEFAULT_GAIN,8,3       ; @LNAGX45_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX46,8,3         ; @CA8210_SFR_LNAGX46
	.comm	_LNAGX46_DEFAULT_GAIN,8,3       ; @LNAGX46_DEFAULT_GAIN
	.comm	_CA8210_SFR_LNAGX47,8,3         ; @CA8210_SFR_LNAGX47
	.comm	_LNAGX47_DEFAULT_GAIN,8,3       ; @LNAGX47_DEFAULT_GAIN
	.comm	_CA8210_SFR_PRECFG,8,3          ; @CA8210_SFR_PRECFG
	.comm	_CA8210_SFR_PTHRH,8,3           ; @CA8210_SFR_PTHRH
	.comm	_PTHRH_DEFAULT_THRESHOLD,8,3    ; @PTHRH_DEFAULT_THRESHOLD
	.comm	_CA8210_SFR_PACFGIB,8,3         ; @CA8210_SFR_PACFGIB
	.comm	_PACFGIB_DEFAULT_CURRENT,8,3    ; @PACFGIB_DEFAULT_CURRENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to set sfr at %#03x, status = %#03x\n"

	.no_dead_strip	_tdme_chipinit
.subsections_via_symbols
