	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function machine__create_modules
_machine__create_modules:               ## @machine__create_modules
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r13, %rdi
	callq	_machine__is_default_guest
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_3
LBB0_2:
	movq	(%r13), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_sprintf
	movq	%r15, %r12
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_symbol__restricted_filename
	movl	$-1, %r15d
	testq	%rax, %rax
	jne	LBB0_19
## %bb.4:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r14
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_feof
	testl	%eax, %eax
	je	LBB0_7
LBB0_16:
	movq	-56(%rbp), %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_fclose
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_machine__set_modules_path
	movl	%eax, %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_dso__kernel_module_get_build_id
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rsp
	movq	%r14, %rdi
	callq	_feof
	testl	%eax, %eax
	movq	_PATH_MAX@GOTPCREL(%rip), %rbx
	jne	LBB0_16
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsp, %r15
	movl	(%rbx), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	-56(%rbp), %rdi
	leaq	-88(%rbp), %rsi
	movq	%r14, %rdx
	callq	_getline
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	cltq
	movb	$0, -1(%rax,%rcx)
	movq	-56(%rbp), %rdi
	movl	$120, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
	movq	%rax, %rdi
	leaq	-68(%rbp), %rsi
	callq	_hex2u64
	movq	-56(%rbp), %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movb	$0, (%rax)
	movq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r13d, %esi
	leaq	L_.str.3(%rip), %rdx
	callq	_snprintf
	movl	-68(%rbp), %esi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_machine__new_module
	testq	%rax, %rax
	jne	LBB0_14
## %bb.17:
	movq	%r15, %rsp
	movq	-56(%rbp), %rdi
	callq	_free
	jmp	LBB0_18
LBB0_5:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_8:
	movq	%r15, %rsp
	jmp	LBB0_16
LBB0_10:
	movq	%r15, %rsp
LBB0_18:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	$-1, %r15d
LBB0_19:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_symbol_conf,8,3                ## @symbol_conf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/proc/modules"

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

L_.str.2:                               ## @.str.2
	.asciz	"r"

L_.str.3:                               ## @.str.3
	.asciz	"[%s]"

	.no_dead_strip	_machine__create_modules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function machine__create_modules
_machine__create_modules:               ; @machine__create_modules
	.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, #32
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stur	xzr, [x29, #-80]
Lloh3:
	adrp	x25, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x25, [x25, _PATH_MAX@GOTPAGEOFF]
	ldr	w8, [x25]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	bl	_machine__is_default_guest
	cbz	x0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _symbol_conf@GOTPAGE
Lloh8:
	ldr	x8, [x8, _symbol_conf@GOTPAGEOFF]
Lloh9:
	ldr	x21, [x8]
	b	LBB0_3
LBB0_2:
	ldr	x2, [x19]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	mov	x21, x20
LBB0_3:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_symbol__restricted_filename
	cbz	x0, LBB0_7
LBB0_4:
	mov	w0, #-1
LBB0_5:
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.6:
	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_7:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_fopen
	cbz	x0, LBB0_4
; %bb.8:
	mov	x20, x0
	bl	_feof
	cbz	w0, LBB0_10
LBB0_9:
	ldur	x0, [x29, #-80]
	bl	_free
	mov	x0, x20
	bl	_fclose
	mov	x0, x19
	bl	_machine__set_modules_path
	b	LBB0_5
LBB0_10:
Lloh19:
	adrp	x21, l_.str.3@PAGE
Lloh20:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x0]
	ldr	x1, [x19]
	bl	_dso__kernel_module_get_build_id
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	sp, x26
	mov	x0, x20
	bl	_feof
	cbnz	w0, LBB0_9
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x26, sp
	ldr	w22, [x25]
	mov	x9, x22
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	sub	x0, x29, #80
	sub	x1, x29, #88
	mov	x2, x20
	bl	_getline
	tbnz	w0, #31, LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldur	x8, [x29, #-80]
	cbz	x8, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x8, w0, sxtw
	sturb	wzr, [x8, #-1]
	ldur	x0, [x29, #-80]
	mov	w1, #120
	bl	_strrchr
	cbz	x0, LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x0, x0, #1
	sub	x1, x29, #92
	bl	_hex2u64
	ldur	x0, [x29, #-80]
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	strb	wzr, [x0]
	ldur	x3, [x29, #-80]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_snprintf
	ldur	w1, [x29, #-92]
	mov	x0, x19
	mov	x2, x23
	bl	_machine__new_module
	cbnz	x0, LBB0_11
; %bb.18:
	mov	sp, x26
	ldur	x0, [x29, #-80]
	bl	_free
	b	LBB0_4
LBB0_19:
	mov	sp, x26
	b	LBB0_9
LBB0_20:
	mov	sp, x26
	b	LBB0_4
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_symbol_conf,8,3                ; @symbol_conf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/proc/modules"

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

l_.str.2:                               ; @.str.2
	.asciz	"r"

l_.str.3:                               ; @.str.3
	.asciz	"[%s]"

	.no_dead_strip	_machine__create_modules
.subsections_via_symbols
