	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function da9150_fg_temp
_da9150_fg_temp:                        ## @da9150_fg_temp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_DA9150_QIF_NTCAVG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DA9150_QIF_NTCAVG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_da9150_fg_read_attr_sync
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rax,4), %eax
	addl	$1048575, %eax                  ## imm = 0xFFFFF
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$20, %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DA9150_QIF_NTCAVG,4,2          ## @DA9150_QIF_NTCAVG
	.comm	_DA9150_QIF_NTCAVG_SIZE,4,2     ## @DA9150_QIF_NTCAVG_SIZE
	.no_dead_strip	_da9150_fg_temp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function da9150_fg_temp
_da9150_fg_temp:                        ; @da9150_fg_temp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _DA9150_QIF_NTCAVG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DA9150_QIF_NTCAVG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DA9150_QIF_NTCAVG_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DA9150_QIF_NTCAVG_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_da9150_fg_read_attr_sync
	add	w8, w0, w0, lsl #2
	lsl	w8, w8, #1
	mov	w9, #1048575
	add	w9, w8, w9
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #20
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DA9150_QIF_NTCAVG,4,2          ; @DA9150_QIF_NTCAVG
	.comm	_DA9150_QIF_NTCAVG_SIZE,4,2     ; @DA9150_QIF_NTCAVG_SIZE
	.no_dead_strip	_da9150_fg_temp
.subsections_via_symbols
