	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_maybe_remove_eh_handler        ## -- Begin function maybe_remove_eh_handler
	.p2align	4, 0x90
_maybe_remove_eh_handler:               ## @maybe_remove_eh_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_cfun@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_1
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	%edi, -24(%rbp)
	movl	(%rax), %edi
	movq	_NO_INSERT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	callq	_htab_find_slot
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	(%rax), %rcx
	movq	(%rcx), %r14
	testq	%r14, %r14
	je	LBB0_6
## %bb.3:
	movq	(%r14), %rcx
	movq	_ERT_MUST_NOT_THROW@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_htab_clear_slot
	movq	_NULL_RTX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	jmp	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	callq	_remove_eh_handler
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_cfun,8,3                       ## @cfun
	.comm	_NO_INSERT,4,2                  ## @NO_INSERT
	.comm	_ERT_MUST_NOT_THROW,8,3         ## @ERT_MUST_NOT_THROW
	.comm	_NULL_RTX,4,2                   ## @NULL_RTX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_maybe_remove_eh_handler        ; -- Begin function maybe_remove_eh_handler
	.p2align	2
_maybe_remove_eh_handler:               ; @maybe_remove_eh_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _cfun@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cfun@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	str	w0, [sp, #8]
	ldr	w0, [x8]
Lloh2:
	adrp	x8, _NO_INSERT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NO_INSERT@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, sp
	bl	_htab_find_slot
	cbz	x0, LBB0_1
; %bb.3:
	mov	x1, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
	cbz	x19, LBB0_1
; %bb.4:
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _ERT_MUST_NOT_THROW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ERT_MUST_NOT_THROW@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_htab_clear_slot
Lloh8:
	adrp	x8, _NULL_RTX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NULL_RTX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_1
LBB0_6:
	mov	x0, x19
	bl	_remove_eh_handler
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_cfun,8,3                       ; @cfun
	.comm	_NO_INSERT,4,2                  ; @NO_INSERT
	.comm	_ERT_MUST_NOT_THROW,8,3         ; @ERT_MUST_NOT_THROW
	.comm	_NULL_RTX,4,2                   ; @NULL_RTX
.subsections_via_symbols
