	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sunos_solib_create_inferior_hook
_sunos_solib_create_inferior_hook:      ## @sunos_solib_create_inferior_hook
	.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	%eax, %eax
	callq	_sunos_relocate_main_executable
	xorl	%eax, %eax
	callq	_locate_base
	movq	_debug_base@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	xorl	%eax, %eax
	callq	_enable_break
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	xorl	%eax, %eax
	callq	_clear_proceed_status
	movq	_STOP_QUIETLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_stop_soon@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	movq	_TARGET_SIGNAL_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_stop_signal@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	_TARGET_SIGNAL_TRAP@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, %edi
	callq	_pid_to_ptid
	movq	(%rbx), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_target_resume
	xorl	%eax, %eax
	callq	_wait_for_inferior
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_3
## %bb.4:
	movq	_NO_STOP_QUIETLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_DECR_PC_AFTER_BREAK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_stop_pc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	subl	%eax, %esi
	movl	%esi, (%rcx)
	movq	_PC_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_write_register
LBB0_6:
	xorl	%eax, %eax
	callq	_disable_break
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	_warning
LBB0_8:
	movq	_auto_solib_add@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_solib_add                      ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warning                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_debug_base,4,2                 ## @debug_base
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shared library handler failed to enable breakpoint"

	.comm	_STOP_QUIETLY,4,2               ## @STOP_QUIETLY
	.comm	_stop_soon,4,2                  ## @stop_soon
	.comm	_TARGET_SIGNAL_0,8,3            ## @TARGET_SIGNAL_0
	.comm	_stop_signal,8,3                ## @stop_signal
	.comm	_TARGET_SIGNAL_TRAP,8,3         ## @TARGET_SIGNAL_TRAP
	.comm	_NO_STOP_QUIETLY,4,2            ## @NO_STOP_QUIETLY
	.comm	_DECR_PC_AFTER_BREAK,8,3        ## @DECR_PC_AFTER_BREAK
	.comm	_stop_pc,4,2                    ## @stop_pc
	.comm	_PC_REGNUM,4,2                  ## @PC_REGNUM
L_.str.1:                               ## @.str.1
	.asciz	"shared library handler failed to disable breakpoint"

	.comm	_auto_solib_add,4,2             ## @auto_solib_add
	.no_dead_strip	_sunos_solib_create_inferior_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sunos_solib_create_inferior_hook
_sunos_solib_create_inferior_hook:      ; @sunos_solib_create_inferior_hook
	.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
	bl	_sunos_relocate_main_executable
	bl	_locate_base
Lloh0:
	adrp	x8, _debug_base@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug_base@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
	cbz	w0, LBB0_9
; %bb.1:
	bl	_enable_break
	cbz	w0, LBB0_10
; %bb.2:
	bl	_clear_proceed_status
Lloh3:
	adrp	x8, _STOP_QUIETLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STOP_QUIETLY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x19, _stop_soon@GOTPAGE
Lloh7:
	ldr	x19, [x19, _stop_soon@GOTPAGEOFF]
	str	w8, [x19]
Lloh8:
	adrp	x8, _TARGET_SIGNAL_0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TARGET_SIGNAL_0@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x20, _stop_signal@GOTPAGE
Lloh12:
	ldr	x20, [x20, _stop_signal@GOTPAGEOFF]
	str	x8, [x20]
Lloh13:
	adrp	x21, _TARGET_SIGNAL_TRAP@GOTPAGE
Lloh14:
	ldr	x21, [x21, _TARGET_SIGNAL_TRAP@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #-1
	bl	_pid_to_ptid
	ldr	x2, [x20]
	mov	w1, #0
	bl	_target_resume
	bl	_wait_for_inferior
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.4:
Lloh15:
	adrp	x8, _NO_STOP_QUIETLY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NO_STOP_QUIETLY@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh18:
	adrp	x8, _DECR_PC_AFTER_BREAK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DECR_PC_AFTER_BREAK@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh21:
	adrp	x9, _stop_pc@GOTPAGE
Lloh22:
	ldr	x9, [x9, _stop_pc@GOTPAGEOFF]
	ldr	w10, [x9]
	sub	w1, w10, w8
	str	w1, [x9]
Lloh23:
	adrp	x8, _PC_REGNUM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PC_REGNUM@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_write_register
LBB0_6:
	bl	_disable_break
	cbnz	w0, LBB0_8
; %bb.7:
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warning
LBB0_8:
Lloh28:
	adrp	x8, _auto_solib_add@GOTPAGE
Lloh29:
	ldr	x8, [x8, _auto_solib_add@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w1, #0
	mov	x2, #0
	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
	b	_solib_add
LBB0_9:
	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_10:
Lloh31:
	adrp	x0, l_.str@PAGE
Lloh32:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_warning
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_debug_base,4,2                 ; @debug_base
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shared library handler failed to enable breakpoint"

	.comm	_STOP_QUIETLY,4,2               ; @STOP_QUIETLY
	.comm	_stop_soon,4,2                  ; @stop_soon
	.comm	_TARGET_SIGNAL_0,8,3            ; @TARGET_SIGNAL_0
	.comm	_stop_signal,8,3                ; @stop_signal
	.comm	_TARGET_SIGNAL_TRAP,8,3         ; @TARGET_SIGNAL_TRAP
	.comm	_NO_STOP_QUIETLY,4,2            ; @NO_STOP_QUIETLY
	.comm	_DECR_PC_AFTER_BREAK,8,3        ; @DECR_PC_AFTER_BREAK
	.comm	_stop_pc,4,2                    ; @stop_pc
	.comm	_PC_REGNUM,4,2                  ; @PC_REGNUM
l_.str.1:                               ; @.str.1
	.asciz	"shared library handler failed to disable breakpoint"

	.comm	_auto_solib_add,4,2             ; @auto_solib_add
	.no_dead_strip	_sunos_solib_create_inferior_hook
.subsections_via_symbols
