	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_choose_personality_routine     ## -- Begin function choose_personality_routine
	.p2align	4, 0x90
_choose_personality_routine:            ## @choose_personality_routine
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	_choose_personality_routine.state(%rip), %eax
	cmpl	$3, %eax
	je	LBB0_11
## %bb.1:
	cmpl	$2, %eax
	je	LBB0_9
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	cmpl	$129, %edi
	jne	LBB0_10
	jmp	LBB0_11
LBB0_9:
	cmpl	$128, %edi
	je	LBB0_11
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	callq	_error
	movl	$3, _choose_personality_routine.state(%rip)
LBB0_11:
	popq	%rbp
	retq
LBB0_4:
	cmpl	$128, %edi
	je	LBB0_7
## %bb.5:
	cmpl	$129, %edi
	jne	LBB0_8
## %bb.6:
	movl	$1, _choose_personality_routine.state(%rip)
	popq	%rbp
	retq
LBB0_7:
	movl	$2, _choose_personality_routine.state(%rip)
	movq	_USING_SJLJ_EXCEPTIONS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_init_one_libfunc
	movq	_eh_personality_libfunc@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_gcc_unreachable                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_choose_personality_routine.state,4,2 ## @choose_personality_routine.state
	.comm	_USING_SJLJ_EXCEPTIONS,4,2      ## @USING_SJLJ_EXCEPTIONS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"__gcj_personality_sj0"

L_.str.1:                               ## @.str.1
	.asciz	"__gcj_personality_v0"

	.comm	_eh_personality_libfunc,4,2     ## @eh_personality_libfunc
L_.str.2:                               ## @.str.2
	.asciz	"mixing C++ and Java catches in a single translation unit"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_choose_personality_routine     ; -- Begin function choose_personality_routine
	.p2align	2
_choose_personality_routine:            ; @choose_personality_routine
	.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
	adrp	x19, _choose_personality_routine.state@PAGE
	ldr	w8, [x19, _choose_personality_routine.state@PAGEOFF]
	cmp	w8, #3
	b.eq	LBB0_11
; %bb.1:
	cmp	w8, #2
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.3:
	cmp	w0, #129
	b.ne	LBB0_5
	b	LBB0_11
LBB0_4:
	cmp	w0, #128
	b.eq	LBB0_11
LBB0_5:
Lloh0:
	adrp	x0, l_.str.2@PAGE
Lloh1:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
	mov	w8, #3
	b	LBB0_9
LBB0_6:
	cmp	w0, #128
	b.eq	LBB0_10
; %bb.7:
	cmp	w0, #129
	b.ne	LBB0_12
; %bb.8:
	mov	w8, #1
LBB0_9:
	str	w8, [x19, _choose_personality_routine.state@PAGEOFF]
	b	LBB0_11
LBB0_10:
	mov	w8, #2
	str	w8, [x19, _choose_personality_routine.state@PAGEOFF]
Lloh2:
	adrp	x8, _USING_SJLJ_EXCEPTIONS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _USING_SJLJ_EXCEPTIONS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, l_.str@PAGE
Lloh6:
	add	x9, x9, l_.str@PAGEOFF
Lloh7:
	adrp	x10, l_.str.1@PAGE
Lloh8:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #0
	csel	x0, x10, x9, eq
	bl	_init_one_libfunc
Lloh9:
	adrp	x8, _eh_personality_libfunc@GOTPAGE
Lloh10:
	ldr	x8, [x8, _eh_personality_libfunc@GOTPAGEOFF]
Lloh11:
	str	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gcc_unreachable
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_choose_personality_routine.state,4,2 ; @choose_personality_routine.state
	.comm	_USING_SJLJ_EXCEPTIONS,4,2      ; @USING_SJLJ_EXCEPTIONS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"__gcj_personality_sj0"

l_.str.1:                               ; @.str.1
	.asciz	"__gcj_personality_v0"

	.comm	_eh_personality_libfunc,4,2     ; @eh_personality_libfunc
l_.str.2:                               ; @.str.2
	.asciz	"mixing C++ and Java catches in a single translation unit"

.subsections_via_symbols
