	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_constant
_add_constant:                          ## @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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rbx
	xorl	%r15d, %r15d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rax)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_rtx_equal_p
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %edi
	callq	_GET_MODE_SIZE
	movq	%rax, %r13
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_GET_MODE_SIZE
	cmpq	%rax, %r13
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %edi
	callq	_GET_MODE_SIZE
	movq	%rax, %r13
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_GET_MODE_SIZE
	cmpq	%rax, %r13
	cmovel	%r15d, %r14d
	movq	(%rbx), %rbx
	movq	8(%rbx), %rax
	addq	$8, %rbx
	testq	%rax, %rax
	jne	LBB0_3
LBB0_8:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_11
LBB0_10:
	movl	12(%r15), %eax
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	addl	$32770, %eax                    ## imm = 0x8002
	movl	%eax, 8(%r15)
LBB0_11:
	movl	%r12d, %edi
	callq	_GET_MODE_SIZE
	subl	%eax, 8(%r15)
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.12:
	movl	%r12d, %edi
	callq	_GET_MODE_SIZE
	movl	8(%r15), %ecx
	subl	%eax, %ecx
	incl	%ecx
	movl	%ecx, 8(%r15)
LBB0_13:
	movl	$24, %edi
	callq	_xmalloc
	movq	%rax, %r15
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%r15)
	movl	%r12d, (%r15)
	xorl	%eax, %eax
	callq	_gen_label_rtx
	movl	%eax, 4(%r15)
	movq	(%rbx), %rcx
	movq	%rcx, 8(%r15)
	movq	%r15, (%rbx)
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, %rbx
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_10
LBB0_5:
	movq	(%rbx), %rax
	movl	4(%rax), %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_UNITS_PER_WORD,4,2             ## @UNITS_PER_WORD
	.no_dead_strip	_add_constant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_constant
_add_constant:                          ; @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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.1:
	mov	w24, #1
	mov	x23, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8]
	cmp	w9, w19
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x8, #16]
	mov	x0, x20
	bl	_rtx_equal_p
	cbnz	x0, LBB0_13
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_GET_MODE_SIZE
	mov	x22, x0
	ldr	x8, [x23]
	ldr	w0, [x8]
	bl	_GET_MODE_SIZE
	cmp	x22, x0
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_GET_MODE_SIZE
	mov	x22, x0
	ldr	x8, [x23]
	ldr	w0, [x8]
	bl	_GET_MODE_SIZE
	cmp	x22, x0
	csel	w24, wzr, w24, eq
	ldr	x23, [x23]
	ldr	x8, [x23, #8]!
	cbnz	x8, LBB0_2
LBB0_6:
	ldr	x8, [x21]
	cbnz	x8, LBB0_8
LBB0_7:
Lloh0:
	adrp	x8, _UNITS_PER_WORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNITS_PER_WORD@GOTPAGEOFF]
	ldr	w9, [x21, #12]
Lloh2:
	ldr	w8, [x8]
	mov	w10, #32770
	sub	w8, w9, w8
	add	w8, w8, w10
	str	w8, [x21, #8]
LBB0_8:
	mov	x0, x19
	bl	_GET_MODE_SIZE
	ldr	w8, [x21, #8]
	sub	w8, w8, w0
	str	w8, [x21, #8]
	cbz	w24, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_GET_MODE_SIZE
	ldr	w8, [x21, #8]
	sub	w8, w8, w0
	add	w8, w8, #1
	str	w8, [x21, #8]
LBB0_10:
	mov	w0, #24
	bl	_xmalloc
	mov	x21, x0
	str	w20, [x0, #16]
	str	w19, [x0]
	bl	_gen_label_rtx
	str	w0, [x21, #4]
	ldr	x8, [x23]
	str	x8, [x21, #8]
	str	x21, [x23]
LBB0_11:
	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
LBB0_12:
	mov	w24, #1
	mov	x23, x21
	cbnz	x8, LBB0_8
	b	LBB0_7
LBB0_13:
	ldr	x8, [x23]
	ldr	w0, [x8, #4]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UNITS_PER_WORD,4,2             ; @UNITS_PER_WORD
	.no_dead_strip	_add_constant
.subsections_via_symbols
