	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tc_s390_regname_to_dw2regnum   ## -- Begin function tc_s390_regname_to_dw2regnum
	.p2align	4, 0x90
_tc_s390_regname_to_dw2regnum:          ## @tc_s390_regname_to_dw2regnum
	.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
	movq	%rdi, %rbx
	movb	(%rdi), %al
	orb	$2, %al
	cmpb	$99, %al
	jne	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	negq	%rcx
	sbbl	%eax, %eax
	orl	$33, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_pre_defined_registers@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_NAME_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_reg_name_search
	movl	%eax, %ecx
	leal	16(%rcx), %eax
	cmpl	$-1, %ecx
	cmovel	%ecx, %eax
	cmpb	$102, (%rbx)
	cmovnel	%ecx, %eax
	jmp	LBB0_5
LBB0_3:
	movl	$32, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pre_defined_registers,4,2      ## @pre_defined_registers
	.comm	_REG_NAME_CNT,4,2               ## @REG_NAME_CNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ap"

L_.str.1:                               ## @.str.1
	.asciz	"cc"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tc_s390_regname_to_dw2regnum   ; -- Begin function tc_s390_regname_to_dw2regnum
	.p2align	2
_tc_s390_regname_to_dw2regnum:          ; @tc_s390_regname_to_dw2regnum
	.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
	ldrb	w8, [x0]
	orr	w8, w8, #0x2
	cmp	w8, #99
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cmp	x0, #0
	mov	w8, #33
	csinv	w0, w8, wzr, eq
	b	LBB0_5
LBB0_3:
Lloh4:
	adrp	x8, _pre_defined_registers@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pre_defined_registers@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _REG_NAME_CNT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REG_NAME_CNT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_reg_name_search
	ldrb	w8, [x19]
	cmn	w0, #1
	mov	w9, #102
	ccmp	w8, w9, #0, ne
	add	w8, w0, #16
	csel	w0, w8, w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #32
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pre_defined_registers,4,2      ; @pre_defined_registers
	.comm	_REG_NAME_CNT,4,2               ; @REG_NAME_CNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ap"

l_.str.1:                               ; @.str.1
	.asciz	"cc"

.subsections_via_symbols
