	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s390_function_value            ## -- Begin function s390_function_value
	.p2align	4, 0x90
_s390_function_value:                   ## @s390_function_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	callq	_TYPE_UNSIGNED
	movl	%eax, -20(%rbp)
	movq	%rbx, %rdi
	callq	_TYPE_MODE
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %ecx
	callq	_promote_mode
	movl	%eax, %r14d
LBB0_2:
	movl	%r14d, %edi
	callq	_GET_MODE_CLASS
	movq	_MODE_INT@GOTPCREL(%rip), %rcx
	movl	$1, %edi
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movl	%r14d, %edi
	callq	_SCALAR_FLOAT_MODE_P
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_4:
	callq	_gcc_assert
	movl	%r14d, %edi
	callq	_GET_MODE_SIZE
	xorl	%edi, %edi
	cmpl	$9, %eax
	setl	%dil
	callq	_gcc_assert
	movq	_TARGET_HARD_FLOAT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movl	%r14d, %edi
	callq	_SCALAR_FLOAT_MODE_P
	movl	$16, %esi
	testq	%rax, %rax
	jne	LBB0_7
LBB0_6:
	movl	$2, %esi
LBB0_7:
	movl	%r14d, %edi
	callq	_gen_rtx_REG
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_INT,8,3                   ## @MODE_INT
	.comm	_TARGET_HARD_FLOAT,8,3          ## @TARGET_HARD_FLOAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s390_function_value            ; -- Begin function s390_function_value
	.p2align	2
_s390_function_value:                   ; @s390_function_value
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_TYPE_UNSIGNED
	str	w0, [sp, #12]
	mov	x0, x20
	bl	_TYPE_MODE
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x20
	mov	w3, #1
	bl	_promote_mode
	mov	x19, x0
LBB0_2:
	mov	x0, x19
	bl	_GET_MODE_CLASS
Lloh0:
	adrp	x8, _MODE_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_INT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_SCALAR_FLOAT_MODE_P
	cmp	x0, #0
	cset	w0, ne
LBB0_5:
	bl	_gcc_assert
	mov	x0, x19
	bl	_GET_MODE_SIZE
	cmp	w0, #9
	cset	w0, lt
	bl	_gcc_assert
Lloh3:
	adrp	x8, _TARGET_HARD_FLOAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TARGET_HARD_FLOAT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_SCALAR_FLOAT_MODE_P
	cbz	x0, LBB0_8
; %bb.7:
	mov	w1, #16
	b	LBB0_9
LBB0_8:
	mov	w1, #2
LBB0_9:
	mov	x0, x19
	bl	_gen_rtx_REG
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_INT,8,3                   ; @MODE_INT
	.comm	_TARGET_HARD_FLOAT,8,3          ; @TARGET_HARD_FLOAT
.subsections_via_symbols
