	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucb1x00_ts_close
_ucb1x00_ts_close:                      ## @ucb1x00_ts_close
	.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	_input_get_drvdata
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_kthread_stop
LBB0_2:
	movq	(%rbx), %rdi
	callq	_ucb1x00_enable
	movq	(%rbx), %rax
	movq	_UCB_IRQ_TSPX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_free_irq
	movq	(%rbx), %rdi
	movq	_UCB_TS_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_ucb1x00_reg_write
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ucb1x00_disable                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UCB_IRQ_TSPX,8,3               ## @UCB_IRQ_TSPX
	.comm	_UCB_TS_CR,4,2                  ## @UCB_TS_CR
	.no_dead_strip	_ucb1x00_ts_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucb1x00_ts_close
_ucb1x00_ts_close:                      ; @ucb1x00_ts_close
	.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	_input_get_drvdata
	mov	x19, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_kthread_stop
LBB0_2:
	ldr	x0, [x19]
	bl	_ucb1x00_enable
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _UCB_IRQ_TSPX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UCB_IRQ_TSPX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	x1, x19
	bl	_free_irq
	ldr	x0, [x19]
Lloh3:
	adrp	x8, _UCB_TS_CR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UCB_TS_CR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_ucb1x00_reg_write
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ucb1x00_disable
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UCB_IRQ_TSPX,8,3               ; @UCB_IRQ_TSPX
	.comm	_UCB_TS_CR,4,2                  ; @UCB_TS_CR
	.no_dead_strip	_ucb1x00_ts_close
.subsections_via_symbols
