	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dso__load_kallsyms             ## -- Begin function dso__load_kallsyms
	.p2align	4, 0x90
_dso__load_kallsyms:                    ## @dso__load_kallsyms
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_symbol__restricted_filename
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movl	$-1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_dso__load_all_kallsyms
	testq	%rax, %rax
	js	LBB0_6
## %bb.2:
	movq	(%r15), %rdi
	shlq	$2, %rdi
	addq	16(%r12), %rdi
	callq	_symbols__fixup_duplicate
	movq	(%r15), %rdi
	shlq	$2, %rdi
	addq	16(%r12), %rdi
	callq	_symbols__fixup_end
	movq	(%r12), %rax
	movq	_DSO_TYPE_GUEST_KERNEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	_DSO_BINARY_TYPE__GUEST_KALLSYMS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_DSO_BINARY_TYPE__KALLSYMS@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dso__split_kallsyms            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/proc/kallsyms"

	.comm	_DSO_TYPE_GUEST_KERNEL,8,3      ## @DSO_TYPE_GUEST_KERNEL
	.comm	_DSO_BINARY_TYPE__GUEST_KALLSYMS,4,2 ## @DSO_BINARY_TYPE__GUEST_KALLSYMS
	.comm	_DSO_BINARY_TYPE__KALLSYMS,4,2  ## @DSO_BINARY_TYPE__KALLSYMS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dso__load_kallsyms             ; -- Begin function dso__load_kallsyms
	.p2align	2
_dso__load_kallsyms:                    ; @dso__load_kallsyms
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_symbol__restricted_filename
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #-1
	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_2:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_dso__load_all_kallsyms
	tbnz	x0, #63, LBB0_1
; %bb.3:
	ldr	x8, [x21, #16]
	ldr	x9, [x20]
	add	x0, x8, x9, lsl #2
	bl	_symbols__fixup_duplicate
	ldr	x8, [x21, #16]
	ldr	x9, [x20]
	add	x0, x8, x9, lsl #2
	bl	_symbols__fixup_end
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _DSO_TYPE_GUEST_KERNEL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DSO_TYPE_GUEST_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _DSO_BINARY_TYPE__GUEST_KALLSYMS@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DSO_BINARY_TYPE__GUEST_KALLSYMS@GOTPAGEOFF]
Lloh7:
	adrp	x11, _DSO_BINARY_TYPE__KALLSYMS@GOTPAGE
Lloh8:
	ldr	x11, [x11, _DSO_BINARY_TYPE__KALLSYMS@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x21, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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	_dso__split_kallsyms
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/proc/kallsyms"

	.comm	_DSO_TYPE_GUEST_KERNEL,8,3      ; @DSO_TYPE_GUEST_KERNEL
	.comm	_DSO_BINARY_TYPE__GUEST_KALLSYMS,4,2 ; @DSO_BINARY_TYPE__GUEST_KALLSYMS
	.comm	_DSO_BINARY_TYPE__KALLSYMS,4,2  ; @DSO_BINARY_TYPE__KALLSYMS
.subsections_via_symbols
