	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_setup_tc_block_flower_bind
_mlxsw_sp_setup_tc_block_flower_bind:   ## @mlxsw_sp_setup_tc_block_flower_bind
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movl	8(%rsi), %edi
	movq	_mlxsw_sp_setup_tc_block_cb_flower@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_flow_block_cb_lookup
	movq	%rax, %r13
	testq	%rax, %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.6:
	movq	%r12, %rbx
	movq	%r13, %rdi
	callq	_flow_block_cb_priv
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %r12
LBB0_7:
	movq	%r12, %rdi
	callq	_flow_block_cb_incref
	movl	(%rbx), %r8d
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_mlxsw_sp_acl_block_bind
	testl	%eax, %eax
	je	LBB0_8
## %bb.10:
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_flow_block_cb_decref
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_flow_block_cb_free
	jmp	LBB0_12
LBB0_1:
	movl	4(%r12), %esi
	movq	%r15, %rdi
	callq	_mlxsw_sp_acl_block_create
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r12, %rbx
	movq	_mlxsw_sp_setup_tc_block_cb_flower@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_mlxsw_sp_tc_block_flower_release@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rsi
	movq	%rax, %rdx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_flow_block_cb_alloc
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_mlxsw_sp_acl_block_destroy
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_8:
	xorl	%eax, %eax
	testl	%r14d, %r14d
	setne	%al
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%r13,%rax,8)
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_12
## %bb.9:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	callq	_flow_block_cb_add
	movq	_mlxsw_sp_block_cb_list@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_list_add_tail
	jmp	LBB0_12
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_mlxsw_sp_setup_tc_block_cb_flower,4,2 ## @mlxsw_sp_setup_tc_block_cb_flower
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mlxsw_sp_tc_block_flower_release,4,2 ## @mlxsw_sp_tc_block_flower_release
	.comm	_mlxsw_sp_block_cb_list,4,2     ## @mlxsw_sp_block_cb_list
	.no_dead_strip	_mlxsw_sp_setup_tc_block_flower_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_setup_tc_block_flower_bind
_mlxsw_sp_setup_tc_block_flower_bind:   ; @mlxsw_sp_setup_tc_block_flower_bind
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #16]
	ldr	w0, [x1, #8]
Lloh0:
	adrp	x24, _mlxsw_sp_setup_tc_block_cb_flower@GOTPAGE
Lloh1:
	ldr	x24, [x24, _mlxsw_sp_setup_tc_block_cb_flower@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x2, x23
	bl	_flow_block_cb_lookup
	mov	x22, x0
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x22
	bl	_flow_block_cb_priv
	mov	x25, x0
	mov	x24, x22
LBB0_2:
	mov	x0, x24
	bl	_flow_block_cb_incref
	ldr	w4, [x19]
	mov	x0, x23
	mov	x1, x25
	mov	x2, x20
	mov	x3, x21
	bl	_mlxsw_sp_acl_block_bind
	cbz	w0, LBB0_8
; %bb.3:
	mov	x23, x0
	mov	x0, x24
	bl	_flow_block_cb_decref
	cbnz	w0, LBB0_12
; %bb.4:
	mov	x0, x24
	bl	_flow_block_cb_free
	b	LBB0_12
LBB0_5:
	ldr	w1, [x19, #4]
	mov	x0, x23
	bl	_mlxsw_sp_acl_block_create
	cbz	x0, LBB0_11
; %bb.6:
	mov	x25, x0
	ldr	w0, [x24]
Lloh2:
	adrp	x8, _mlxsw_sp_tc_block_flower_release@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mlxsw_sp_tc_block_flower_release@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x1, x23
	mov	x2, x25
	bl	_flow_block_cb_alloc
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.7:
	mov	x0, x25
	bl	_mlxsw_sp_acl_block_destroy
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_8:
	cmp	w21, #0
	cset	w8, ne
	str	x25, [x20, w8, uxtw #3]
	cbnz	x22, LBB0_10
; %bb.9:
	mov	x0, x24
	mov	x1, x19
	bl	_flow_block_cb_add
Lloh5:
	adrp	x1, _mlxsw_sp_block_cb_list@GOTPAGE
Lloh6:
	ldr	x1, [x1, _mlxsw_sp_block_cb_list@GOTPAGEOFF]
	mov	x0, x24
	bl	_list_add_tail
LBB0_10:
	mov	w23, #0
	b	LBB0_12
LBB0_11:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_12:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_mlxsw_sp_setup_tc_block_cb_flower,4,2 ; @mlxsw_sp_setup_tc_block_cb_flower
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mlxsw_sp_tc_block_flower_release,4,2 ; @mlxsw_sp_tc_block_flower_release
	.comm	_mlxsw_sp_block_cb_list,4,2     ; @mlxsw_sp_block_cb_list
	.no_dead_strip	_mlxsw_sp_setup_tc_block_flower_bind
.subsections_via_symbols
