	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_to_lit_pool
_add_to_lit_pool:                       ## @add_to_lit_pool
	.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
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_find_or_make_literal_pool
	movl	(%rax), %r15d
	testq	%r15, %r15
	je	LBB0_18
## %bb.1:
	movq	16(%rax), %rdx
	movq	_inst@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_O_constant@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r8
	movl	8(%rcx), %edi
	movq	16(%rcx), %r9
	movq	_O_symbol@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r10
	movq	24(%rcx), %r11
	movq	32(%rcx), %r14
	addq	$32, %rdx
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	addq	$40, %rdx
	cmpq	%rbx, %r15
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-32(%rdx), %rcx
	cmpq	%rsi, %rcx
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r8, %rsi
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, -24(%rdx)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r9, -16(%rdx)
	je	LBB0_18
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, %rcx
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r10, %rsi
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, -24(%rdx)
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r11, -8(%rdx)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, (%rdx)
	jne	LBB0_11
LBB0_18:
	cmpl	%r15d, %ebx
	je	LBB0_13
	jmp	LBB0_16
LBB0_12:
	movl	%r15d, %ebx
LBB0_13:
	movq	_MAX_LITERAL_POOL_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	jae	LBB0_14
## %bb.15:
	movq	16(%rax), %rcx
	leaq	(%r15,%r15,4), %rdx
	movq	_inst@GOTPCREL(%rip), %rsi
	movq	32(%rsi), %rdi
	movq	%rdi, 32(%rcx,%rdx,8)
	movups	(%rsi), %xmm0
	movups	16(%rsi), %xmm1
	movups	%xmm1, 16(%rcx,%rdx,8)
	movups	%xmm0, (%rcx,%rdx,8)
	incl	(%rax)
LBB0_16:
	movq	_O_symbol@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_inst@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	shll	$2, %ebx
	movl	%ebx, 8(%rdx)
	movq	8(%rax), %rax
	movq	%rax, 24(%rdx)
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_14:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	_inst@GOTPCREL(%rip), %rcx
	movl	%eax, 40(%rcx)
	movq	_FAIL@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inst,48,3                      ## @inst
	.comm	_O_constant,8,3                 ## @O_constant
	.comm	_O_symbol,8,3                   ## @O_symbol
	.comm	_MAX_LITERAL_POOL_SIZE,4,2      ## @MAX_LITERAL_POOL_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"literal pool overflow"

	.comm	_FAIL,4,2                       ## @FAIL
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_add_to_lit_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_to_lit_pool
_add_to_lit_pool:                       ; @add_to_lit_pool
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_find_or_make_literal_pool
	ldr	w10, [x0]
Lloh0:
	adrp	x8, _O_symbol@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_symbol@GOTPAGEOFF]
Lloh2:
	adrp	x19, _inst@GOTPAGE
Lloh3:
	ldr	x19, [x19, _inst@GOTPAGEOFF]
	cbz	w10, LBB0_11
; %bb.1:
	mov	x9, #0
	ldr	x1, [x0, #16]
	ldr	x11, [x19]
Lloh4:
	adrp	x12, _O_constant@GOTPAGE
Lloh5:
	ldr	x12, [x12, _O_constant@GOTPAGEOFF]
Lloh6:
	ldr	x12, [x12]
	ldr	w13, [x19, #8]
	ldr	x14, [x8]
	ldp	x15, x16, [x19, #16]
	ldr	x17, [x19, #32]
	add	x1, x1, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	add	x1, x1, #40
	cmp	x10, x9
	b.eq	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x2, [x1, #-16]
	cmp	x2, x11
	ccmp	x11, x12, #0, eq
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w3, [x1, #-8]
	cmp	w3, w13
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x3, [x1]
	cmp	x3, x15
	b.eq	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x2, x11
	ccmp	x11, x14, #0, eq
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w2, [x1, #-8]
	cmp	w2, w13
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x1, #8]
	cmp	x2, x16
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x1, #16]
	cmp	x2, x17
	b.ne	LBB0_2
	b	LBB0_12
LBB0_10:
	mov	x9, x10
	b	LBB0_13
LBB0_11:
	mov	w9, #0
LBB0_12:
	cmp	w9, w10
	b.ne	LBB0_15
LBB0_13:
Lloh7:
	adrp	x11, _MAX_LITERAL_POOL_SIZE@GOTPAGE
Lloh8:
	ldr	x11, [x11, _MAX_LITERAL_POOL_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	cmp	w10, w11
	b.hs	LBB0_16
; %bb.14:
	ldr	x11, [x0, #16]
	mov	w12, #40
	madd	x10, x10, x12, x11
	ldp	q0, q1, [x19]
	ldr	x11, [x19, #32]
	str	x11, [x10, #32]
	stp	q0, q1, [x10]
	ldr	w10, [x0]
	add	w10, w10, #1
	str	w10, [x0]
LBB0_15:
	ldr	x8, [x8]
	str	x8, [x19]
	lsl	w8, w9, #2
	str	w8, [x19, #8]
	ldr	x8, [x0, #8]
	str	x8, [x19, #24]
Lloh10:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	str	w0, [x19, #40]
Lloh14:
	adrp	x8, _FAIL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_inst,48,3                      ; @inst
	.comm	_O_constant,8,3                 ; @O_constant
	.comm	_O_symbol,8,3                   ; @O_symbol
	.comm	_MAX_LITERAL_POOL_SIZE,4,2      ; @MAX_LITERAL_POOL_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"literal pool overflow"

	.comm	_FAIL,4,2                       ; @FAIL
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_add_to_lit_pool
.subsections_via_symbols
