	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_lwst_pic
_build_lwst_pic:                        ## @build_lwst_pic
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movl	%esi, %r13d
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_RELAX_INST_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_MAX_LITERAL_POOL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_nor1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$0, (%rax)
	movswl	%r13w, %eax
	cmpl	%r13d, %eax
	jne	LBB0_5
## %bb.1:
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_append_insn
	movq	_FAIL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.2:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	%r15d, %r12d
	movq	%r14, %r15
	movq	_inst@GOTPCREL(%rip), %r14
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_BFD_RELOC_SCORE_GOT15@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r15, %r14
	movl	%r12d, %r15d
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	$4, %edx
	callq	_memcpy
	movq	(%r12), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_append_insn
	movq	_FAIL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.3:
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	addq	$4, %rdi
	movq	_inst@GOTPCREL(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$2, %ecx
	movq	%r12, %r8
	callq	_build_relax_frag
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_sprintf
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_append_insn
	movq	_FAIL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.4:
	movq	_inst@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_nor1@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	_inst@GOTPCREL(%rip), %rcx
	movl	%eax, 4(%rcx)
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RELAX_INST_NUM,4,2             ## @RELAX_INST_NUM
	.comm	_MAX_LITERAL_POOL_SIZE,4,2      ## @MAX_LITERAL_POOL_SIZE
	.comm	_nor1,4,2                       ## @nor1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lw_pic r1, %s"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_FAIL,8,3                       ## @FAIL
	.comm	_inst,12,2                      ## @inst
	.comm	_BFD_RELOC_SCORE_GOT15,4,2      ## @BFD_RELOC_SCORE_GOT15
L_.str.1:                               ## @.str.1
	.asciz	"addi_s_pic r1, %s"

L_.str.2:                               ## @.str.2
	.asciz	"%s r%d, [r1, %d]"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.3:                               ## @.str.3
	.asciz	"PIC code offset overflow (max 16 signed bits)"

	.no_dead_strip	_build_lwst_pic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_lwst_pic
_build_lwst_pic:                        ; @build_lwst_pic
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x21, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	x26, x1
Lloh3:
	adrp	x8, _RELAX_INST_NUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RELAX_INST_NUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x23, x9, x12
	mov	sp, x23
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x12
	mov	sp, x24
Lloh10:
	adrp	x8, _MAX_LITERAL_POOL_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX_LITERAL_POOL_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh15:
	adrp	x27, _nor1@GOTPAGE
Lloh16:
	ldr	x27, [x27, _nor1@GOTPAGEOFF]
	ldr	w28, [x27]
	str	wzr, [x27]
	cmp	w1, w1, sxth
	b.ne	LBB0_5
; %bb.1:
	stur	x3, [x29, #-96]                 ; 8-byte Folded Spill
	ldr	x8, [x21]
	ldr	x2, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_sprintf
Lloh19:
	adrp	x19, _FALSE@GOTPAGE
Lloh20:
	ldr	x19, [x19, _FALSE@GOTPAGEOFF]
	ldr	w1, [x19]
	mov	x0, x22
	bl	_append_insn
Lloh21:
	adrp	x8, _FAIL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.2:
Lloh24:
	adrp	x25, _inst@GOTPAGE
Lloh25:
	ldr	x25, [x25, _inst@GOTPAGEOFF]
	mov	x0, x23
	mov	x1, x25
	mov	w2, #4
	bl	_memcpy
Lloh26:
	adrp	x8, _BFD_RELOC_SCORE_GOT15@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BFD_RELOC_SCORE_GOT15@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x25, #8]
	mov	x0, x24
	mov	x1, x25
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
	ldr	x2, [x8]
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	ldr	w1, [x19]
	mov	x0, x22
	bl	_append_insn
Lloh31:
	adrp	x9, _FAIL@GOTPAGE
Lloh32:
	ldr	x9, [x9, _FAIL@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.3:
	add	x0, x24, #4
Lloh33:
	adrp	x25, _inst@GOTPAGE
Lloh34:
	ldr	x25, [x25, _inst@GOTPAGEOFF]
	mov	x1, x25
	mov	w2, #4
	mov	x19, x9
	bl	_memcpy
	mov	x0, x23
	mov	w1, #1
	mov	x2, x24
	mov	w3, #2
	mov	x4, x21
	bl	_build_relax_frag
	stp	x20, x26, [sp, #-16]!
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	ldur	x2, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_sprintf
	add	sp, sp, #16
Lloh37:
	adrp	x8, _TRUE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_append_insn
	ldr	w8, [x19]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.4:
	mov	w8, #-1
	str	w8, [x25]
	str	w28, [x27]
	b	LBB0_6
LBB0_5:
Lloh40:
	adrp	x0, l_.str.3@PAGE
Lloh41:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
Lloh42:
	adrp	x8, _inst@GOTPAGE
Lloh43:
	ldr	x8, [x8, _inst@GOTPAGEOFF]
Lloh44:
	str	w0, [x8, #4]
LBB0_6:
	ldur	x8, [x29, #-88]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_RELAX_INST_NUM,4,2             ; @RELAX_INST_NUM
	.comm	_MAX_LITERAL_POOL_SIZE,4,2      ; @MAX_LITERAL_POOL_SIZE
	.comm	_nor1,4,2                       ; @nor1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lw_pic r1, %s"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_FAIL,8,3                       ; @FAIL
	.comm	_inst,12,2                      ; @inst
	.comm	_BFD_RELOC_SCORE_GOT15,4,2      ; @BFD_RELOC_SCORE_GOT15
l_.str.1:                               ; @.str.1
	.asciz	"addi_s_pic r1, %s"

l_.str.2:                               ; @.str.2
	.asciz	"%s r%d, [r1, %d]"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.3:                               ; @.str.3
	.asciz	"PIC code offset overflow (max 16 signed bits)"

	.no_dead_strip	_build_lwst_pic
.subsections_via_symbols
