	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s390_class_max_nregs           ## -- Begin function s390_class_max_nregs
	.p2align	4, 0x90
_s390_class_max_nregs:                  ## @s390_class_max_nregs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	cmpl	$129, %edi
	je	LBB0_5
## %bb.1:
	cmpl	$128, %edi
	jne	LBB0_6
## %bb.2:
	movl	%ebx, %edi
	callq	_GET_MODE_CLASS
	movl	%eax, %r14d
	movq	_MODE_COMPLEX_FLOAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_GET_MODE_SIZE
	movl	%eax, %ecx
	cmpl	%r15d, %r14d
	jne	LBB0_4
## %bb.3:
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	leal	7(%rax), %ecx
	addl	$14, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$3, %eax
	addl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movl	%ebx, %edi
	callq	_GET_MODE_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	3(%rax), %ecx
	addl	$6, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$2, %eax
	jmp	LBB0_7
LBB0_6:
	movl	%ebx, %edi
	callq	_GET_MODE_SIZE
                                        ## kill: def $eax killed $eax def $rax
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %eax
	decl	%eax
	cltd
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_7
LBB0_4:
	leal	7(%rcx), %eax
	addl	$14, %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	movl	%ecx, %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_COMPLEX_FLOAT,4,2         ## @MODE_COMPLEX_FLOAT
	.comm	_UNITS_PER_WORD,4,2             ## @UNITS_PER_WORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s390_class_max_nregs           ; -- Begin function s390_class_max_nregs
	.p2align	2
_s390_class_max_nregs:                  ; @s390_class_max_nregs
	.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	x19, x1
	cmp	w0, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_GET_MODE_CLASS
	mov	x20, x0
Lloh0:
	adrp	x8, _MODE_COMPLEX_FLOAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_COMPLEX_FLOAT@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_GET_MODE_SIZE
	add	w8, w0, #7
	add	w9, w0, #14
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	cmp	w0, #0
	cinc	w9, w0, lt
	asr	w9, w9, #1
	add	w10, w9, #7
	add	w9, w9, #14
	cmp	w10, #0
	csel	w9, w9, w10, lt
	asr	w9, w9, #3
	lsl	w9, w9, #1
	cmp	w20, w21
	csel	w0, w8, w9, ne
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_GET_MODE_SIZE
	add	w8, w0, #3
	add	w9, w0, #6
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #2
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_GET_MODE_SIZE
Lloh3:
	adrp	x8, _UNITS_PER_WORD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UNITS_PER_WORD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w9, w0, w8
	sub	w9, w9, #1
	sdiv	w0, w9, w8
LBB0_5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_COMPLEX_FLOAT,4,2         ; @MODE_COMPLEX_FLOAT
	.comm	_UNITS_PER_WORD,4,2             ; @UNITS_PER_WORD
.subsections_via_symbols
