	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getsym
_getsym:                                ## @getsym
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	%r8d, %r14d
	movq	%rdi, %rbx
	leaq	-304(%rbp), %rdx
	leaq	-312(%rbp), %r8
	leaq	-316(%rbp), %r9
	movq	%r13, %rsi
	movl	$256, %ecx                      ## imm = 0x100
	callq	_Pxlookup_by_addr
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdx
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_10
LBB0_3:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_proc_addr2map
	movq	%rax, %rbx
	movq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rdx
	leaq	-304(%rbp), %r8
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	movq	-312(%rbp), %rcx
	cmpq	%r13, %rcx
	je	LBB0_5
## %bb.4:
	subq	%rax, %r15
	addq	%rax, %r12
	subq	%rcx, %r13
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_5:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.6:
	movq	(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r14d, %eax
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.4(%rip), %rdi
	leaq	-304(%rbp), %rsi
	callq	_strstr
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.5(%rip), %rdi
	leaq	-304(%rbp), %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%#lx"

L_.str.1:                               ## @.str.1
	.asciz	"%s`%s"

L_.str.2:                               ## @.str.2
	.asciz	"+%#lx"

L_.str.3:                               ## @.str.3
	.asciz	"libc.so.1"

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

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

	.comm	_LM_ID_BASE,8,3                 ## @LM_ID_BASE
	.no_dead_strip	_getsym
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getsym
_getsym:                                ; @getsym
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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 w27, -72
	.cfi_offset w28, -80
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x4
	mov	x23, x0
	add	x24, sp, #40
	add	x2, sp, #40
	add	x4, sp, #32
	add	x5, sp, #28
	mov	x1, x22
	mov	w3, #256
	bl	_Pxlookup_by_addr
	cbz	x0, LBB0_6
LBB0_2:
	str	x22, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_snprintf
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldur	x8, [x29, #-72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.5:
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #336]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #320]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #304]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_6:
	mov	x0, x23
	mov	x1, x22
	bl	_proc_addr2map
	mov	x23, x0
	ldr	x8, [x0]
	stp	x8, x24, [sp]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_snprintf
	ldr	x8, [sp, #32]
	cmp	x8, x22
	b.eq	LBB0_8
; %bb.7:
	sub	x1, x20, x0
	add	x0, x21, x0
	sub	x8, x22, x8
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_snprintf
LBB0_8:
	cbz	w19, LBB0_3
; %bb.9:
	ldr	x1, [x23]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.10:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	add	x1, sp, #40
	bl	_strstr
	cbz	x0, LBB0_12
; %bb.11:
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	add	x1, sp, #40
	bl	_strstr
	cbnz	x0, LBB0_3
LBB0_12:
	mov	w0, #-1
	b	LBB0_4
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%#lx"

l_.str.1:                               ; @.str.1
	.asciz	"%s`%s"

l_.str.2:                               ; @.str.2
	.asciz	"+%#lx"

l_.str.3:                               ; @.str.3
	.asciz	"libc.so.1"

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

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

	.comm	_LM_ID_BASE,8,3                 ; @LM_ID_BASE
	.no_dead_strip	_getsym
.subsections_via_symbols
