	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dso__load_kernel_sym
_dso__load_kernel_sym:                  ## @dso__load_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, %ecx
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_symbol_conf@GOTPCREL(%rip), %r12
	movq	(%r12), %r13
	testq	%r13, %r13
	je	LBB0_1
LBB0_13:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_dso__load_kallsyms
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_22
## %bb.14:
	leaq	L_.str.6(%rip), %rdi
	movq	%r13, %rsi
	callq	_pr_debug
	movq	-56(%rbp), %rdi
	callq	_free
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_15
LBB0_1:
	movq	8(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dso__load_vmlinux
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_23
## %bb.3:
	movq	8(%r12), %rdi
LBB0_15:
	callq	_strdup
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_dso__set_long_name
LBB0_16:
	movq	%rbx, %rdi
	callq	_map__fixup_start
	movq	%rbx, %rdi
	callq	_map__fixup_end
	jmp	LBB0_23
LBB0_22:
	movq	-56(%rbp), %rdi
	callq	_free
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_vmlinux_path@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%ecx, %edx
	movl	%ecx, %r14d
	callq	_dso__load_vmlinux_path
	movl	%r14d, %ecx
	movl	%eax, %r14d
	testl	%eax, %eax
	jg	LBB0_16
LBB0_6:
	movq	16(%r12), %rax
	movl	$-1, %r14d
	cmpq	$0, (%rax)
	jne	LBB0_23
## %bb.7:
	cmpq	$0, 8(%r15)
	je	LBB0_8
## %bb.9:
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_BUILD_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_BUILD_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	leal	(,%r12,4), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_sysfs__read_build_id
	testq	%rax, %rax
	je	LBB0_10
LBB0_17:
	movl	(%r15), %edi
	movl	$4, %esi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_build_id__sprintf
	leaq	L_.str.3(%rip), %rdi
	callq	_getenv
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movl	%eax, %edx
	movq	%r12, %rcx
	callq	_asprintf
	cmpl	$-1, %eax
	je	LBB0_18
## %bb.19:
	movq	-56(%rbp), %r13
	movq	_F_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_access
	testq	%rax, %rax
	je	LBB0_12
## %bb.20:
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	movq	-56(%rbp), %rdi
	callq	_free
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_8:
	leaq	L_.str.1(%rip), %r13
	jmp	LBB0_13
LBB0_10:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_dso__build_id_equal
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:
	leaq	L_.str.1(%rip), %r13
LBB0_12:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_13
LBB0_18:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_symbol_conf,24,3               ## @symbol_conf
	.comm	_vmlinux_path,8,3               ## @vmlinux_path
	.comm	_BUILD_ID_SIZE,4,2              ## @BUILD_ID_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/sys/kernel/notes"

L_.str.1:                               ## @.str.1
	.asciz	"/proc/kallsyms"

L_.str.2:                               ## @.str.2
	.asciz	"%s/.debug/[kernel.kallsyms]/%s"

L_.str.3:                               ## @.str.3
	.asciz	"HOME"

L_.str.4:                               ## @.str.4
	.asciz	"Not enough memory for kallsyms file lookup\n"

	.comm	_F_OK,4,2                       ## @F_OK
L_.str.5:                               ## @.str.5
	.asciz	"No kallsyms or vmlinux with build-id %s was found\n"

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

L_.str.7:                               ## @.str.7
	.asciz	"[kernel.kallsyms]"

	.no_dead_strip	_dso__load_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_kernel_sym
_dso__load_kernel_sym:                  ; @dso__load_kernel_sym
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x21, 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, #-56]
	stur	xzr, [x29, #-64]
Lloh3:
	adrp	x24, _symbol_conf@GOTPAGE
Lloh4:
	ldr	x24, [x24, _symbol_conf@GOTPAGEOFF]
	ldr	x23, [x24]
	cbz	x23, LBB0_3
LBB0_1:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	mov	x3, x21
	bl	_dso__load_kallsyms
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.2:
Lloh5:
	adrp	x0, l_.str.6@PAGE
Lloh6:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x23
	bl	_pr_debug
	ldur	x0, [x29, #-64]
	bl	_free
Lloh7:
	adrp	x0, l_.str.7@PAGE
Lloh8:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_6
LBB0_3:
	ldr	x2, [x24, #8]
	cbz	x2, LBB0_11
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	bl	_dso__load_vmlinux
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.5:
	ldr	x0, [x24, #8]
LBB0_6:
	bl	_strdup
	mov	x1, x0
	mov	x0, x20
	bl	_dso__set_long_name
LBB0_7:
	mov	x0, x19
	bl	_map__fixup_start
	mov	x0, x19
	bl	_map__fixup_end
	b	LBB0_9
LBB0_8:
	ldur	x0, [x29, #-64]
	bl	_free
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.10:
	mov	x0, x22
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh12:
	adrp	x8, _vmlinux_path@GOTPAGE
Lloh13:
	ldr	x8, [x8, _vmlinux_path@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.12:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_dso__load_vmlinux_path
	mov	x22, x0
	cmp	w0, #0
	b.gt	LBB0_7
LBB0_13:
	ldr	x8, [x24, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.14:
	mov	w22, #-1
	b	LBB0_9
LBB0_15:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_20
; %bb.16:
	mov	x24, sp
Lloh15:
	adrp	x12, _BUILD_ID_SIZE@GOTPAGE
Lloh16:
	ldr	x12, [x12, _BUILD_ID_SIZE@GOTPAGEOFF]
	ldr	w13, [x12]
	lsl	x8, x13, #2
	mov	x9, x8
Lloh17:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh18:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	w8, [x12]
	mov	w9, #1
	bfi	w9, w8, #1, #31
	add	x8, x9, #15
	and	x8, x8, #0x1fffffff0
Lloh19:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh20:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x8
	mov	sp, x22
	lsl	w2, w13, #2
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_sysfs__read_build_id
	cbz	x0, LBB0_21
LBB0_17:
	ldr	w0, [x20]
	mov	w1, #4
	mov	x2, x22
	bl	_build_id__sprintf
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_getenv
	mov	x2, x0
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	sub	x0, x29, #64
	mov	x3, x22
	bl	_asprintf
	cmn	w0, #1
	b.eq	LBB0_24
; %bb.18:
	ldur	x23, [x29, #-64]
Lloh27:
	adrp	x8, _F_OK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _F_OK@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_access
	cbz	x0, LBB0_23
; %bb.19:
	str	x22, [sp, #-16]!
Lloh30:
	adrp	x0, l_.str.5@PAGE
Lloh31:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_err
	add	sp, sp, #16
	ldur	x0, [x29, #-64]
	bl	_free
	b	LBB0_25
LBB0_20:
Lloh32:
	adrp	x23, l_.str.1@PAGE
Lloh33:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_1
LBB0_21:
	mov	x0, x20
	mov	x1, x23
	bl	_dso__build_id_equal
	cbz	x0, LBB0_17
; %bb.22:
Lloh34:
	adrp	x23, l_.str.1@PAGE
Lloh35:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_23:
	mov	sp, x24
	b	LBB0_1
LBB0_24:
Lloh36:
	adrp	x0, l_.str.4@PAGE
Lloh37:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
LBB0_25:
	mov	sp, x24
	mov	w22, #-1
	b	LBB0_9
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_symbol_conf,24,3               ; @symbol_conf
	.comm	_vmlinux_path,8,3               ; @vmlinux_path
	.comm	_BUILD_ID_SIZE,4,2              ; @BUILD_ID_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/sys/kernel/notes"

l_.str.1:                               ; @.str.1
	.asciz	"/proc/kallsyms"

l_.str.2:                               ; @.str.2
	.asciz	"%s/.debug/[kernel.kallsyms]/%s"

l_.str.3:                               ; @.str.3
	.asciz	"HOME"

l_.str.4:                               ; @.str.4
	.asciz	"Not enough memory for kallsyms file lookup\n"

	.comm	_F_OK,4,2                       ; @F_OK
l_.str.5:                               ; @.str.5
	.asciz	"No kallsyms or vmlinux with build-id %s was found\n"

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

l_.str.7:                               ; @.str.7
	.asciz	"[kernel.kallsyms]"

	.no_dead_strip	_dso__load_kernel_sym
.subsections_via_symbols
