	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sony_nc_touchpad_setup
_sony_nc_touchpad_setup:                ## @sony_nc_touchpad_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	%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
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	movq	_tp_ctl@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, (%rax)
	addq	$16, %rax
	movq	%rax, %rdi
	callq	_sysfs_attr_init
	movq	(%r15), %rax
	leaq	L_.str(%rip), %rcx
	movq	%rcx, 16(%rax)
	movq	_S_IRUGO@GOTPCREL(%rip), %rcx
	movq	_S_IWUSR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	leaq	8(%rax), %rsi
	movl	%edx, 24(%rax)
	movq	_sony_nc_touchpad_show@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_sony_nc_touchpad_store@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	%r14, %rdi
	callq	_device_create_file
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	movq	(%r15), %rdi
	callq	_kfree
	movq	$0, (%r15)
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_tp_ctl,8,3                     ## @tp_ctl
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"touchpad"

	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_sony_nc_touchpad_show,4,2      ## @sony_nc_touchpad_show
	.comm	_sony_nc_touchpad_store,4,2     ## @sony_nc_touchpad_store
	.no_dead_strip	_sony_nc_touchpad_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sony_nc_touchpad_setup
_sony_nc_touchpad_setup:                ; @sony_nc_touchpad_setup
	.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
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
Lloh3:
	adrp	x21, _tp_ctl@GOTPAGE
Lloh4:
	ldr	x21, [x21, _tp_ctl@GOTPAGEOFF]
	str	x0, [x21]
	cbz	x0, LBB0_3
; %bb.1:
	str	w20, [x0], #16
	bl	_sysfs_attr_init
	ldr	x1, [x21]
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
Lloh7:
	adrp	x9, _sony_nc_touchpad_store@GOTPAGE
Lloh8:
	ldr	x9, [x9, _sony_nc_touchpad_store@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	str	w9, [x1, #8]!
	str	x8, [x1, #8]
Lloh10:
	adrp	x8, _S_IRUGO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _S_IRUGO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x1, #16]
Lloh16:
	adrp	x8, _sony_nc_touchpad_show@GOTPAGE
Lloh17:
	ldr	x8, [x8, _sony_nc_touchpad_show@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x1, #4]
	mov	x0, x19
	bl	_device_create_file
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x0, [x21]
	bl	_kfree
	str	xzr, [x21]
	b	LBB0_4
LBB0_3:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_4:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_tp_ctl,8,3                     ; @tp_ctl
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"touchpad"

	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_sony_nc_touchpad_show,4,2      ; @sony_nc_touchpad_show
	.comm	_sony_nc_touchpad_store,4,2     ; @sony_nc_touchpad_store
	.no_dead_strip	_sony_nc_touchpad_setup
.subsections_via_symbols
