	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmpe_spi_probe
_stmpe_spi_probe:                       ## @stmpe_spi_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_spi_get_device_id
	movl	(%rbx), %ecx
	cmpl	$1000001, %ecx                  ## imm = 0xF4241
	jl	LBB0_2
## %bb.1:
	addq	$4, %rbx
	movl	%ecx, %eax
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	shrq	$38, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movl	8(%rbx), %ecx
	movq	_spi_ci@GOTPCREL(%rip), %rdi
	movl	%ecx, 16(%rdi)
	movq	%rbx, 8(%rdi)
	addq	$4, %rbx
	movq	%rbx, (%rdi)
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_stmpe_probe                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"f(sample) %d KHz?\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_spi_ci,24,3                    ## @spi_ci
	.no_dead_strip	_stmpe_spi_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmpe_spi_probe
_stmpe_spi_probe:                       ; @stmpe_spi_probe
	.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
	bl	_spi_get_device_id
	ldr	w8, [x19]
	mov	w9, #16961
	movk	w9, #15, lsl #16
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	add	x0, x19, #4
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	umull	x8, w8, w9
	lsr	x2, x8, #38
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_dbg
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w9, [x19, #8]
Lloh5:
	adrp	x8, _spi_ci@GOTPAGE
Lloh6:
	ldr	x8, [x8, _spi_ci@GOTPAGEOFF]
	str	w9, [x8, #16]
	add	x9, x19, #4
	stp	x9, x19, [x8]
	ldr	w1, [x0]
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_stmpe_probe
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"f(sample) %d KHz?\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_spi_ci,24,3                    ; @spi_ci
	.no_dead_strip	_stmpe_spi_probe
.subsections_via_symbols
