	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_set_mode
_mv_set_mode:                           ## @mv_set_mode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_XOR_CONFIG
	movl	%eax, %edi
	callq	___raw_readl
	movl	%eax, %ebx
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	jae	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.mv_set_mode(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	andl	$-8, %ebx
	orl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_XOR_CONFIG
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	___raw_writel
	movl	%r14d, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %ecx
	callq	_dev_printk
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XOR_OPERATION_MODE_XOR,4,2     ## @XOR_OPERATION_MODE_XOR
	.comm	_XOR_OPERATION_MODE_MEMCPY,4,2  ## @XOR_OPERATION_MODE_MEMCPY
	.comm	_XOR_OPERATION_MODE_MEMSET,4,2  ## @XOR_OPERATION_MODE_MEMSET
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error: unsupported operation %d.\n"

	.no_dead_strip	_mv_set_mode
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.mv_set_mode
l_switch.table.mv_set_mode:
	.quad	_XOR_OPERATION_MODE_XOR
	.quad	_XOR_OPERATION_MODE_MEMSET
	.quad	_XOR_OPERATION_MODE_MEMCPY

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_set_mode
_mv_set_mode:                           ; @mv_set_mode
	.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	x19, x1
	mov	x20, x0
	bl	_XOR_CONFIG
	bl	___raw_readl
	sub	w8, w19, #128
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.mv_set_mode@PAGE
Lloh1:
	add	x9, x9, l_switch.table.mv_set_mode@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w8, [x8]
	and	w9, w0, #0xfffffff8
	orr	w21, w8, w9
	mov	x0, x20
	bl	_XOR_CONFIG
	mov	x1, x0
	mov	x0, x21
	bl	___raw_writel
	str	w19, [x20]
	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_2:
Lloh2:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_dev_printk
	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
	b	_BUG
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_XOR_OPERATION_MODE_XOR,4,2     ; @XOR_OPERATION_MODE_XOR
	.comm	_XOR_OPERATION_MODE_MEMCPY,4,2  ; @XOR_OPERATION_MODE_MEMCPY
	.comm	_XOR_OPERATION_MODE_MEMSET,4,2  ; @XOR_OPERATION_MODE_MEMSET
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error: unsupported operation %d.\n"

	.no_dead_strip	_mv_set_mode
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mv_set_mode
l_switch.table.mv_set_mode:
	.quad	_XOR_OPERATION_MODE_XOR
	.quad	_XOR_OPERATION_MODE_MEMSET
	.quad	_XOR_OPERATION_MODE_MEMCPY

.subsections_via_symbols
