	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solib_add                      ## -- Begin function solib_add
	.p2align	4, 0x90
_solib_add:                             ## @solib_add
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r12
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	_re_comp
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_error
LBB0_3:
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_update_solib_list
	movq	_so_list_head@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	jmp	LBB0_6
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, 8(%rbx)
	movl	$1, %r13d
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r12, %r12
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rdi
	callq	_re_exec
	testq	%rax, %rax
	je	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, 8(%rbx)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %r13d
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_printf_unfiltered
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %r13d
	testl	%r15d, %r15d
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_symbol_add_stub@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RETURN_MASK_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	leaq	L_.str.2(%rip), %rdx
	callq	_catch_errors
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_printf_unfiltered
	jmp	LBB0_15
LBB0_4:
	xorl	%r13d, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_17:
	testq	%r12, %r12
	je	LBB0_21
## %bb.18:
	testl	%r14d, %r14d
	je	LBB0_21
## %bb.19:
	testl	%r13d, %r13d
	jne	LBB0_21
## %bb.20:
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	callq	_printf_unfiltered
LBB0_21:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.23:
	xorl	%eax, %eax
	callq	_reinit_frame_cache
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TARGET_SO_SPECIAL_SYMBOL_HANDLING ## TAILCALL
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid regexp: %s"

	.comm	_so_list_head,8,3               ## @so_list_head
L_.str.1:                               ## @.str.1
	.asciz	"Symbols already loaded for %s\n"

	.comm	_symbol_add_stub,4,2            ## @symbol_add_stub
L_.str.2:                               ## @.str.2
	.asciz	"Error while reading shared library symbols:\n"

	.comm	_RETURN_MASK_ALL,4,2            ## @RETURN_MASK_ALL
L_.str.3:                               ## @.str.3
	.asciz	"Loaded symbols for %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"No loaded shared libraries match the pattern `%s'.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solib_add                      ; -- Begin function solib_add
	.p2align	2
_solib_add:                             ; @solib_add
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_re_comp
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_3:
	mov	x0, x20
	mov	x1, x22
	bl	_update_solib_list
Lloh2:
	adrp	x8, _so_list_head@GOTPAGE
Lloh3:
	ldr	x8, [x8, _so_list_head@GOTPAGEOFF]
Lloh4:
	ldr	x22, [x8]
	cbz	x22, LBB0_17
; %bb.4:
	mov	w26, #0
	mov	w24, #0
Lloh5:
	adrp	x27, _symbol_add_stub@GOTPAGE
Lloh6:
	ldr	x27, [x27, _symbol_add_stub@GOTPAGEOFF]
Lloh7:
	adrp	x28, _RETURN_MASK_ALL@GOTPAGE
Lloh8:
	ldr	x28, [x28, _RETURN_MASK_ALL@GOTPAGEOFF]
Lloh9:
	adrp	x23, l_.str.2@PAGE
Lloh10:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh11:
	adrp	x25, l_.str.1@PAGE
Lloh12:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w24, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x22, [x22, #16]
	cbz	x22, LBB0_18
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x19, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x22]
	bl	_re_exec
	cbz	x0, LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x22, #8]
	cbz	w8, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	w20, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x22]
	mov	x0, x25
	bl	_printf_unfiltered
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w21, LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x27]
	ldr	w3, [x28]
	mov	x1, x22
	mov	x2, x23
	bl	_catch_errors
	cbz	x0, LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	w20, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x22]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf_unfiltered
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w24, #1
	str	w24, [x22, #8]
	mov	w26, #1
	b	LBB0_6
LBB0_17:
	mov	w24, #0
	mov	w26, #0
LBB0_18:
	cbz	x19, LBB0_22
; %bb.19:
	cbz	w20, LBB0_22
; %bb.20:
	cbnz	w24, LBB0_22
; %bb.21:
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_printf_unfiltered
LBB0_22:
	cbz	w26, LBB0_24
; %bb.23:
	bl	_reinit_frame_cache
	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
	b	_TARGET_SO_SPECIAL_SYMBOL_HANDLING
LBB0_24:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid regexp: %s"

	.comm	_so_list_head,8,3               ; @so_list_head
l_.str.1:                               ; @.str.1
	.asciz	"Symbols already loaded for %s\n"

	.comm	_symbol_add_stub,4,2            ; @symbol_add_stub
l_.str.2:                               ; @.str.2
	.asciz	"Error while reading shared library symbols:\n"

	.comm	_RETURN_MASK_ALL,4,2            ; @RETURN_MASK_ALL
l_.str.3:                               ; @.str.3
	.asciz	"Loaded symbols for %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"No loaded shared libraries match the pattern `%s'.\n"

.subsections_via_symbols
