	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s390_add_constant
_s390_add_constant:                     ## @s390_add_constant
	.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
	movq	%rdi, %r12
	movq	_NR_C_MODES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	_constant_modes@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, (%rcx,%rbx,4)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_3
## %bb.5:
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
LBB0_6:
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	setne	%dil
	callq	_gcc_assert
	movq	8(%r12), %rax
	movl	%ebx, %r13d
	movq	(%rax,%r13,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	12(%rbx), %esi
	movl	%r14d, %edi
	callq	_rtx_equal_p
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_10
LBB0_8:
	movl	$16, %edi
	callq	_xmalloc
	movq	%r12, %rbx
	movq	%rax, %r12
	movl	%r14d, 12(%rax)
	xorl	%eax, %eax
	callq	_gen_label_rtx
	movl	%eax, 8(%r12)
	movq	8(%rbx), %rax
	movq	(%rax,%r13,8), %rcx
	movq	%rcx, (%r12)
	movq	%r12, (%rax,%r13,8)
	movl	%r15d, %edi
	callq	_GET_MODE_SIZE
	addl	%eax, (%rbx)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NR_C_MODES,4,2                 ## @NR_C_MODES
	.comm	_constant_modes,8,3             ## @constant_modes
	.no_dead_strip	_s390_add_constant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s390_add_constant
_s390_add_constant:                     ; @s390_add_constant
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _NR_C_MODES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NR_C_MODES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x22, #0
Lloh3:
	adrp	x9, _constant_modes@GOTPAGE
Lloh4:
	ldr	x9, [x9, _constant_modes@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x22, lsl #2]
	cmp	w10, w20
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	cmp	x8, x22
	b.ne	LBB0_2
; %bb.4:
	mov	x22, x8
	b	LBB0_6
LBB0_5:
	mov	w22, #0
LBB0_6:
	cmp	w22, w8
	cset	w0, ne
	bl	_gcc_assert
	ldr	x8, [x19, #8]
	ldr	x23, [x8, w22, uxtw #3]
	cbz	x23, LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23, #12]
	mov	x0, x21
	bl	_rtx_equal_p
	cbnz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x23, [x23]
	cbnz	x23, LBB0_7
LBB0_9:
	mov	w23, w22
	mov	w0, #16
	bl	_xmalloc
	mov	x22, x0
	str	w21, [x0, #12]
	bl	_gen_label_rtx
	str	w0, [x22, #8]
	ldr	x8, [x19, #8]
	lsl	x9, x23, #3
	ldr	x10, [x8, x9]
	str	x10, [x22]
	str	x22, [x8, x9]
	mov	x0, x20
	bl	_GET_MODE_SIZE
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NR_C_MODES,4,2                 ; @NR_C_MODES
	.comm	_constant_modes,8,3             ; @constant_modes
	.no_dead_strip	_s390_add_constant
.subsections_via_symbols
