	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function htcpen_isa_remove
_htcpen_isa_remove:                     ## @htcpen_isa_remove
	.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
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_input_unregister_device
	movq	_HTCPEN_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movq	_HTCPEN_PORT_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_release_region
	movq	_HTCPEN_PORT_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_release_region
	movq	_HTCPEN_PORT_IRQ_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_release_region
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HTCPEN_IRQ,4,2                 ## @HTCPEN_IRQ
	.comm	_HTCPEN_PORT_INDEX,4,2          ## @HTCPEN_PORT_INDEX
	.comm	_HTCPEN_PORT_INIT,4,2           ## @HTCPEN_PORT_INIT
	.comm	_HTCPEN_PORT_IRQ_CLEAR,4,2      ## @HTCPEN_PORT_IRQ_CLEAR
	.no_dead_strip	_htcpen_isa_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function htcpen_isa_remove
_htcpen_isa_remove:                     ; @htcpen_isa_remove
	.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
	bl	_dev_get_drvdata
	mov	x19, x0
	bl	_input_unregister_device
Lloh0:
	adrp	x8, _HTCPEN_IRQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HTCPEN_IRQ@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_free_irq
Lloh3:
	adrp	x8, _HTCPEN_PORT_INDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HTCPEN_PORT_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_release_region
Lloh6:
	adrp	x8, _HTCPEN_PORT_INIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HTCPEN_PORT_INIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_release_region
Lloh9:
	adrp	x8, _HTCPEN_PORT_IRQ_CLEAR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HTCPEN_PORT_IRQ_CLEAR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_release_region
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HTCPEN_IRQ,4,2                 ; @HTCPEN_IRQ
	.comm	_HTCPEN_PORT_INDEX,4,2          ; @HTCPEN_PORT_INDEX
	.comm	_HTCPEN_PORT_INIT,4,2           ; @HTCPEN_PORT_INIT
	.comm	_HTCPEN_PORT_IRQ_CLEAR,4,2      ; @HTCPEN_PORT_IRQ_CLEAR
	.no_dead_strip	_htcpen_isa_remove
.subsections_via_symbols
