	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ams_sensors                    ## -- Begin function ams_sensors
	.p2align	4, 0x90
_ams_sensors:                           ## @ams_sensors
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ams_info@GOTPCREL(%rip), %rax
	leaq	4(%rax), %rcx
	cmpq	$0, 16(%rax)
	cmovneq	%rax, %rcx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rcx), %ebx
	movq	8(%rax), %rax
	testb	$-128, %bl
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	jmp	LBB0_3
LBB0_1:
	movq	%r15, %rdi
	movq	%r14, %rsi
LBB0_3:
	movq	%r12, %rdx
	callq	*%rax
	testb	$4, %bl
	jne	LBB0_4
## %bb.5:
	testb	$2, %bl
	jne	LBB0_6
LBB0_7:
	testb	$1, %bl
	je	LBB0_9
LBB0_8:
	notl	(%r14)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	notl	(%r12)
	testb	$2, %bl
	je	LBB0_7
LBB0_6:
	notl	(%r15)
	testb	$1, %bl
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ams_info,24,3                  ## @ams_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ams_sensors                    ; -- Begin function ams_sensors
	.p2align	2
_ams_sensors:                           ; @ams_sensors
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _ams_info@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ams_info@GOTPAGEOFF]
	add	x10, x9, #4
	ldp	x8, x11, [x9, #8]
	cmp	x11, #0
	csel	x9, x10, x9, eq
	ldr	w22, [x9]
	tbnz	w22, #7, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x19
LBB0_3:
	mov	x2, x21
	blr	x8
	tbnz	w22, #2, LBB0_8
; %bb.4:
	tbnz	w22, #1, LBB0_9
LBB0_5:
	tbz	w22, #0, LBB0_7
LBB0_6:
	ldr	w8, [x19]
	mvn	w8, w8
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w8, [x21]
	mvn	w8, w8
	str	w8, [x21]
	tbz	w22, #1, LBB0_5
LBB0_9:
	ldr	w8, [x20]
	mvn	w8, w8
	str	w8, [x20]
	tbnz	w22, #0, LBB0_6
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ams_info,24,3                  ; @ams_info
.subsections_via_symbols
