	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si1133_measure
_si1133_measure:                        ## @si1133_measure
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %edx
	xorl	%esi, %esi
	callq	_si1133_set_adcmux
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	xorl	%edi, %edi
	callq	_BIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_si1133_set_chlist
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	xorl	%edi, %edi
	callq	_SI1133_REG_HOSTOUT
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_si1133_bulk_read
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-20(%rbp), %edi
	callq	_be16_to_cpu
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_si1133_measure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si1133_measure
_si1133_measure:                        ; @si1133_measure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
	ldr	w2, [x1]
	mov	w1, #0
	bl	_si1133_set_adcmux
	cbnz	w0, LBB0_4
; %bb.1:
	bl	_BIT
	mov	x1, x0
	mov	x0, x20
	bl	_si1133_set_chlist
	cbnz	w0, LBB0_4
; %bb.2:
	bl	_SI1133_REG_HOSTOUT
	mov	x1, x0
	add	x3, sp, #12
	mov	x0, x20
	mov	w2, #4
	bl	_si1133_bulk_read
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #12]
	bl	_be16_to_cpu
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_si1133_measure
.subsections_via_symbols
