	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s390_dwarf_reg_to_regnum
_s390_dwarf_reg_to_regnum:              ## @s390_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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	testl	%edi, %edi
	jns	LBB0_2
## %bb.1:
	movq	_s390_dwarf_regmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpl	%ebx, %eax
	jle	LBB0_3
LBB0_2:
	movq	_s390_dwarf_regmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %eax
	cmpl	$-1, %eax
	jne	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_warning
	movl	$-1, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s390_dwarf_regmap,8,3          ## @s390_dwarf_regmap
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unmapped DWARF Register #%d encountered\n"

	.no_dead_strip	_s390_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 s390_dwarf_reg_to_regnum
_s390_dwarf_reg_to_regnum:              ; @s390_dwarf_reg_to_regnum
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _s390_dwarf_regmap@GOTPAGE
Lloh1:
	ldr	x20, [x20, _s390_dwarf_regmap@GOTPAGEOFF]
	tbz	w0, #31, LBB0_2
; %bb.1:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, w19
	b.le	LBB0_3
LBB0_2:
	ldr	x8, [x20]
	ldr	w0, [x8, w19, sxtw #2]
	cmn	w0, #1
	b.ne	LBB0_4
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_warning
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_s390_dwarf_regmap,8,3          ; @s390_dwarf_regmap
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unmapped DWARF Register #%d encountered\n"

	.no_dead_strip	_s390_dwarf_reg_to_regnum
.subsections_via_symbols
