	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_hid_input_setup
_intel_hid_input_setup:                 ## @intel_hid_input_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_devm_input_allocate_device
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_intel_hid_keymap@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_sparse_keymap_setup
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rdi)
	movq	_BUS_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_register_device          ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_intel_hid_keymap,4,2           ## @intel_hid_keymap
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Intel HID events"

	.comm	_BUS_HOST,4,2                   ## @BUS_HOST
	.no_dead_strip	_intel_hid_input_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_hid_input_setup
_intel_hid_input_setup:                 ; @intel_hid_input_setup
	.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
	mov	x20, x0
	bl	_dev_get_drvdata
	mov	x19, x0
	mov	x0, x20
	bl	_devm_input_allocate_device
	str	x0, [x19]
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _intel_hid_keymap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _intel_hid_keymap@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_sparse_keymap_setup
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x0, [x19]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x0]
Lloh5:
	adrp	x8, _BUS_HOST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BUS_HOST@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_register_device
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_intel_hid_keymap,4,2           ; @intel_hid_keymap
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Intel HID events"

	.comm	_BUS_HOST,4,2                   ; @BUS_HOST
	.no_dead_strip	_intel_hid_input_setup
.subsections_via_symbols
