	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gettrap
_gettrap:                               ## @gettrap
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_cr16_traps@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_NUMTRAPS@GOTPCREL(%rip), %r13
	movslq	(%r13), %rax
	testq	%rax, %rax
	jle	LBB0_1
## %bb.4:
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	movq	%r14, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$8, %rbx
	movq	_cr16_traps@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movslq	(%r13), %rax
	leaq	(%r12,%rax,8), %r15
	cmpq	%r15, %rbx
	jb	LBB0_5
## %bb.2:
	cmpq	%r15, %r12
	jb	LBB0_3
	jmp	LBB0_10
LBB0_1:
	leaq	(%r12,%rax,8), %r15
	cmpq	%r15, %r12
	jae	LBB0_10
LBB0_3:
	movq	%r14, %rdi
	callq	_atoi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, (%r12)
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	addq	$8, %r12
	cmpq	%r15, %r12
	jb	LBB0_9
LBB0_10:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_as_bad
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_6:
	movl	(%rbx), %eax
LBB0_11:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cr16_traps,8,3                 ## @cr16_traps
	.comm	_NUMTRAPS,4,2                   ## @NUMTRAPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown exception: `%s'"

	.no_dead_strip	_gettrap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gettrap
_gettrap:                               ; @gettrap
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _cr16_traps@GOTPAGE
Lloh1:
	ldr	x22, [x22, _cr16_traps@GOTPAGEOFF]
	ldr	x20, [x22]
Lloh2:
	adrp	x23, _NUMTRAPS@GOTPAGE
Lloh3:
	ldr	x23, [x23, _NUMTRAPS@GOTPAGEOFF]
	ldrsw	x8, [x23]
	cmp	w8, #1
	b.lt	LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #4]
	mov	x1, x19
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x20, x20, #8
	ldr	x8, [x22]
	ldrsw	x9, [x23]
	add	x21, x8, x9, lsl #3
	cmp	x20, x21
	b.lo	LBB0_1
; %bb.3:
	mov	x20, x8
	cmp	x20, x21
	b.lo	LBB0_5
	b	LBB0_8
LBB0_4:
	add	x21, x20, x8, lsl #3
	cmp	x20, x21
	b.hs	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_atoi
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w8, w0
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #8
	cmp	x20, x21
	b.lo	LBB0_6
LBB0_8:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_as_bad
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	ldr	w0, [x20]
LBB0_10:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_cr16_traps,8,3                 ; @cr16_traps
	.comm	_NUMTRAPS,4,2                   ; @NUMTRAPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown exception: `%s'"

	.no_dead_strip	_gettrap
.subsections_via_symbols
