	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_allocate_device          ## -- Begin function input_allocate_device
	.p2align	4, 0x90
_input_allocate_device:                 ## @input_allocate_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	16(%rbx), %rdi
	movq	_input_dev_type@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	_input_class@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	callq	_device_initialize
	leaq	12(%rbx), %rdi
	callq	_mutex_init
	leaq	8(%rbx), %rdi
	callq	_spin_lock_init
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___module_get
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_input_dev_type,4,2             ## @input_dev_type
	.comm	_input_class,4,2                ## @input_class
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_allocate_device          ; -- Begin function input_allocate_device
	.p2align	2
_input_allocate_device:                 ; @input_allocate_device
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _input_dev_type@GOTPAGE
Lloh4:
	ldr	x8, [x8, _input_dev_type@GOTPAGEOFF]
	str	x8, [x19, #24]
Lloh5:
	adrp	x8, _input_class@GOTPAGE
Lloh6:
	ldr	x8, [x8, _input_class@GOTPAGEOFF]
	mov	x0, x19
	str	x8, [x0, #16]!
	bl	_device_initialize
	add	x0, x19, #12
	bl	_mutex_init
	add	x0, x19, #8
	bl	_spin_lock_init
	add	x0, x19, #4
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	bl	_INIT_LIST_HEAD
Lloh7:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	___module_get
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_input_dev_type,4,2             ; @input_dev_type
	.comm	_input_class,4,2                ; @input_class
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
.subsections_via_symbols
