	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function h5_to_reg
_h5_to_reg:                             ## @h5_to_reg
	.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
	movl	%edi, %ebx
	cmpl	$69, %edi
	jg	LBB0_3
## %bb.1:
	movq	_H5_TEMP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_H5_TEMP_DIV@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	subl	%ebx, %eax
	movq	_H5_TEMP_MUL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	cmpl	$1, %esi
	je	LBB0_6
## %bb.4:
	testl	%esi, %esi
	jne	LBB0_7
## %bb.5:
	movq	_H5_TEMP_BASE_CPU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_H5_TEMP_DIV@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	subl	%ebx, %eax
	movq	_H5_TEMP_MUL_CPU@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movq	_H5_TEMP_BASE_GPU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_H5_TEMP_DIV@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	subl	%ebx, %eax
	movq	_H5_TEMP_MUL_GPU@GOTPCREL(%rip), %rcx
LBB0_2:
	cltd
	idivl	(%rcx)
	movl	%eax, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_printf
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_H5_TEMP_BASE,4,2               ## @H5_TEMP_BASE
	.comm	_H5_TEMP_DIV,4,2                ## @H5_TEMP_DIV
	.comm	_H5_TEMP_MUL,4,2                ## @H5_TEMP_MUL
	.comm	_H5_TEMP_BASE_CPU,4,2           ## @H5_TEMP_BASE_CPU
	.comm	_H5_TEMP_MUL_CPU,4,2            ## @H5_TEMP_MUL_CPU
	.comm	_H5_TEMP_BASE_GPU,4,2           ## @H5_TEMP_BASE_GPU
	.comm	_H5_TEMP_MUL_GPU,4,2            ## @H5_TEMP_MUL_GPU
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown sensor %d\n"

	.no_dead_strip	_h5_to_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function h5_to_reg
_h5_to_reg:                             ; @h5_to_reg
	.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
	cmp	w0, #69
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _H5_TEMP_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H5_TEMP_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _H5_TEMP_DIV@GOTPAGE
Lloh4:
	ldr	x9, [x9, _H5_TEMP_DIV@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w19, w9
	sub	w8, w8, w9
Lloh6:
	adrp	x9, _H5_TEMP_MUL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _H5_TEMP_MUL@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	cmp	w1, #1
	b.eq	LBB0_5
; %bb.3:
	cbnz	w1, LBB0_8
; %bb.4:
Lloh8:
	adrp	x8, _H5_TEMP_BASE_CPU@GOTPAGE
Lloh9:
	ldr	x8, [x8, _H5_TEMP_BASE_CPU@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _H5_TEMP_DIV@GOTPAGE
Lloh12:
	ldr	x9, [x9, _H5_TEMP_DIV@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	lsl	w9, w19, w9
	sub	w8, w8, w9
Lloh14:
	adrp	x9, _H5_TEMP_MUL_CPU@GOTPAGE
Lloh15:
	ldr	x9, [x9, _H5_TEMP_MUL_CPU@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x8, _H5_TEMP_BASE_GPU@GOTPAGE
Lloh17:
	ldr	x8, [x8, _H5_TEMP_BASE_GPU@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _H5_TEMP_DIV@GOTPAGE
Lloh20:
	ldr	x9, [x9, _H5_TEMP_DIV@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	lsl	w9, w19, w9
	sub	w8, w8, w9
Lloh22:
	adrp	x9, _H5_TEMP_MUL_GPU@GOTPAGE
Lloh23:
	ldr	x9, [x9, _H5_TEMP_MUL_GPU@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	sdiv	w19, w8, w9
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	b	LBB0_7
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_H5_TEMP_BASE,4,2               ; @H5_TEMP_BASE
	.comm	_H5_TEMP_DIV,4,2                ; @H5_TEMP_DIV
	.comm	_H5_TEMP_MUL,4,2                ; @H5_TEMP_MUL
	.comm	_H5_TEMP_BASE_CPU,4,2           ; @H5_TEMP_BASE_CPU
	.comm	_H5_TEMP_MUL_CPU,4,2            ; @H5_TEMP_MUL_CPU
	.comm	_H5_TEMP_BASE_GPU,4,2           ; @H5_TEMP_BASE_GPU
	.comm	_H5_TEMP_MUL_GPU,4,2            ; @H5_TEMP_MUL_GPU
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown sensor %d\n"

	.no_dead_strip	_h5_to_reg
.subsections_via_symbols
