	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_machine__new_module            ## -- Begin function machine__new_module
	.p2align	4, 0x90
_machine__new_module:                   ## @machine__new_module
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	addq	$4, %rdi
	movq	%rdx, %rsi
	callq	___dsos__findnew
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	movq	_MAP__FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_map__new2
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_machine__is_host
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_DSO_BINARY_TYPE__GUEST_KMODULE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	movq	_DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_map_groups__insert
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAP__FUNCTION,4,2              ## @MAP__FUNCTION
	.comm	_DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE,4,2 ## @DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE
	.comm	_DSO_BINARY_TYPE__GUEST_KMODULE,4,2 ## @DSO_BINARY_TYPE__GUEST_KMODULE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_machine__new_module            ; -- Begin function machine__new_module
	.p2align	2
_machine__new_module:                   ; @machine__new_module
	.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	x20, x1
	mov	x19, x0
	add	x0, x0, #4
	mov	x1, x2
	bl	___dsos__findnew
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _MAP__FUNCTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAP__FUNCTION@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_map__new2
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_machine__is_host
Lloh3:
	adrp	x8, _DSO_BINARY_TYPE__GUEST_KMODULE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSO_BINARY_TYPE__GUEST_KMODULE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_map_groups__insert
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAP__FUNCTION,4,2              ; @MAP__FUNCTION
	.comm	_DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE,4,2 ; @DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE
	.comm	_DSO_BINARY_TYPE__GUEST_KMODULE,4,2 ; @DSO_BINARY_TYPE__GUEST_KMODULE
.subsections_via_symbols
