	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx24123_get_inversion
_cx24123_get_inversion:                 ## @cx24123_get_inversion
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	$27, %esi
	callq	_cx24123_readreg
	cmpl	$128, %eax
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmovbq	%rax, %rdi
	movq	_INVERSION_ON@GOTPCREL(%rip), %rbx
	cmovbq	_INVERSION_OFF@GOTPCREL(%rip), %rbx
	callq	_dprintk
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read inversion off\n"

	.comm	_INVERSION_OFF,4,2              ## @INVERSION_OFF
L_.str.1:                               ## @.str.1
	.asciz	"read inversion on\n"

	.comm	_INVERSION_ON,4,2               ## @INVERSION_ON
	.no_dead_strip	_cx24123_get_inversion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx24123_get_inversion
_cx24123_get_inversion:                 ; @cx24123_get_inversion
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	w1, #27
	bl	_cx24123_readreg
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str@PAGE
Lloh3:
	add	x9, x9, l_.str@PAGEOFF
	cmp	w0, #128
	csel	x0, x9, x8, lo
Lloh4:
	adrp	x8, _INVERSION_OFF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _INVERSION_OFF@GOTPAGEOFF]
Lloh6:
	adrp	x9, _INVERSION_ON@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INVERSION_ON@GOTPAGEOFF]
	csel	x20, x8, x9, lo
	bl	_dprintk
	ldr	w8, [x20]
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read inversion off\n"

	.comm	_INVERSION_OFF,4,2              ; @INVERSION_OFF
l_.str.1:                               ; @.str.1
	.asciz	"read inversion on\n"

	.comm	_INVERSION_ON,4,2               ; @INVERSION_ON
	.no_dead_strip	_cx24123_get_inversion
.subsections_via_symbols
