	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_net_p2p_attach
_brcmf_net_p2p_attach:                  ## @brcmf_net_p2p_attach
	.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	%rdi, %rbx
	movq	(%rdi), %rdx
	movq	8(%rdi), %r15
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	24(%rbx), %r12
	movq	_brcmf_netdev_ops_p2p@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	movl	12(%r12), %edi
	movl	16(%rbx), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	%r12, %rdi
	callq	_register_netdev
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_bphy_err
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rcx,%rax,8)
	movq	$0, (%r12)
	movq	_EBADE@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_3
LBB0_2:
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	8(%r12), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRACE,4,2                      ## @TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter, bsscfgidx=%d mac=%pM\n"

	.comm	_brcmf_netdev_ops_p2p,4,2       ## @brcmf_netdev_ops_p2p
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.1:                               ## @.str.1
	.asciz	"couldn't register the p2p net device\n"

	.comm	_INFO,4,2                       ## @INFO
L_.str.2:                               ## @.str.2
	.asciz	"%s: Broadcom Dongle Host Driver\n"

	.comm	_EBADE,4,2                      ## @EBADE
	.no_dead_strip	_brcmf_net_p2p_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_net_p2p_attach
_brcmf_net_p2p_attach:                  ; @brcmf_net_p2p_attach
	.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, x0
Lloh0:
	adrp	x8, _TRACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRACE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x2, x20, [x19]
	ldr	w8, [x19, #16]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	x21, [x19, #24]
Lloh5:
	adrp	x8, _brcmf_netdev_ops_p2p@GOTPAGE
Lloh6:
	ldr	x8, [x8, _brcmf_netdev_ops_p2p@GOTPAGEOFF]
	str	x8, [x21]
	ldr	w0, [x21, #12]
	ldr	w1, [x19, #16]
Lloh7:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x21
	bl	_register_netdev
	cbz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_bphy_err
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	str	xzr, [x8, x9, lsl #3]
	str	xzr, [x21]
Lloh12:
	adrp	x8, _EBADE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EBADE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x8, _INFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldrsw	x2, [x21, #8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_brcmf_dbg
	mov	w0, #0
LBB0_3:
	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 AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter, bsscfgidx=%d mac=%pM\n"

	.comm	_brcmf_netdev_ops_p2p,4,2       ; @brcmf_netdev_ops_p2p
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.1:                               ; @.str.1
	.asciz	"couldn't register the p2p net device\n"

	.comm	_INFO,4,2                       ; @INFO
l_.str.2:                               ; @.str.2
	.asciz	"%s: Broadcom Dongle Host Driver\n"

	.comm	_EBADE,4,2                      ; @EBADE
	.no_dead_strip	_brcmf_net_p2p_attach
.subsections_via_symbols
