	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unwind__arch_reg_id            ## -- Begin function unwind__arch_reg_id
	.p2align	4, 0x90
_unwind__arch_reg_id:                   ## @unwind__arch_reg_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %esi
	leal	-128(%rsi), %eax
	cmpl	$9, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.unwind__arch_reg_id(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_REG_X86_AX,4,2            ## @PERF_REG_X86_AX
	.comm	_PERF_REG_X86_DX,4,2            ## @PERF_REG_X86_DX
	.comm	_PERF_REG_X86_CX,4,2            ## @PERF_REG_X86_CX
	.comm	_PERF_REG_X86_BX,4,2            ## @PERF_REG_X86_BX
	.comm	_PERF_REG_X86_SI,4,2            ## @PERF_REG_X86_SI
	.comm	_PERF_REG_X86_DI,4,2            ## @PERF_REG_X86_DI
	.comm	_PERF_REG_X86_BP,4,2            ## @PERF_REG_X86_BP
	.comm	_PERF_REG_X86_SP,4,2            ## @PERF_REG_X86_SP
	.comm	_PERF_REG_X86_IP,4,2            ## @PERF_REG_X86_IP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unwind: invalid reg id %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.unwind__arch_reg_id
l_switch.table.unwind__arch_reg_id:
	.quad	_PERF_REG_X86_SP
	.quad	_PERF_REG_X86_SI
	.quad	_PERF_REG_X86_IP
	.quad	_PERF_REG_X86_DX
	.quad	_PERF_REG_X86_DI
	.quad	_PERF_REG_X86_CX
	.quad	_PERF_REG_X86_BX
	.quad	_PERF_REG_X86_BP
	.quad	_PERF_REG_X86_AX

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unwind__arch_reg_id            ; -- Begin function unwind__arch_reg_id
	.p2align	2
_unwind__arch_reg_id:                   ; @unwind__arch_reg_id
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w0, #128
	cmp	w8, #9
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.unwind__arch_reg_id@PAGE
Lloh1:
	add	x9, x9, l_switch.table.unwind__arch_reg_id@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_REG_X86_AX,4,2            ; @PERF_REG_X86_AX
	.comm	_PERF_REG_X86_DX,4,2            ; @PERF_REG_X86_DX
	.comm	_PERF_REG_X86_CX,4,2            ; @PERF_REG_X86_CX
	.comm	_PERF_REG_X86_BX,4,2            ; @PERF_REG_X86_BX
	.comm	_PERF_REG_X86_SI,4,2            ; @PERF_REG_X86_SI
	.comm	_PERF_REG_X86_DI,4,2            ; @PERF_REG_X86_DI
	.comm	_PERF_REG_X86_BP,4,2            ; @PERF_REG_X86_BP
	.comm	_PERF_REG_X86_SP,4,2            ; @PERF_REG_X86_SP
	.comm	_PERF_REG_X86_IP,4,2            ; @PERF_REG_X86_IP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unwind: invalid reg id %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.unwind__arch_reg_id
l_switch.table.unwind__arch_reg_id:
	.quad	_PERF_REG_X86_SP
	.quad	_PERF_REG_X86_SI
	.quad	_PERF_REG_X86_IP
	.quad	_PERF_REG_X86_DX
	.quad	_PERF_REG_X86_DI
	.quad	_PERF_REG_X86_CX
	.quad	_PERF_REG_X86_BX
	.quad	_PERF_REG_X86_BP
	.quad	_PERF_REG_X86_AX

.subsections_via_symbols
