	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zforce_start
_zforce_start:                          ## @zforce_start
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r12
	movq	8(%rdi), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
	movq	_COMMAND_INITIALIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_zforce_command_wait
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_14
LBB0_2:
	movl	(%r12), %edx
	movl	4(%r12), %esi
	movq	%r14, %rdi
	callq	_zforce_resolution
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_6:
	movq	%r14, %rdi
	movl	$10, %esi
	movl	$50, %edx
	movl	$50, %ecx
	callq	_zforce_scan_frequency
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
LBB0_4:
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_5:
	movq	_COMMAND_DEACTIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_zforce_command_wait
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_SETCONFIG_DUALTOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_zforce_setconfig
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_10
LBB0_11:
	movq	_COMMAND_DATAREQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_zforce_command
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
LBB0_10:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_5
LBB0_13:
	movl	$200, %edi
	callq	_msleep
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"starting device\n"

	.comm	_COMMAND_INITIALIZE,4,2         ## @COMMAND_INITIALIZE
L_.str.1:                               ## @.str.1
	.asciz	"Unable to initialize, %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unable to set resolution, %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unable to set scan frequency, %d\n"

	.comm	_SETCONFIG_DUALTOUCH,4,2        ## @SETCONFIG_DUALTOUCH
L_.str.4:                               ## @.str.4
	.asciz	"Unable to set config\n"

	.comm	_COMMAND_DATAREQUEST,4,2        ## @COMMAND_DATAREQUEST
L_.str.5:                               ## @.str.5
	.asciz	"Unable to request data\n"

	.comm	_COMMAND_DEACTIVATE,4,2         ## @COMMAND_DEACTIVATE
	.no_dead_strip	_zforce_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zforce_start
_zforce_start:                          ; @zforce_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldp	x22, x20, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
Lloh2:
	adrp	x8, _COMMAND_INITIALIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COMMAND_INITIALIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_zforce_command_wait
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	str	x21, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_8
LBB0_2:
	ldp	w2, w1, [x22]
	mov	x0, x19
	bl	_zforce_resolution
	cbz	w0, LBB0_4
; %bb.3:
	mov	x21, x0
	str	x21, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	mov	w1, #10
	mov	w2, #50
	mov	w3, #50
	bl	_zforce_scan_frequency
	cbz	w0, LBB0_9
; %bb.5:
	mov	x21, x0
	str	x21, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_6:
	mov	x0, x20
	bl	_dev_err
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
LBB0_7:
Lloh11:
	adrp	x8, _COMMAND_DEACTIVATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _COMMAND_DEACTIVATE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_zforce_command_wait
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
Lloh14:
	adrp	x8, _SETCONFIG_DUALTOUCH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SETCONFIG_DUALTOUCH@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_zforce_setconfig
	cbz	w0, LBB0_11
; %bb.10:
	mov	x21, x0
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_11:
Lloh19:
	adrp	x8, _COMMAND_DATAREQUEST@GOTPAGE
Lloh20:
	ldr	x8, [x8, _COMMAND_DATAREQUEST@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_zforce_command
	mov	x21, x0
	cbz	w0, LBB0_14
; %bb.12:
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_13:
	mov	x0, x20
	bl	_dev_err
	b	LBB0_7
LBB0_14:
	mov	w0, #200
	bl	_msleep
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"starting device\n"

	.comm	_COMMAND_INITIALIZE,4,2         ; @COMMAND_INITIALIZE
l_.str.1:                               ; @.str.1
	.asciz	"Unable to initialize, %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unable to set resolution, %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unable to set scan frequency, %d\n"

	.comm	_SETCONFIG_DUALTOUCH,4,2        ; @SETCONFIG_DUALTOUCH
l_.str.4:                               ; @.str.4
	.asciz	"Unable to set config\n"

	.comm	_COMMAND_DATAREQUEST,4,2        ; @COMMAND_DATAREQUEST
l_.str.5:                               ; @.str.5
	.asciz	"Unable to request data\n"

	.comm	_COMMAND_DEACTIVATE,4,2         ; @COMMAND_DEACTIVATE
	.no_dead_strip	_zforce_start
.subsections_via_symbols
