	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nto_init_solib_absolute_prefix ## -- Begin function nto_init_solib_absolute_prefix
	.p2align	4, 0x90
_nto_init_solib_absolute_prefix:        ## @nto_init_solib_absolute_prefix
	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	(%rbx,%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	xorl	%eax, %eax
	callq	_nto_target
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_TARGET_ARCHITECTURE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movq	(%rax), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	leaq	L_.str.5(%rip), %r13
	leaq	L_.str.6(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%r15), %rax
	movq	(%rax), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%r15), %rax
	movq	(%rax), %r13
	movq	_TARGET_BYTE_ORDER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BFD_ENDIAN_BIG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.7(%rip), %rbx
	cmoveq	%rax, %rbx
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str.1(%rip), %r13
	leaq	L_.str.2(%rip), %rbx
LBB0_5:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_sprintf
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_execute_command
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_TARGET_ARCHITECTURE,8,3        ## @TARGET_ARCHITECTURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i386"

L_.str.1:                               ## @.str.1
	.asciz	"x86"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"rs6000"

L_.str.4:                               ## @.str.4
	.asciz	"powerpc"

L_.str.5:                               ## @.str.5
	.asciz	"ppc"

L_.str.6:                               ## @.str.6
	.asciz	"be"

	.comm	_TARGET_BYTE_ORDER,8,3          ## @TARGET_BYTE_ORDER
	.comm	_BFD_ENDIAN_BIG,8,3             ## @BFD_ENDIAN_BIG
L_.str.7:                               ## @.str.7
	.asciz	"le"

L_.str.8:                               ## @.str.8
	.asciz	"%s/%s%s"

L_.str.9:                               ## @.str.9
	.asciz	"set solib-absolute-prefix %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nto_init_solib_absolute_prefix ; -- Begin function nto_init_solib_absolute_prefix
	.p2align	2
_nto_init_solib_absolute_prefix:        ; @nto_init_solib_absolute_prefix
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w12, w8, #1
	mov	x9, x12
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0x1fffffff0
	sub	x19, x9, x10
	mov	sp, x19
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	bl	_nto_target
	mov	x21, x0
Lloh10:
	adrp	x22, _TARGET_ARCHITECTURE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _TARGET_ARCHITECTURE@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x22]
	ldr	x0, [x8]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x22]
	ldr	x0, [x8]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
Lloh18:
	adrp	x8, l_.str.6@PAGE
Lloh19:
	add	x8, x8, l_.str.6@PAGEOFF
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x9, [x22]
	ldr	x9, [x9]
Lloh20:
	adrp	x10, _TARGET_BYTE_ORDER@GOTPAGE
Lloh21:
	ldr	x10, [x10, _TARGET_BYTE_ORDER@GOTPAGEOFF]
Lloh22:
	adrp	x11, _BFD_ENDIAN_BIG@GOTPAGE
Lloh23:
	ldr	x11, [x11, _BFD_ENDIAN_BIG@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
Lloh25:
	ldr	x11, [x11]
Lloh26:
	adrp	x12, l_.str.7@PAGE
Lloh27:
	add	x12, x12, l_.str.7@PAGEOFF
	cmp	x10, x11
	csel	x8, x8, x12, eq
	b	LBB0_7
LBB0_4:
Lloh28:
	adrp	x9, l_.str.1@PAGE
Lloh29:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh30:
	adrp	x8, l_.str.2@PAGE
Lloh31:
	add	x8, x8, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh32:
	adrp	x9, l_.str.5@PAGE
Lloh33:
	add	x9, x9, l_.str.5@PAGEOFF
Lloh34:
	adrp	x8, l_.str.6@PAGE
Lloh35:
	add	x8, x8, l_.str.6@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh36:
	adrp	x9, l_.str.5@PAGE
Lloh37:
	add	x9, x9, l_.str.5@PAGEOFF
LBB0_7:
	stp	x9, x8, [sp, #-16]!
Lloh38:
	adrp	x1, l_.str.8@PAGE
Lloh39:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_sprintf
	add	sp, sp, #16
Lloh40:
	adrp	x1, l_.str.9@PAGE
Lloh41:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_sprintf
	mov	x0, x19
	mov	w1, #0
	bl	_execute_command
	ldur	x8, [x29, #-40]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_TARGET_ARCHITECTURE,8,3        ; @TARGET_ARCHITECTURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i386"

l_.str.1:                               ; @.str.1
	.asciz	"x86"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"rs6000"

l_.str.4:                               ; @.str.4
	.asciz	"powerpc"

l_.str.5:                               ; @.str.5
	.asciz	"ppc"

l_.str.6:                               ; @.str.6
	.asciz	"be"

	.comm	_TARGET_BYTE_ORDER,8,3          ; @TARGET_BYTE_ORDER
	.comm	_BFD_ENDIAN_BIG,8,3             ; @BFD_ENDIAN_BIG
l_.str.7:                               ; @.str.7
	.asciz	"le"

l_.str.8:                               ; @.str.8
	.asciz	"%s/%s%s"

l_.str.9:                               ; @.str.9
	.asciz	"set solib-absolute-prefix %s"

.subsections_via_symbols
