	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s390_tm_ccmode                 ## -- Begin function s390_tm_ccmode
	.p2align	4, 0x90
_s390_tm_ccmode:                        ## @s390_tm_ccmode
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movl	%edi, %r13d
	callq	_GET_CODE
	movq	_CONST_INT@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_12
## %bb.1:
	movl	%r14d, %edi
	callq	_GET_CODE
	cmpq	(%rbx), %rax
	jne	LBB0_12
## %bb.2:
	movl	%r14d, %edi
	callq	_INTVAL
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%r14d, %edi
	callq	_INTVAL
	movl	%eax, %r12d
	movl	%r13d, %edi
	callq	_INTVAL
	cmpl	%eax, %r12d
	jne	LBB0_6
## %bb.5:
	movq	_CCT3mode@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_3:
	movq	_CCTmode@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.7:
	movl	%r14d, %edi
	callq	_INTVAL
	movl	%eax, %edi
	callq	_exact_log2
	movl	%eax, %r15d
	movl	%r13d, %edi
	callq	_INTVAL
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_INTVAL
	xorl	%eax, %ebx
	movl	%ebx, %edi
	callq	_exact_log2
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.8:
	cmpl	$-1, %r15d
	je	LBB0_12
## %bb.9:
	cmpl	%r15d, %eax
	jle	LBB0_10
## %bb.11:
	movq	_CCT1mode@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_VOIDmode@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_CCT2mode@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_CONST_INT,8,3                  ## @CONST_INT
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_CCTmode,4,2                    ## @CCTmode
	.comm	_CCT3mode,4,2                   ## @CCT3mode
	.comm	_CCT1mode,4,2                   ## @CCT1mode
	.comm	_CCT2mode,4,2                   ## @CCT2mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s390_tm_ccmode                 ; -- Begin function s390_tm_ccmode
	.p2align	2
_s390_tm_ccmode:                        ; @s390_tm_ccmode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_GET_CODE
Lloh0:
	adrp	x22, _CONST_INT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CONST_INT@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.1:
	mov	x0, x19
	bl	_GET_CODE
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.2:
	mov	x0, x19
	bl	_INTVAL
	cbz	w0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_INTVAL
	mov	x22, x0
	mov	x0, x20
	bl	_INTVAL
	cmp	w22, w0
	b.ne	LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _CCT3mode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CCT3mode@GOTPAGEOFF]
	b	LBB0_11
LBB0_5:
Lloh4:
	adrp	x8, _CCTmode@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CCTmode@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
	cbz	w21, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_INTVAL
	bl	_exact_log2
	mov	x21, x0
	mov	x0, x20
	bl	_INTVAL
	mov	x20, x0
	mov	x0, x19
	bl	_INTVAL
	eor	w0, w0, w20
	bl	_exact_log2
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.8:
	cmn	w21, #1
	b.eq	LBB0_10
; %bb.9:
Lloh6:
	adrp	x8, _CCT1mode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CCT1mode@GOTPAGEOFF]
Lloh8:
	adrp	x9, _CCT2mode@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CCT2mode@GOTPAGEOFF]
	cmp	w0, w21
	csel	x8, x8, x9, gt
	b	LBB0_11
LBB0_10:
Lloh10:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CONST_INT,8,3                  ; @CONST_INT
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_CCTmode,4,2                    ; @CCTmode
	.comm	_CCT3mode,4,2                   ; @CCT3mode
	.comm	_CCT1mode,4,2                   ; @CCT1mode
	.comm	_CCT2mode,4,2                   ; @CCT2mode
.subsections_via_symbols
