	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emulate_grp9
_emulate_grp9:                          ## @emulate_grp9
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	4(%rdi), %ecx
	leaq	-28(%rbp), %rsi
	movq	%rdx, %rdi
	movl	$8, %edx
	callq	*(%r14)
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movslq	-28(%rbp), %rax
	movq	8(%r15), %rcx
	movq	_VCPU_REGS_RAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rax, (%rcx,%rdx,8)
	jne	LBB0_2
## %bb.3:
	movl	4(%r15), %r8d
	leaq	-28(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	*8(%r14)
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	_EFLG_ZF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	jmp	LBB0_5
LBB0_2:
	movq	%rax, (%rcx,%rdx,8)
	movq	_EFLG_ZF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
LBB0_5:
	movq	_X86EMUL_CONTINUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCPU_REGS_RAX,8,3              ## @VCPU_REGS_RAX
	.comm	_VCPU_REGS_RDX,8,3              ## @VCPU_REGS_RDX
	.comm	_EFLG_ZF,4,2                    ## @EFLG_ZF
	.comm	_VCPU_REGS_RCX,8,3              ## @VCPU_REGS_RCX
	.comm	_VCPU_REGS_RBX,8,3              ## @VCPU_REGS_RBX
	.comm	_X86EMUL_CONTINUE,4,2           ## @X86EMUL_CONTINUE
	.no_dead_strip	_emulate_grp9
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emulate_grp9
_emulate_grp9:                          ; @emulate_grp9
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x1]
	ldr	w3, [x0, #4]
	add	x1, sp, #12
	mov	x0, x2
	mov	w2, #8
	blr	x8
	cbnz	w0, LBB0_6
; %bb.1:
	ldrsw	x8, [sp, #12]
	ldr	x9, [x19, #8]
Lloh0:
	adrp	x10, _VCPU_REGS_RAX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VCPU_REGS_RAX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	x11, [x9, x10, lsl #3]
	cmp	x11, x8
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	w4, [x19, #4]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #8
	blr	x8
	cbnz	w0, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _EFLG_ZF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFLG_ZF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_5
LBB0_4:
	str	x8, [x9, x10, lsl #3]
Lloh6:
	adrp	x8, _EFLG_ZF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFLG_ZF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_5:
	str	w8, [x19]
Lloh9:
	adrp	x8, _X86EMUL_CONTINUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X86EMUL_CONTINUE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_VCPU_REGS_RAX,8,3              ; @VCPU_REGS_RAX
	.comm	_VCPU_REGS_RDX,8,3              ; @VCPU_REGS_RDX
	.comm	_EFLG_ZF,4,2                    ; @EFLG_ZF
	.comm	_VCPU_REGS_RCX,8,3              ; @VCPU_REGS_RCX
	.comm	_VCPU_REGS_RBX,8,3              ; @VCPU_REGS_RBX
	.comm	_X86EMUL_CONTINUE,4,2           ; @X86EMUL_CONTINUE
	.no_dead_strip	_emulate_grp9
.subsections_via_symbols
