	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_proto_bcdc_attach        ## -- Begin function brcmf_proto_bcdc_attach
	.p2align	4, 0x90
_brcmf_proto_bcdc_attach:               ## @brcmf_proto_bcdc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rax
	addq	$12, %rax
	cmpq	%rax, (%rbx)
	jne	LBB0_2
## %bb.5:
	movq	_brcmf_proto_bcdc_hdrpull@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%r14), %rax
	movl	%ecx, 60(%rax)
	movq	_brcmf_proto_bcdc_query_dcmd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%rax)
	movq	_brcmf_proto_bcdc_set_dcmd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 52(%rax)
	movq	_brcmf_proto_bcdc_tx_queue_data@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rax)
	movq	_brcmf_proto_bcdc_txdata@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rax)
	movq	_brcmf_proto_bcdc_configure_addr_mode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rax)
	movq	_brcmf_proto_bcdc_delete_peer@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rax)
	movq	_brcmf_proto_bcdc_add_tdls_peer@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	_brcmf_proto_bcdc_rxreorder@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movq	_brcmf_proto_bcdc_add_if@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_brcmf_proto_bcdc_del_if@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_brcmf_proto_bcdc_reset_if@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_brcmf_proto_bcdc_init_done@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_brcmf_proto_bcdc_debugfs_create@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	%rbx, (%rax)
	movq	_BCDC_HEADER_LEN@GOTPCREL(%rip), %rax
	movq	_BRCMF_PROT_FW_SIGNAL_MAX_TXBYTES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	(%rax), %ecx
	addl	%ecx, 8(%r14)
	movq	_BRCMF_DCMD_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$4, %rax
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_bphy_err
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"struct brcmf_proto_bcdc is not correctly defined\n"

	.comm	_brcmf_proto_bcdc_hdrpull,4,2   ## @brcmf_proto_bcdc_hdrpull
	.comm	_brcmf_proto_bcdc_query_dcmd,4,2 ## @brcmf_proto_bcdc_query_dcmd
	.comm	_brcmf_proto_bcdc_set_dcmd,4,2  ## @brcmf_proto_bcdc_set_dcmd
	.comm	_brcmf_proto_bcdc_tx_queue_data,4,2 ## @brcmf_proto_bcdc_tx_queue_data
	.comm	_brcmf_proto_bcdc_txdata,4,2    ## @brcmf_proto_bcdc_txdata
	.comm	_brcmf_proto_bcdc_configure_addr_mode,4,2 ## @brcmf_proto_bcdc_configure_addr_mode
	.comm	_brcmf_proto_bcdc_delete_peer,4,2 ## @brcmf_proto_bcdc_delete_peer
	.comm	_brcmf_proto_bcdc_add_tdls_peer,4,2 ## @brcmf_proto_bcdc_add_tdls_peer
	.comm	_brcmf_proto_bcdc_rxreorder,4,2 ## @brcmf_proto_bcdc_rxreorder
	.comm	_brcmf_proto_bcdc_add_if,4,2    ## @brcmf_proto_bcdc_add_if
	.comm	_brcmf_proto_bcdc_del_if,4,2    ## @brcmf_proto_bcdc_del_if
	.comm	_brcmf_proto_bcdc_reset_if,4,2  ## @brcmf_proto_bcdc_reset_if
	.comm	_brcmf_proto_bcdc_init_done,4,2 ## @brcmf_proto_bcdc_init_done
	.comm	_brcmf_proto_bcdc_debugfs_create,4,2 ## @brcmf_proto_bcdc_debugfs_create
	.comm	_BCDC_HEADER_LEN,8,3            ## @BCDC_HEADER_LEN
	.comm	_BRCMF_PROT_FW_SIGNAL_MAX_TXBYTES,8,3 ## @BRCMF_PROT_FW_SIGNAL_MAX_TXBYTES
	.comm	_BRCMF_DCMD_MAXLEN,8,3          ## @BRCMF_DCMD_MAXLEN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_proto_bcdc_attach        ; -- Begin function brcmf_proto_bcdc_attach
	.p2align	2
_brcmf_proto_bcdc_attach:               ; @brcmf_proto_bcdc_attach
	.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
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.1:
	mov	x8, x20
	ldr	x9, [x8], #12
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
Lloh3:
	adrp	x8, _brcmf_proto_bcdc_hdrpull@GOTPAGE
Lloh4:
	ldr	x8, [x8, _brcmf_proto_bcdc_hdrpull@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x19, #16]
Lloh6:
	adrp	x10, _brcmf_proto_bcdc_query_dcmd@GOTPAGE
Lloh7:
	ldr	x10, [x10, _brcmf_proto_bcdc_query_dcmd@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #56]
Lloh9:
	adrp	x8, _brcmf_proto_bcdc_set_dcmd@GOTPAGE
Lloh10:
	ldr	x8, [x8, _brcmf_proto_bcdc_set_dcmd@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x10, _brcmf_proto_bcdc_tx_queue_data@GOTPAGE
Lloh13:
	ldr	x10, [x10, _brcmf_proto_bcdc_tx_queue_data@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #48]
Lloh15:
	adrp	x8, _brcmf_proto_bcdc_txdata@GOTPAGE
Lloh16:
	ldr	x8, [x8, _brcmf_proto_bcdc_txdata@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x10, _brcmf_proto_bcdc_configure_addr_mode@GOTPAGE
Lloh19:
	ldr	x10, [x10, _brcmf_proto_bcdc_configure_addr_mode@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _brcmf_proto_bcdc_delete_peer@GOTPAGE
Lloh22:
	ldr	x11, [x11, _brcmf_proto_bcdc_delete_peer@GOTPAGEOFF]
	stp	w10, w8, [x9, #40]
Lloh23:
	ldr	w8, [x11]
Lloh24:
	adrp	x10, _brcmf_proto_bcdc_add_tdls_peer@GOTPAGE
Lloh25:
	ldr	x10, [x10, _brcmf_proto_bcdc_add_tdls_peer@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #32]
Lloh27:
	adrp	x8, _brcmf_proto_bcdc_rxreorder@GOTPAGE
Lloh28:
	ldr	x8, [x8, _brcmf_proto_bcdc_rxreorder@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x10, _brcmf_proto_bcdc_add_if@GOTPAGE
Lloh31:
	ldr	x10, [x10, _brcmf_proto_bcdc_add_if@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #24]
Lloh33:
	adrp	x8, _brcmf_proto_bcdc_del_if@GOTPAGE
Lloh34:
	ldr	x8, [x8, _brcmf_proto_bcdc_del_if@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x10, _brcmf_proto_bcdc_reset_if@GOTPAGE
Lloh37:
	ldr	x10, [x10, _brcmf_proto_bcdc_reset_if@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
Lloh39:
	adrp	x11, _brcmf_proto_bcdc_init_done@GOTPAGE
Lloh40:
	ldr	x11, [x11, _brcmf_proto_bcdc_init_done@GOTPAGEOFF]
	stp	w10, w8, [x9, #16]
Lloh41:
	ldr	w8, [x11]
Lloh42:
	adrp	x10, _brcmf_proto_bcdc_debugfs_create@GOTPAGE
Lloh43:
	ldr	x10, [x10, _brcmf_proto_bcdc_debugfs_create@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #8]
	str	x20, [x9]
Lloh45:
	adrp	x8, _BCDC_HEADER_LEN@GOTPAGE
Lloh46:
	ldr	x8, [x8, _BCDC_HEADER_LEN@GOTPAGEOFF]
Lloh47:
	adrp	x9, _BRCMF_PROT_FW_SIGNAL_MAX_TXBYTES@GOTPAGE
Lloh48:
	ldr	x9, [x9, _BRCMF_PROT_FW_SIGNAL_MAX_TXBYTES@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	ldr	w9, [x9]
	ldr	w10, [x19, #8]
	add	w8, w9, w8
	add	w8, w10, w8
	str	w8, [x19, #8]
Lloh51:
	adrp	x8, _BRCMF_DCMD_MAXLEN@GOTPAGE
Lloh52:
	ldr	x8, [x8, _BRCMF_DCMD_MAXLEN@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	add	x8, x8, #4
	ldr	x9, [x19]
	str	x8, [x9]
	b	LBB0_5
LBB0_3:
Lloh54:
	adrp	x1, l_.str@PAGE
Lloh55:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_bphy_err
LBB0_4:
	mov	x0, x20
	bl	_kfree
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh49
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"struct brcmf_proto_bcdc is not correctly defined\n"

	.comm	_brcmf_proto_bcdc_hdrpull,4,2   ; @brcmf_proto_bcdc_hdrpull
	.comm	_brcmf_proto_bcdc_query_dcmd,4,2 ; @brcmf_proto_bcdc_query_dcmd
	.comm	_brcmf_proto_bcdc_set_dcmd,4,2  ; @brcmf_proto_bcdc_set_dcmd
	.comm	_brcmf_proto_bcdc_tx_queue_data,4,2 ; @brcmf_proto_bcdc_tx_queue_data
	.comm	_brcmf_proto_bcdc_txdata,4,2    ; @brcmf_proto_bcdc_txdata
	.comm	_brcmf_proto_bcdc_configure_addr_mode,4,2 ; @brcmf_proto_bcdc_configure_addr_mode
	.comm	_brcmf_proto_bcdc_delete_peer,4,2 ; @brcmf_proto_bcdc_delete_peer
	.comm	_brcmf_proto_bcdc_add_tdls_peer,4,2 ; @brcmf_proto_bcdc_add_tdls_peer
	.comm	_brcmf_proto_bcdc_rxreorder,4,2 ; @brcmf_proto_bcdc_rxreorder
	.comm	_brcmf_proto_bcdc_add_if,4,2    ; @brcmf_proto_bcdc_add_if
	.comm	_brcmf_proto_bcdc_del_if,4,2    ; @brcmf_proto_bcdc_del_if
	.comm	_brcmf_proto_bcdc_reset_if,4,2  ; @brcmf_proto_bcdc_reset_if
	.comm	_brcmf_proto_bcdc_init_done,4,2 ; @brcmf_proto_bcdc_init_done
	.comm	_brcmf_proto_bcdc_debugfs_create,4,2 ; @brcmf_proto_bcdc_debugfs_create
	.comm	_BCDC_HEADER_LEN,8,3            ; @BCDC_HEADER_LEN
	.comm	_BRCMF_PROT_FW_SIGNAL_MAX_TXBYTES,8,3 ; @BRCMF_PROT_FW_SIGNAL_MAX_TXBYTES
	.comm	_BRCMF_DCMD_MAXLEN,8,3          ; @BRCMF_DCMD_MAXLEN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
