	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max2175_refout_load_to_bits
_max2175_refout_load_to_bits:           ## @max2175_refout_load_to_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	cmpl	$40, %esi
	jg	LBB0_2
## %bb.1:
	movslq	%esi, %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	jmp	LBB0_4
LBB0_2:
	leal	-60(%rsi), %eax
	cmpl	$10, %eax
	ja	LBB0_6
## %bb.3:
	movzbl	%sil, %eax
	imull	$205, %eax, %eax
	shrl	$11, %eax
	decl	%eax
LBB0_4:
	movl	%eax, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_max2175_refout_load_to_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max2175_refout_load_to_bits
_max2175_refout_load_to_bits:           ; @max2175_refout_load_to_bits
	.cfi_startproc
; %bb.0:
	cmp	w1, #40
	b.gt	LBB0_2
; %bb.1:
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w1, w8
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	b	LBB0_4
LBB0_2:
	sub	w8, w1, #60
	cmp	w8, #10
	b.hi	LBB0_5
; %bb.3:
	and	w8, w1, #0xff
	mov	w9, #205
	mul	w8, w8, w9
	lsr	w8, w8, #11
	sub	w8, w8, #1
LBB0_4:
	mov	w0, #0
	str	w8, [x2]
	ret
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_max2175_refout_load_to_bits
.subsections_via_symbols
