	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dso__load_guest_kernel_sym
_dso__load_guest_kernel_sym:            ## @dso__load_guest_kernel_sym
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_machine__is_default_guest
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.12:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_dso__load_vmlinux
	movl	%eax, %ebx
	testl	%eax, %eax
	jg	LBB0_9
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movl	$-1, %ebx
	jmp	LBB0_10
LBB0_6:
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_sprintf
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_4:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_5
LBB0_7:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_dso__load_kallsyms
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_10
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	%r14, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_machine__mmap_name
	movq	%r14, %rdi
	callq	_strdup
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_dso__set_long_name
LBB0_9:
	movq	%r13, %rdi
	callq	_map__fixup_start
	movq	%r13, %rdi
	callq	_map__fixup_end
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.11:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$-1, %ebx
	jmp	LBB0_10
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Guest kernel map hasn't the point to groups\n"

	.comm	_symbol_conf,16,3               ## @symbol_conf
L_.str.1:                               ## @.str.1
	.asciz	"%s/proc/kallsyms"

L_.str.2:                               ## @.str.2
	.asciz	"Using %s for symbols\n"

	.no_dead_strip	_dso__load_guest_kernel_sym
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dso__load_guest_kernel_sym
_dso__load_guest_kernel_sym:            ; @dso__load_guest_kernel_sym
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	ldr	x8, [x1]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x24, [x8]
	mov	x0, x24
	bl	_machine__is_default_guest
	cbz	x0, LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _symbol_conf@GOTPAGE
Lloh9:
	ldr	x8, [x8, _symbol_conf@GOTPAGEOFF]
	ldr	x2, [x8, #8]
	cbz	x2, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	x3, x23
	bl	_dso__load_vmlinux
	mov	x23, x0
	cmp	w0, #0
	b.gt	LBB0_9
	b	LBB0_10
LBB0_4:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	mov	w23, #-1
	b	LBB0_10
LBB0_5:
	ldr	x2, [x24]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	mov	x25, x22
	b	LBB0_7
LBB0_6:
	ldr	x25, [x8]
	cbz	x25, LBB0_12
LBB0_7:
	mov	x0, x20
	mov	x1, x25
	mov	x2, x19
	mov	x3, x23
	bl	_dso__load_kallsyms
	mov	x23, x0
	cmp	w0, #0
	b.le	LBB0_10
; %bb.8:
	str	x25, [sp, #-16]!
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
	add	sp, sp, #16
	mov	x0, x24
	mov	x1, x22
	mov	x2, x21
	bl	_machine__mmap_name
	mov	x0, x22
	bl	_strdup
	mov	x1, x0
	mov	x0, x20
	bl	_dso__set_long_name
LBB0_9:
	mov	x0, x19
	bl	_map__fixup_start
	mov	x0, x19
	bl	_map__fixup_end
LBB0_10:
	ldur	x8, [x29, #-72]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x23
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w23, #-1
	b	LBB0_10
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Guest kernel map hasn't the point to groups\n"

	.comm	_symbol_conf,16,3               ; @symbol_conf
l_.str.1:                               ; @.str.1
	.asciz	"%s/proc/kallsyms"

l_.str.2:                               ; @.str.2
	.asciz	"Using %s for symbols\n"

	.no_dead_strip	_dso__load_guest_kernel_sym
.subsections_via_symbols
