	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ngene_stop
_ngene_stop:                            ## @ngene_stop
	.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	%rdi, %rbx
	addq	$24, %rdi
	callq	_mutex_destroy
	movq	16(%rbx), %rdi
	callq	_i2c_del_adapter
	movq	16(%rbx), %rdi
	addq	$4, %rdi
	callq	_i2c_del_adapter
	movq	_NGENE_INT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ngwritel
	movq	_NGENE_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ngwritel
	movq	_NGENE_COMMAND_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ngwritel
	movq	_NGENE_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ngwritel
	movq	_NGENE_STATUS_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ngwritel
	movq	_NGENE_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ngwritel
	movq	_NGENE_EVENT_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ngwritel
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free_irq                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NGENE_INT_ENABLE,4,2           ## @NGENE_INT_ENABLE
	.comm	_NGENE_COMMAND,4,2              ## @NGENE_COMMAND
	.comm	_NGENE_COMMAND_HI,4,2           ## @NGENE_COMMAND_HI
	.comm	_NGENE_STATUS,4,2               ## @NGENE_STATUS
	.comm	_NGENE_STATUS_HI,4,2            ## @NGENE_STATUS_HI
	.comm	_NGENE_EVENT,4,2                ## @NGENE_EVENT
	.comm	_NGENE_EVENT_HI,4,2             ## @NGENE_EVENT_HI
	.no_dead_strip	_ngene_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ngene_stop
_ngene_stop:                            ; @ngene_stop
	.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	x19, x0
	add	x0, x0, #24
	bl	_mutex_destroy
	ldr	x0, [x19, #16]
	bl	_i2c_del_adapter
	ldr	x8, [x19, #16]
	add	x0, x8, #4
	bl	_i2c_del_adapter
Lloh0:
	adrp	x8, _NGENE_INT_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NGENE_INT_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_ngwritel
Lloh3:
	adrp	x8, _NGENE_COMMAND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NGENE_COMMAND@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_ngwritel
Lloh6:
	adrp	x8, _NGENE_COMMAND_HI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NGENE_COMMAND_HI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_ngwritel
Lloh9:
	adrp	x8, _NGENE_STATUS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NGENE_STATUS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_ngwritel
Lloh12:
	adrp	x8, _NGENE_STATUS_HI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NGENE_STATUS_HI@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_ngwritel
Lloh15:
	adrp	x8, _NGENE_EVENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NGENE_EVENT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_ngwritel
Lloh18:
	adrp	x8, _NGENE_EVENT_HI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NGENE_EVENT_HI@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_ngwritel
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free_irq
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_NGENE_INT_ENABLE,4,2           ; @NGENE_INT_ENABLE
	.comm	_NGENE_COMMAND,4,2              ; @NGENE_COMMAND
	.comm	_NGENE_COMMAND_HI,4,2           ; @NGENE_COMMAND_HI
	.comm	_NGENE_STATUS,4,2               ; @NGENE_STATUS
	.comm	_NGENE_STATUS_HI,4,2            ; @NGENE_STATUS_HI
	.comm	_NGENE_EVENT,4,2                ; @NGENE_EVENT
	.comm	_NGENE_EVENT_HI,4,2             ; @NGENE_EVENT_HI
	.no_dead_strip	_ngene_stop
.subsections_via_symbols
