	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doing_eh                       ## -- Begin function doing_eh
	.p2align	4, 0x90
_doing_eh:                              ## @doing_eh
	.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
	movq	_flag_exceptions@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	testl	%edi, %edi
	je	LBB0_4
## %bb.2:
	testb	$1, _doing_eh.warned(%rip)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_error
	movb	$1, _doing_eh.warned(%rip)
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_flag_exceptions,4,2            ## @flag_exceptions
.zerofill __DATA,__bss,_doing_eh.warned,1,2 ## @doing_eh.warned
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"exception handling disabled, use -fexceptions to enable"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doing_eh                       ; -- Begin function doing_eh
	.p2align	2
_doing_eh:                              ; @doing_eh
	.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
Lloh0:
	adrp	x9, _flag_exceptions@GOTPAGE
Lloh1:
	ldr	x9, [x9, _flag_exceptions@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cbz	w9, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	mov	x8, x0
	mov	w0, #0
	cbz	w8, LBB0_5
; %bb.3:
	adrp	x19, _doing_eh.warned@PAGE
	ldrb	w8, [x19, _doing_eh.warned@PAGEOFF]
	tbnz	w8, #0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	mov	w0, #0
	mov	w8, #1
	strb	w8, [x19, _doing_eh.warned@PAGEOFF]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_flag_exceptions,4,2            ; @flag_exceptions
.zerofill __DATA,__bss,_doing_eh.warned,1,2 ; @doing_eh.warned
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"exception handling disabled, use -fexceptions to enable"

.subsections_via_symbols
