	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_get_module_param         ## -- Begin function brcmf_get_module_param
	.p2align	4, 0x90
_brcmf_get_module_param:                ## @brcmf_get_module_param
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movq	%r13, %rcx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	_brcmf_p2p_enable@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	setne	%cl
	movl	%ecx, (%r14)
	movq	_brcmf_feature_disable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_brcmf_fcmode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_brcmf_roamoff@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	setne	%cl
	movl	%ecx, 4(%r14)
	movq	_brcmf_iapp_enable@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	setne	%cl
	movl	%ecx, 8(%r14)
	movq	_BRCMF_BUSTYPE_SDIO@GOTPCREL(%rip), %rdx
	cmpl	%ebx, (%rdx)
	jne	LBB0_3
## %bb.2:
	movq	_brcmf_sdiod_txglomsz@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
LBB0_3:
	movq	_brcmfmac_pdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.4:
	movl	(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.5:
	movq	8(%rcx), %r15
	addq	$24, %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$32, %r15
	decq	%rax
	je	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, -24(%r15)
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r13, -16(%r15)
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-8(%r15), %rcx
	cmpq	%r12, %rcx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$-1, %rcx
	jne	LBB0_12
LBB0_10:
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	movq	%rdx, %rbx
	callq	_brcmf_dbg
	movl	4(%r15), %eax
	movl	%eax, 20(%r14)
	movl	-24(%r15), %eax
	cmpl	(%rbx), %eax
	jne	LBB0_14
## %bb.11:
	movq	%r14, %rdi
	addq	$16, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	jmp	LBB0_14
LBB0_13:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_brcmf_dmi_probe
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_brcmf_of_probe
LBB0_14:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter, bus=%d, chip=%d, rev=%d\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_brcmf_p2p_enable,4,2           ## @brcmf_p2p_enable
	.comm	_brcmf_feature_disable,4,2      ## @brcmf_feature_disable
	.comm	_brcmf_fcmode,4,2               ## @brcmf_fcmode
	.comm	_brcmf_roamoff,4,2              ## @brcmf_roamoff
	.comm	_brcmf_iapp_enable,4,2          ## @brcmf_iapp_enable
	.comm	_BRCMF_BUSTYPE_SDIO,4,2         ## @BRCMF_BUSTYPE_SDIO
	.comm	_brcmf_sdiod_txglomsz,4,2       ## @brcmf_sdiod_txglomsz
	.comm	_brcmfmac_pdata,8,3             ## @brcmfmac_pdata
L_.str.1:                               ## @.str.1
	.asciz	"Platform data for device found\n"

	.comm	_brcmf_ignore_probe_fail,4,2    ## @brcmf_ignore_probe_fail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_get_module_param         ; -- Begin function brcmf_get_module_param
	.p2align	2
_brcmf_get_module_param:                ; @brcmf_get_module_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _INFO@GOTPAGE
Lloh1:
	ldr	x24, [x24, _INFO@GOTPAGEOFF]
	ldr	w0, [x24]
	stp	x2, x3, [sp, #8]
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
Lloh4:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_13
; %bb.1:
Lloh7:
	adrp	x8, _brcmf_p2p_enable@GOTPAGE
Lloh8:
	ldr	x8, [x8, _brcmf_p2p_enable@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w8, ne
	str	w8, [x19]
Lloh10:
	adrp	x8, _brcmf_feature_disable@GOTPAGE
Lloh11:
	ldr	x8, [x8, _brcmf_feature_disable@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _brcmf_fcmode@GOTPAGE
Lloh14:
	ldr	x9, [x9, _brcmf_fcmode@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh16:
	adrp	x8, _brcmf_roamoff@GOTPAGE
Lloh17:
	ldr	x8, [x8, _brcmf_roamoff@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w8, ne
Lloh19:
	adrp	x9, _brcmf_iapp_enable@GOTPAGE
Lloh20:
	ldr	x9, [x9, _brcmf_iapp_enable@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w9, #0
	cset	w9, ne
	stp	w8, w9, [x19, #4]
Lloh22:
	adrp	x25, _BRCMF_BUSTYPE_SDIO@GOTPAGE
Lloh23:
	ldr	x25, [x25, _BRCMF_BUSTYPE_SDIO@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, w20
	b.ne	LBB0_3
; %bb.2:
Lloh24:
	adrp	x8, _brcmf_sdiod_txglomsz@GOTPAGE
Lloh25:
	ldr	x8, [x8, _brcmf_sdiod_txglomsz@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_3:
Lloh27:
	adrp	x8, _brcmfmac_pdata@GOTPAGE
Lloh28:
	ldr	x8, [x8, _brcmfmac_pdata@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x8]
	cbz	x9, LBB0_12
; %bb.4:
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.5:
	ldr	x26, [x9, #8]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x26, x26, #32
	subs	x8, x8, #1
	b.eq	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x26]
	cmp	w9, w20
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x26, #8]
	cmp	x9, x23
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x26, #16]
	cmp	x9, x22
	ccmn	x9, #1, #4, ne
	b.ne	LBB0_6
; %bb.10:
	ldr	w0, [x24]
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_brcmf_dbg
	ldr	w8, [x26, #28]
	str	w8, [x19, #20]
	ldr	w8, [x26]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.11:
	add	x0, x19, #16
	add	x1, x26, #24
	mov	w2, #4
	bl	_memcpy
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_brcmf_dmi_probe
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_brcmf_of_probe
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter, bus=%d, chip=%d, rev=%d\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_brcmf_p2p_enable,4,2           ; @brcmf_p2p_enable
	.comm	_brcmf_feature_disable,4,2      ; @brcmf_feature_disable
	.comm	_brcmf_fcmode,4,2               ; @brcmf_fcmode
	.comm	_brcmf_roamoff,4,2              ; @brcmf_roamoff
	.comm	_brcmf_iapp_enable,4,2          ; @brcmf_iapp_enable
	.comm	_BRCMF_BUSTYPE_SDIO,4,2         ; @BRCMF_BUSTYPE_SDIO
	.comm	_brcmf_sdiod_txglomsz,4,2       ; @brcmf_sdiod_txglomsz
	.comm	_brcmfmac_pdata,8,3             ; @brcmfmac_pdata
l_.str.1:                               ; @.str.1
	.asciz	"Platform data for device found\n"

	.comm	_brcmf_ignore_probe_fail,4,2    ; @brcmf_ignore_probe_fail
.subsections_via_symbols
