	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocelot_setup_tc_block_flower_bind ## -- Begin function ocelot_setup_tc_block_flower_bind
	.p2align	4, 0x90
_ocelot_setup_tc_block_flower_bind:     ## @ocelot_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_3:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	12(%rsi), %edi
	movq	_ocelot_setup_tc_block_cb_flower@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdx
	callq	_flow_block_cb_lookup
	testq	%rax, %rax
	je	LBB0_4
## %bb.9:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_flow_block_cb_priv
LBB0_10:
	movq	%rbx, %rdi
	callq	_flow_block_cb_incref
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, %rdi
	callq	_ocelot_port_block_create
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r12
	movl	(%r13), %edi
	movq	_ocelot_tc_block_unbind@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_flow_block_cb_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_ocelot_port_block_destroy
	movl	%ebx, %eax
	jmp	LBB0_11
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_flow_block_cb_add
	movl	8(%r14), %esi
	movq	%rbx, %rdi
	callq	_list_add_tail
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS,8,3 ## @FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ocelot_setup_tc_block_cb_flower,4,2 ## @ocelot_setup_tc_block_cb_flower
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ocelot_tc_block_unbind,4,2     ## @ocelot_tc_block_unbind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocelot_setup_tc_block_flower_bind ; -- Begin function ocelot_setup_tc_block_flower_bind
	.p2align	2
_ocelot_setup_tc_block_flower_bind:     ; @ocelot_setup_tc_block_flower_bind
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_3:
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x1, #12]
Lloh5:
	adrp	x23, _ocelot_setup_tc_block_cb_flower@GOTPAGE
Lloh6:
	ldr	x23, [x23, _ocelot_setup_tc_block_cb_flower@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x2, x21
	bl	_flow_block_cb_lookup
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
	bl	_flow_block_cb_priv
LBB0_5:
	mov	x0, x20
	bl	_flow_block_cb_incref
	mov	w0, #0
LBB0_6:
	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
LBB0_7:
	mov	x0, x21
	bl	_ocelot_port_block_create
	cbz	x0, LBB0_10
; %bb.8:
	mov	x22, x0
	ldr	w0, [x23]
Lloh7:
	adrp	x8, _ocelot_tc_block_unbind@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ocelot_tc_block_unbind@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x1, x21
	mov	x2, x22
	bl	_flow_block_cb_alloc
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.9:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x19, x0
	mov	x0, x22
	bl	_ocelot_port_block_destroy
	mov	x0, x19
	b	LBB0_6
LBB0_10:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	bl	_flow_block_cb_add
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_list_add_tail
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS,8,3 ; @FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ocelot_setup_tc_block_cb_flower,4,2 ; @ocelot_setup_tc_block_cb_flower
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ocelot_tc_block_unbind,4,2     ; @ocelot_tc_block_unbind
.subsections_via_symbols
