	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hso_create_device
_hso_create_device:                     ## @hso_create_device
	.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, %r15d
	movq	%rdi, %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%r15d, (%rbx)
	movq	%r14, %rdi
	callq	_interface_to_usbdev
	movl	%eax, 32(%rbx)
	movq	%r14, 24(%rbx)
	leaq	16(%rbx), %rdi
	callq	_kref_init
	leaq	12(%rbx), %rdi
	callq	_mutex_init
	leaq	8(%rbx), %rdi
	movq	_async_get_intf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%rbx, %rdi
	addq	$4, %rdi
	movq	_async_put_intf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_async_get_intf,4,2             ## @async_get_intf
	.comm	_async_put_intf,4,2             ## @async_put_intf
	.no_dead_strip	_hso_create_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hso_create_device
_hso_create_device:                     ; @hso_create_device
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	str	w21, [x19]
	mov	x0, x20
	bl	_interface_to_usbdev
	str	w0, [x19, #32]
	str	x20, [x19, #24]
	add	x0, x19, #16
	bl	_kref_init
	add	x0, x19, #12
	bl	_mutex_init
	add	x0, x19, #8
Lloh3:
	adrp	x8, _async_get_intf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _async_get_intf@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #4
Lloh6:
	adrp	x8, _async_put_intf@GOTPAGE
Lloh7:
	ldr	x8, [x8, _async_put_intf@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_WORK
LBB0_2:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_async_get_intf,4,2             ; @async_get_intf
	.comm	_async_put_intf,4,2             ; @async_put_intf
	.no_dead_strip	_hso_create_device
.subsections_via_symbols
