	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlcore_probe_of
_wlcore_probe_of:                       ## @wlcore_probe_of
	.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	%rdx, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_wlcore_spi_of_match_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_of_match_node
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rax
	movq	%rax, 16(%r12)
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_info
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_of_find_property
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, (%r12)
LBB0_4:
	leaq	8(%r12), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_property_read_u32
	addq	$4, %r12
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_of_property_read_u32
	jmp	LBB0_5
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wlcore_spi_of_match_table,4,2  ## @wlcore_spi_of_match_table
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"selected chip family is %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"clock-xtal"

L_.str.2:                               ## @.str.2
	.asciz	"ref-clock-frequency"

L_.str.3:                               ## @.str.3
	.asciz	"tcxo-clock-frequency"

	.no_dead_strip	_wlcore_probe_of
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlcore_probe_of
_wlcore_probe_of:                       ; @wlcore_probe_of
	.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	x20, x2
	mov	x21, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _wlcore_spi_of_match_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wlcore_spi_of_match_table@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_node
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
	str	x8, [x20, #16]
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_info
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_of_find_property
	cbz	x0, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x20]
LBB0_3:
	add	x2, x20, #8
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_of_property_read_u32
	add	x2, x20, #4
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_of_property_read_u32
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_wlcore_spi_of_match_table,4,2  ; @wlcore_spi_of_match_table
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"selected chip family is %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"clock-xtal"

l_.str.2:                               ; @.str.2
	.asciz	"ref-clock-frequency"

l_.str.3:                               ; @.str.3
	.asciz	"tcxo-clock-frequency"

	.no_dead_strip	_wlcore_probe_of
.subsections_via_symbols
