	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_msgbuf_flowring_create
_brcmf_msgbuf_flowring_create:          ## @brcmf_msgbuf_flowring_create
	.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	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	8(%rdx), %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	12(%r15), %edi
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movl	%r12d, %ecx
	callq	_brcmf_flowring_create
	movq	%rax, %r15
	movq	_BRCMF_FLOWRING_INVALID_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	callq	_kfree
	jmp	LBB0_5
LBB0_1:
	movq	_BRCMF_FLOWRING_INVALID_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_5
LBB0_4:
	movq	%r15, 16(%r13)
	movl	%r12d, (%r13)
	movl	12(%r13), %edi
	movl	4(%r14), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_memcpy
	movl	8(%r13), %edi
	movl	(%r14), %esi
	movl	(%rbx), %edx
	callq	_memcpy
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	addq	$4, %r13
	leaq	8(%rbx), %rsi
	movq	%r13, %rdi
	callq	_list_add_tail
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_schedule_work
LBB0_5:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_BRCMF_FLOWRING_INVALID_ID,8,3  ## @BRCMF_FLOWRING_INVALID_ID
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_brcmf_msgbuf_flowring_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_msgbuf_flowring_create
_brcmf_msgbuf_flowring_create:          ; @brcmf_msgbuf_flowring_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x23, [x2, #8]
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w0, [x19, #12]
	ldr	w1, [x23]
	ldr	w2, [x20]
	mov	x3, x22
	bl	_brcmf_flowring_create
	mov	x20, x0
Lloh3:
	adrp	x8, _BRCMF_FLOWRING_INVALID_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRCMF_FLOWRING_INVALID_ID@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_kfree
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _BRCMF_FLOWRING_INVALID_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BRCMF_FLOWRING_INVALID_ID@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	b	LBB0_5
LBB0_4:
	str	x20, [x21, #16]
	str	w22, [x21]
	ldr	w0, [x21, #12]
	ldr	w1, [x23, #4]
Lloh9:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_memcpy
	ldr	w0, [x21, #8]
	ldr	w1, [x23]
	ldr	w2, [x22]
	bl	_memcpy
	add	x22, x19, #4
	mov	x0, x22
	bl	_spin_lock_irqsave
	add	x0, x21, #4
	add	x1, x19, #8
	bl	_list_add_tail
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_schedule_work
LBB0_5:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_BRCMF_FLOWRING_INVALID_ID,8,3  ; @BRCMF_FLOWRING_INVALID_ID
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_brcmf_msgbuf_flowring_create
.subsections_via_symbols
