	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mms114_read_reg
_mms114_read_reg:                       ## @mms114_read_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_MMS114_MODE_CONTROL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	(%rdi), %eax
	jmp	LBB0_4
LBB0_2:
	leaq	-4(%rbp), %rcx
	movl	$1, %edx
	callq	___mms114_read_reg
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	-4(%rbp), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMS114_MODE_CONTROL,4,2        ## @MMS114_MODE_CONTROL
	.no_dead_strip	_mms114_read_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mms114_read_reg
_mms114_read_reg:                       ; @mms114_read_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _MMS114_MODE_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMS114_MODE_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x0]
	b	LBB0_3
LBB0_2:
	sub	x3, x29, #4
	mov	w2, #1
	bl	___mms114_read_reg
	ldur	w8, [x29, #-4]
	cmp	w0, #0
	csel	w0, w0, w8, lt
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMS114_MODE_CONTROL,4,2        ; @MMS114_MODE_CONTROL
	.no_dead_strip	_mms114_read_reg
.subsections_via_symbols
