	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ab8500_btemp_get_temp          ## -- Begin function ab8500_btemp_get_temp
	.p2align	4, 0x90
_ab8500_btemp_get_temp:                 ## @ab8500_btemp_get_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	%rdi, %rbx
	movl	48(%rdi), %edi
	callq	_is_ab8500_3p3_or_earlier
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	cmpq	$0, 40(%rbx)
	je	LBB0_4
## %bb.2:
	movl	4(%rbx), %eax
LBB0_3:
	testl	%eax, %eax
	js	LBB0_12
LBB0_11:
	movl	(%rbx), %eax
LBB0_12:
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	cmpq	$0, 32(%rbx)
	je	LBB0_6
## %bb.5:
	movl	8(%rbx), %eax
	testl	%eax, %eax
	jg	LBB0_12
	jmp	LBB0_11
LBB0_6:
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.7:
	movl	12(%rbx), %eax
	jmp	LBB0_3
LBB0_8:
	cmpq	$0, 16(%rbx)
	je	LBB0_11
## %bb.9:
	movl	12(%rbx), %eax
	testl	%eax, %eax
	jg	LBB0_12
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ab8500_btemp_get_temp          ; -- Begin function ab8500_btemp_get_temp
	.p2align	2
_ab8500_btemp_get_temp:                 ; @ab8500_btemp_get_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, x0
	ldr	w0, [x0, #48]
	bl	_is_ab8500_3p3_or_earlier
	cbz	x0, LBB0_3
LBB0_1:
	ldr	w8, [x19]
LBB0_2:
	add	w8, w8, w8, lsl #2
	lsl	w0, w8, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w8, [x19, #4]
	tbz	w8, #31, LBB0_1
	b	LBB0_2
LBB0_5:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w8, [x19, #8]
	cmp	w8, #0
	b.gt	LBB0_2
	b	LBB0_1
LBB0_7:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w8, [x19, #12]
	tbz	w8, #31, LBB0_1
	b	LBB0_2
LBB0_9:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_1
; %bb.10:
	ldr	w8, [x19, #12]
	cmp	w8, #0
	b.gt	LBB0_2
	b	LBB0_1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
