	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function frontend_ps2_set_fork
_frontend_ps2_set_fork:                 ## @frontend_ps2_set_fork
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$128, %edi
	je	LBB0_5
## %bb.1:
	movl	%edi, %ebx
	cmpl	$131, %edi
	je	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	cmpl	$130, %ebx
	jne	LBB0_7
## %bb.4:
	movl	$130, %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_5:
	movl	$131, %ebx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_6:
	callq	_RARCH_LOG
	movq	_ps2_fork_mode@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movl	$1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FRONTEND_FORK_CORE\n"

	.comm	_ps2_fork_mode,4,2              ## @ps2_fork_mode
L_.str.1:                               ## @.str.1
	.asciz	"FRONTEND_FORK_CORE_WITH_ARGS\n"

L_.str.2:                               ## @.str.2
	.asciz	"FRONTEND_FORK_RESTART\n"

	.no_dead_strip	_frontend_ps2_set_fork
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function frontend_ps2_set_fork
_frontend_ps2_set_fork:                 ; @frontend_ps2_set_fork
	.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
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	cmp	w0, #131
	b.eq	LBB0_5
; %bb.2:
	cmp	w19, #130
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	w19, #131
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	bl	_RARCH_LOG
Lloh6:
	adrp	x8, _ps2_fork_mode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ps2_fork_mode@GOTPAGEOFF]
Lloh8:
	str	w19, [x8]
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FRONTEND_FORK_CORE\n"

	.comm	_ps2_fork_mode,4,2              ; @ps2_fork_mode
l_.str.1:                               ; @.str.1
	.asciz	"FRONTEND_FORK_CORE_WITH_ARGS\n"

l_.str.2:                               ; @.str.2
	.asciz	"FRONTEND_FORK_RESTART\n"

	.no_dead_strip	_frontend_ps2_set_fork
.subsections_via_symbols
