	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mxms_output_device             ## -- Begin function mxms_output_device
	.p2align	4, 0x90
_mxms_output_device:                    ## @mxms_output_device
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rsi), %edi
	callq	_ROM32
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mxms_version
	cmpl	$768, %eax                      ## imm = 0x300
	jl	LBB0_2
## %bb.1:
	movl	16(%r15), %edi
	callq	_ROM16
LBB0_2:
	movl	%ebx, %eax
	shrl	$4, %eax
	andl	$15, %eax
	movl	%eax, (%r14)
	movl	%ebx, %eax
	shrl	$8, %eax
	andl	$15, %eax
	movl	%eax, 4(%r14)
	movl	%ebx, %eax
	shrl	$12, %eax
	andl	$31, %eax
	movl	%eax, 8(%r14)
	shrl	$19, %ebx
	andl	$15, %ebx
	movl	%ebx, 12(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function mxms_output_device
lCPI0_0:
	.long	4294967292                      ; 0xfffffffc
	.long	4294967288                      ; 0xfffffff8
	.long	4294967284                      ; 0xfffffff4
	.long	4294967277                      ; 0xffffffed
lCPI0_1:
	.long	15                              ; 0xf
	.long	15                              ; 0xf
	.long	31                              ; 0x1f
	.long	15                              ; 0xf
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mxms_output_device
	.p2align	2
_mxms_output_device:                    ; @mxms_output_device
	.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, x2
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x1]
	bl	_ROM32
	mov	x21, x0
	mov	x0, x22
	bl	_mxms_version
	cmp	w0, #768
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [x20, #16]
	bl	_ROM16
LBB0_2:
	dup.4s	v0, w21
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	ushl.4s	v0, v0, v1
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	q1, [x8, lCPI0_1@PAGEOFF]
	and.16b	v0, v0, v1
	str	q0, [x19]
	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
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
