	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emulate_or
_emulate_or:                            ## @emulate_or
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r14
	movl	%edx, %ebx
	movq	16(%rbp), %r10
	movl	(%rcx), %r8d
	movl	20(%rcx), %eax
	cmpl	$131, %eax
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_7
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_7
## %bb.2:
	cmpl	$11, %eax
	jne	LBB0_3
## %bb.4:
	movq	_gpr_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movl	(%rax,%rcx,4), %r15d
	leaq	-48(%rbp), %rcx
	movq	%rdi, %r14
	movl	%esi, %r13d
	movl	%r15d, %edx
	callq	_vie_read_register
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	16(%rbp), %r9
	callq	*%r12
	testl	%eax, %eax
	jne	LBB0_12
## %bb.6:
	movl	-56(%rbp), %eax
	orl	-48(%rbp), %eax
	movq	%r14, %r12
	movq	%r14, %rdi
	movl	%r13d, %r14d
	movl	%r13d, %esi
	movl	%eax, %r13d
	movl	%r15d, %edx
	movl	%eax, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_vie_update_register
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_10
LBB0_7:
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	leaq	-48(%rbp), %rcx
	movq	%rdi, %r15
	movl	%esi, %r13d
	movl	%ebx, %edx
	movq	%r10, %r9
	callq	*%r12
	testl	%eax, %eax
	jne	LBB0_12
## %bb.8:
	movl	16(%r14), %eax
	orl	-48(%rbp), %eax
	movq	%r15, %r12
	movq	%r15, %rdi
	movl	%r13d, %r14d
	movl	%r13d, %esi
	movl	%eax, %r13d
	movl	%ebx, %edx
	movl	%eax, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	16(%rbp), %r9
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_10
LBB0_3:
	movq	%rdi, %r12
	movl	%esi, %r14d
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
                                        ## implicit-def: $r13d
	testl	%eax, %eax
	jne	LBB0_12
LBB0_10:
	movl	%r14d, %r15d
	movq	_VM_REG_GUEST_RFLAGS@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-52(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_vie_read_register
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_getcc
	movq	_RFLAGS_STATUS_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	-52(%rbp), %edx
	movq	_PSL_PF@GOTPCREL(%rip), %rsi
	movq	_PSL_Z@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rsi), %ecx
	movq	_PSL_N@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	andl	%eax, %ecx
	orl	%edx, %ecx
	movl	%ecx, -52(%rbp)
	movl	(%r14), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$8, %r8d
	callq	_vie_update_register
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_gpr_map,8,3                    ## @gpr_map
	.comm	_VM_REG_GUEST_RFLAGS,4,2        ## @VM_REG_GUEST_RFLAGS
	.comm	_RFLAGS_STATUS_BITS,4,2         ## @RFLAGS_STATUS_BITS
	.comm	_PSL_PF,4,2                     ## @PSL_PF
	.comm	_PSL_Z,4,2                      ## @PSL_Z
	.comm	_PSL_N,4,2                      ## @PSL_N
	.no_dead_strip	_emulate_or
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emulate_or
_emulate_or:                            ; @emulate_or
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x6
	mov	x25, x5
	mov	x24, x4
	mov	x26, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w21, [x3]
	ldr	w8, [x3, #20]
	cmp	w8, #131
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #11
	b.ne	LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _gpr_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gpr_map@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x26, #8]
	ldr	w25, [x8, x9, lsl #2]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	bl	_vie_read_register
	cbnz	w0, LBB0_11
; %bb.4:
	add	x3, sp, #4
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x4, x21
	mov	x5, x22
	blr	x24
	cbnz	w0, LBB0_11
; %bb.5:
	ldp	w9, w8, [sp, #4]
	orr	w24, w9, w8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	mov	x3, x24
	mov	x4, x21
	bl	_vie_update_register
	cbnz	w0, LBB0_11
	b	LBB0_9
LBB0_6:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x4, x21
	mov	x5, x22
	blr	x24
	cbnz	w0, LBB0_11
; %bb.7:
	ldr	w8, [sp, #8]
	ldr	w9, [x26, #16]
	orr	w24, w9, w8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x24
	mov	x4, x21
	mov	x5, x22
	blr	x25
	cbnz	w0, LBB0_11
	b	LBB0_9
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
                                        ; implicit-def: $w24
	cbnz	w0, LBB0_11
LBB0_9:
Lloh6:
	adrp	x22, _VM_REG_GUEST_RFLAGS@GOTPAGE
Lloh7:
	ldr	x22, [x22, _VM_REG_GUEST_RFLAGS@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_vie_read_register
	cbnz	w0, LBB0_11
; %bb.10:
	mov	x0, x21
	mov	x1, x24
	mov	w2, #0
	bl	_getcc
Lloh8:
	adrp	x8, _RFLAGS_STATUS_BITS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RFLAGS_STATUS_BITS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
Lloh11:
	adrp	x9, _PSL_PF@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PSL_PF@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _PSL_Z@GOTPAGE
Lloh15:
	ldr	x10, [x10, _PSL_Z@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh17:
	adrp	x10, _PSL_N@GOTPAGE
Lloh18:
	ldr	x10, [x10, _PSL_N@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	orr	w9, w9, w10
	and	w9, w9, w0
	orr	w3, w9, w8
	str	w3, [sp, #12]
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #8
	bl	_vie_update_register
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_gpr_map,8,3                    ; @gpr_map
	.comm	_VM_REG_GUEST_RFLAGS,4,2        ; @VM_REG_GUEST_RFLAGS
	.comm	_RFLAGS_STATUS_BITS,4,2         ; @RFLAGS_STATUS_BITS
	.comm	_PSL_PF,4,2                     ; @PSL_PF
	.comm	_PSL_Z,4,2                      ; @PSL_Z
	.comm	_PSL_N,4,2                      ; @PSL_N
	.no_dead_strip	_emulate_or
.subsections_via_symbols
