	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max9877_get_reg
_max9877_get_reg:                       ## @max9877_get_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %r8d
	movb	4(%rax), %cl
	movl	8(%rax), %edi
	movq	_max9877_regs@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%r8,4), %edx
	shrl	%cl, %edx
	andl	%edi, %edx
	movq	(%rsi), %rcx
	subl	%edx, %edi
	cmpl	$0, 12(%rax)
	cmovel	%edx, %edi
	movl	%edi, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_max9877_regs,8,3               ## @max9877_regs
	.no_dead_strip	_max9877_get_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max9877_get_reg
_max9877_get_reg:                       ; @max9877_get_reg
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldp	w9, w10, [x8]
Lloh0:
	adrp	x11, _max9877_regs@GOTPAGE
Lloh1:
	ldr	x11, [x11, _max9877_regs@GOTPAGEOFF]
	ldp	w12, w8, [x8, #8]
Lloh2:
	ldr	x11, [x11]
	ldr	w9, [x11, x9, lsl #2]
	lsr	w9, w9, w10
	and	w9, w9, w12
	ldr	x10, [x1]
	sub	w11, w12, w9
	cmp	w8, #0
	csel	w8, w9, w11, eq
	str	w8, [x10]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_max9877_regs,8,3               ; @max9877_regs
	.no_dead_strip	_max9877_get_reg
.subsections_via_symbols
