	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsc2005_probe
_tsc2005_probe:                         ## @tsc2005_probe
	.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
	movq	%rdi, %rbx
	movq	_SPI_MODE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movl	$8, (%rdi)
	cmpq	$0, 16(%rdi)
	jne	LBB0_2
## %bb.1:
	movq	_TSC2005_SPI_MAX_SPEED_HZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_2:
	movq	%rbx, %rdi
	callq	_spi_setup
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	8(%rbx), %r14
	movl	4(%rbx), %r15d
	movq	_tsc200x_regmap_config@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_regmap_init_spi
	movq	_tsc2005_cmd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_tsc2005_input_id@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tsc200x_probe                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SPI_MODE_0,4,2                 ## @SPI_MODE_0
	.comm	_TSC2005_SPI_MAX_SPEED_HZ,8,3   ## @TSC2005_SPI_MAX_SPEED_HZ
	.comm	_tsc2005_input_id,4,2           ## @tsc2005_input_id
	.comm	_tsc200x_regmap_config,4,2      ## @tsc200x_regmap_config
	.comm	_tsc2005_cmd,4,2                ## @tsc2005_cmd
	.no_dead_strip	_tsc2005_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsc2005_probe
_tsc2005_probe:                         ; @tsc2005_probe
	.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	x19, x0
Lloh0:
	adrp	x8, _SPI_MODE_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPI_MODE_0@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	mov	w8, #8
	str	w8, [x0]
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _TSC2005_SPI_MAX_SPEED_HZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TSC2005_SPI_MAX_SPEED_HZ@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_2:
	mov	x0, x19
	bl	_spi_setup
	cbz	w0, LBB0_4
; %bb.3:
	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
LBB0_4:
	add	x20, x19, #8
	ldr	w21, [x19, #4]
Lloh6:
	adrp	x1, _tsc200x_regmap_config@GOTPAGE
Lloh7:
	ldr	x1, [x1, _tsc200x_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_spi
	mov	x3, x0
Lloh8:
	adrp	x8, _tsc2005_cmd@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tsc2005_cmd@GOTPAGEOFF]
Lloh10:
	adrp	x2, _tsc2005_input_id@GOTPAGE
Lloh11:
	ldr	x2, [x2, _tsc2005_input_id@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x21
	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
	b	_tsc200x_probe
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SPI_MODE_0,4,2                 ; @SPI_MODE_0
	.comm	_TSC2005_SPI_MAX_SPEED_HZ,8,3   ; @TSC2005_SPI_MAX_SPEED_HZ
	.comm	_tsc2005_input_id,4,2           ; @tsc2005_input_id
	.comm	_tsc200x_regmap_config,4,2      ; @tsc200x_regmap_config
	.comm	_tsc2005_cmd,4,2                ; @tsc2005_cmd
	.no_dead_strip	_tsc2005_probe
.subsections_via_symbols
