	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_of_probe                 ## -- Begin function brcmf_of_probe
	.p2align	4, 0x90
_brcmf_of_probe:                        ## @brcmf_of_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	(%rdi), %r12
	leaq	L_.str(%rip), %rdi
	callq	_of_find_node_by_path
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_of_find_property
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_of_prop_next_string
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_of_node_put
LBB0_2:
	testq	%r12, %r12
	je	LBB0_11
## %bb.3:
	movq	_BRCMF_BUSTYPE_SDIO@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_11
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_of_device_is_compatible
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	-40(%rbp), %rax
	movq	%rax, 24(%r14)
LBB0_7:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_of_find_property
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_irq_get_irq_data
	movl	%eax, %edi
	callq	_irqd_get_trigger_type
	movl	$1, 8(%r14)
	movl	%ebx, 12(%r14)
	movq	%rax, 16(%r14)
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str.5(%rip), %rdi
	callq	_brcmf_err
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

L_.str.1:                               ## @.str.1
	.asciz	"compatible"

	.comm	_BRCMF_BUSTYPE_SDIO,4,2         ## @BRCMF_BUSTYPE_SDIO
L_.str.2:                               ## @.str.2
	.asciz	"brcm,bcm4329-fmac"

L_.str.3:                               ## @.str.3
	.asciz	"brcm,drive-strength"

L_.str.4:                               ## @.str.4
	.asciz	"interrupts"

L_.str.5:                               ## @.str.5
	.asciz	"interrupt could not be mapped\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_of_probe                 ; -- Begin function brcmf_of_probe
	.p2align	2
_brcmf_of_probe:                        ; @brcmf_of_probe
	.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, x2
	mov	x21, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_of_find_node_by_path
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, #0
	bl	_of_find_property
	mov	x1, #0
	bl	_of_prop_next_string
	str	w0, [x19]
	mov	x0, x22
	bl	_of_node_put
LBB0_2:
Lloh4:
	adrp	x8, _BRCMF_BUSTYPE_SDIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BRCMF_BUSTYPE_SDIO@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	x20, #0
	ccmp	w8, w21, #0, ne
	b.ne	LBB0_10
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_of_device_is_compatible
	cbz	w0, LBB0_10
; %bb.4:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_of_property_read_u32
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x8, [sp, #8]
	str	x8, [x19, #24]
LBB0_6:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	bl	_of_find_property
	cbz	x0, LBB0_10
; %bb.7:
	mov	x0, x20
	mov	w1, #0
	bl	_irq_of_parse_and_map
	cbz	w0, LBB0_9
; %bb.8:
	mov	x20, x0
	bl	_irq_get_irq_data
	bl	_irqd_get_trigger_type
	mov	w8, #1
	stp	w8, w20, [x19, #8]
	str	x0, [x19, #16]
	b	LBB0_10
LBB0_9:
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_brcmf_err
LBB0_10:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

l_.str.1:                               ; @.str.1
	.asciz	"compatible"

	.comm	_BRCMF_BUSTYPE_SDIO,4,2         ; @BRCMF_BUSTYPE_SDIO
l_.str.2:                               ; @.str.2
	.asciz	"brcm,bcm4329-fmac"

l_.str.3:                               ; @.str.3
	.asciz	"brcm,drive-strength"

l_.str.4:                               ; @.str.4
	.asciz	"interrupts"

l_.str.5:                               ; @.str.5
	.asciz	"interrupt could not be mapped\n"

.subsections_via_symbols
