	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hvutil_transport_init          ## -- Begin function hvutil_transport_init
	.p2align	4, 0x90
_hvutil_transport_init:                 ## @hvutil_transport_init
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$104, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%r13, 24(%rax)
	movq	%r14, 32(%rax)
	movq	_MISC_DYNAMIC_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	40(%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 56(%rbx)
	movq	%r15, 40(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	76(%rbx), %rcx
	movl	%eax, 96(%rbx)
	movq	_hvt_op_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rbx)
	movq	_hvt_op_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	_hvt_op_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rbx)
	movq	_hvt_op_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	_hvt_op_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rbx)
	movq	%rcx, 48(%rbx)
	leaq	72(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	68(%rbx), %rdi
	callq	_mutex_init
	leaq	64(%rbx), %rdi
	callq	_init_completion
	movq	_hvt_list_lock@GOTPCREL(%rip), %r13
	movq	%r13, %rdi
	callq	_spin_lock
	leaq	16(%rbx), %r14
	movq	_hvt_list@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_list_add
	movq	%r13, %rdi
	callq	_spin_unlock
	movq	%r12, (%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_misc_register
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	movq	_hvt_list_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	%r14, %rdi
	callq	_list_del
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	callq	_kfree
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	addq	$24, %rdi
	cmpq	$0, (%rdi)
	jle	LBB0_7
## %bb.3:
	cmpq	$0, 32(%rbx)
	jle	LBB0_7
## %bb.4:
	movq	_hvt_cn_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_cn_add_callback
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_MISC_DYNAMIC_MINOR,4,2         ## @MISC_DYNAMIC_MINOR
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_hvt_op_read,4,2                ## @hvt_op_read
	.comm	_hvt_op_write,4,2               ## @hvt_op_write
	.comm	_hvt_op_poll,4,2                ## @hvt_op_poll
	.comm	_hvt_op_open,4,2                ## @hvt_op_open
	.comm	_hvt_op_release,4,2             ## @hvt_op_release
	.comm	_hvt_list_lock,4,2              ## @hvt_list_lock
	.comm	_hvt_list,4,2                   ## @hvt_list
	.comm	_hvt_cn_callback,4,2            ## @hvt_cn_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hvutil_transport_init          ; -- Begin function hvutil_transport_init
	.p2align	2
_hvutil_transport_init:                 ; @hvutil_transport_init
	.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
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #104
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x19
	str	x25, [x21, #24]!
	str	x24, [x19, #32]
Lloh3:
	adrp	x8, _MISC_DYNAMIC_MINOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MISC_DYNAMIC_MINOR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #56]
	mov	x25, x19
	str	x20, [x25, #40]!
Lloh6:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #96]
Lloh9:
	adrp	x8, _hvt_op_read@GOTPAGE
Lloh10:
	ldr	x8, [x8, _hvt_op_read@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _hvt_op_write@GOTPAGE
Lloh13:
	ldr	x9, [x9, _hvt_op_write@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #88]
Lloh15:
	adrp	x8, _hvt_op_poll@GOTPAGE
Lloh16:
	ldr	x8, [x8, _hvt_op_poll@GOTPAGEOFF]
Lloh17:
	adrp	x9, _hvt_op_open@GOTPAGE
Lloh18:
	ldr	x9, [x9, _hvt_op_open@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #80]
Lloh21:
	adrp	x8, _hvt_op_release@GOTPAGE
Lloh22:
	ldr	x8, [x8, _hvt_op_release@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	mov	x9, x19
	str	w8, [x9, #76]!
	add	x0, x19, #72
	str	x9, [x19, #48]
	bl	_init_waitqueue_head
	add	x0, x19, #68
	bl	_mutex_init
	add	x0, x19, #64
	bl	_init_completion
Lloh24:
	adrp	x26, _hvt_list_lock@GOTPAGE
Lloh25:
	ldr	x26, [x26, _hvt_list_lock@GOTPAGEOFF]
	mov	x0, x26
	bl	_spin_lock
	add	x24, x19, #16
Lloh26:
	adrp	x1, _hvt_list@GOTPAGE
Lloh27:
	ldr	x1, [x1, _hvt_list@GOTPAGEOFF]
	mov	x0, x24
	bl	_list_add
	mov	x0, x26
	bl	_spin_unlock
	stp	x23, x22, [x19]
	mov	x0, x25
	bl	_misc_register
	cbz	x0, LBB0_4
LBB0_2:
Lloh28:
	adrp	x20, _hvt_list_lock@GOTPAGE
Lloh29:
	ldr	x20, [x20, _hvt_list_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock
	mov	x0, x24
	bl	_list_del
	mov	x0, x20
	bl	_spin_unlock
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	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_4:
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.5:
	ldr	x8, [x19, #32]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.6:
Lloh30:
	adrp	x8, _hvt_cn_callback@GOTPAGE
Lloh31:
	ldr	x8, [x8, _hvt_cn_callback@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_cn_add_callback
	cbnz	x0, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_MISC_DYNAMIC_MINOR,4,2         ; @MISC_DYNAMIC_MINOR
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_hvt_op_read,4,2                ; @hvt_op_read
	.comm	_hvt_op_write,4,2               ; @hvt_op_write
	.comm	_hvt_op_poll,4,2                ; @hvt_op_poll
	.comm	_hvt_op_open,4,2                ; @hvt_op_open
	.comm	_hvt_op_release,4,2             ; @hvt_op_release
	.comm	_hvt_list_lock,4,2              ; @hvt_list_lock
	.comm	_hvt_list,4,2                   ; @hvt_list
	.comm	_hvt_cn_callback,4,2            ; @hvt_cn_callback
.subsections_via_symbols
