	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_msgbuf_process_flow_ring_create_response
_brcmf_msgbuf_process_flow_ring_create_response: ## @brcmf_msgbuf_process_flow_ring_create_response
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movl	4(%rsi), %edi
	callq	_le16_to_cpu
	movq	%rax, %r12
	movq	_BRCMF_H2D_MSGRING_FLOWRING_IDSTART@GOTPCREL(%rip), %rax
	subq	(%rax), %r12
	movl	(%rbx), %edi
	callq	_le16_to_cpu
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_bphy_err
	movq	%r14, %rdi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_msgbuf_remove_flowring   ## TAILCALL
LBB0_2:
	movq	_MSGBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_brcmf_dbg
	movl	(%r14), %edi
	movq	%r12, %rsi
	callq	_brcmf_flowring_open
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_msgbuf_schedule_txdata   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_H2D_MSGRING_FLOWRING_IDSTART,8,3 ## @BRCMF_H2D_MSGRING_FLOWRING_IDSTART
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Flowring creation failed, code %d\n"

	.comm	_MSGBUF,4,2                     ## @MSGBUF
L_.str.1:                               ## @.str.1
	.asciz	"Flowring %d Create response status %d\n"

	.no_dead_strip	_brcmf_msgbuf_process_flow_ring_create_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_msgbuf_process_flow_ring_create_response
_brcmf_msgbuf_process_flow_ring_create_response: ; @brcmf_msgbuf_process_flow_ring_create_response
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	w0, [x1, #4]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _BRCMF_H2D_MSGRING_FLOWRING_IDSTART@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRCMF_H2D_MSGRING_FLOWRING_IDSTART@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x20, x0, x8
	ldr	w0, [x22]
	bl	_le16_to_cpu
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_bphy_err
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_brcmf_msgbuf_remove_flowring
LBB0_2:
Lloh5:
	adrp	x8, _MSGBUF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSGBUF@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	mov	x3, #0
	bl	_brcmf_dbg
	ldr	w0, [x19]
	mov	x1, x20
	bl	_brcmf_flowring_open
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_brcmf_msgbuf_schedule_txdata
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_H2D_MSGRING_FLOWRING_IDSTART,8,3 ; @BRCMF_H2D_MSGRING_FLOWRING_IDSTART
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Flowring creation failed, code %d\n"

	.comm	_MSGBUF,4,2                     ; @MSGBUF
l_.str.1:                               ; @.str.1
	.asciz	"Flowring %d Create response status %d\n"

	.no_dead_strip	_brcmf_msgbuf_process_flow_ring_create_response
.subsections_via_symbols
