	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd64_dwarf_reg_to_regnum
_amd64_dwarf_reg_to_regnum:             ## @amd64_dwarf_reg_to_regnum
	.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
	testl	%edi, %edi
	jns	LBB0_2
## %bb.1:
	movq	_amd64_dwarf_regmap_len@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_3
LBB0_2:
	movq	_amd64_dwarf_regmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movl	(%rax,%rcx,4), %eax
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_warning
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_amd64_dwarf_regmap_len,4,2     ## @amd64_dwarf_regmap_len
	.comm	_amd64_dwarf_regmap,8,3         ## @amd64_dwarf_regmap
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unmapped DWARF Register #%d encountered\n"

	.no_dead_strip	_amd64_dwarf_reg_to_regnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amd64_dwarf_reg_to_regnum
_amd64_dwarf_reg_to_regnum:             ; @amd64_dwarf_reg_to_regnum
	.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
	mov	x1, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _amd64_dwarf_regmap_len@GOTPAGE
Lloh1:
	ldr	x8, [x8, _amd64_dwarf_regmap_len@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _amd64_dwarf_regmap@GOTPAGE
Lloh4:
	ldr	x8, [x8, _amd64_dwarf_regmap@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w0, [x8, w1, sxtw #2]
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_amd64_dwarf_regmap_len,4,2     ; @amd64_dwarf_regmap_len
	.comm	_amd64_dwarf_regmap,8,3         ; @amd64_dwarf_regmap
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unmapped DWARF Register #%d encountered\n"

	.no_dead_strip	_amd64_dwarf_reg_to_regnum
.subsections_via_symbols
