	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cc_send_cct
_cc_send_cct:                           ## @cc_send_cct
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	8(%rax), %r13
	movl	(%rdi), %edi
	callq	_OSM_LOG_ENTER
	movb	$1, -41(%rbp)                   ## 1-byte Folded Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%r14)
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	setne	-41(%rbp)                       ## 1-byte Folded Spill
LBB0_2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r13)
	je	LBB0_10
## %bb.3:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movl	(%r13), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jae	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rdi
	addq	%r12, %rdi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r13), %esi
	movl	20(%r13), %edi
	movq	_MAD_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_osm_mad_pool_get
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_osm_madw_get_cc_mad_ptr
	movq	%rax, %rdi
	callq	_ib_cc_mad_get_mgt_data_ptr
	movq	8(%r13), %rsi
	addq	%r12, %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	_IB_MAD_ATTR_CC_TBL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_cl_hton32
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, %r8d
	movl	%eax, %r9d
	callq	_cc_mad_post
	jmp	LBB0_9
LBB0_10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_OSM_LOG_EXIT
	movq	_IB_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_OSM_LOG
	movq	_IB_INSUFFICIENT_MEMORY@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAD_BLOCK_SIZE,4,2             ## @MAD_BLOCK_SIZE
	.comm	_OSM_LOG_ERROR,4,2              ## @OSM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERR C103: failed to allocate mad\n"

	.comm	_IB_INSUFFICIENT_MEMORY,4,2     ## @IB_INSUFFICIENT_MEMORY
	.comm	_IB_MAD_ATTR_CC_TBL,4,2         ## @IB_MAD_ATTR_CC_TBL
	.comm	_IB_SUCCESS,4,2                 ## @IB_SUCCESS
	.no_dead_strip	_cc_send_cct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cc_send_cct
_cc_send_cct:                           ; @cc_send_cct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8, #8]
	ldr	w0, [x0]
	bl	_OSM_LOG_ENTER
	ldr	x8, [x20, #8]
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x8, LBB0_2
; %bb.1:
	mov	w26, #1
	ldr	w8, [x22]
	cbnz	w8, LBB0_3
	b	LBB0_9
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w26, ne
	ldr	w8, [x22]
	cbz	w8, LBB0_9
LBB0_3:
	mov	x27, #0
	mov	x23, #0
Lloh0:
	adrp	x28, _MAD_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MAD_BLOCK_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x19, _IB_MAD_ATTR_CC_TBL@GOTPAGE
Lloh3:
	ldr	x19, [x19, _IB_MAD_ATTR_CC_TBL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldr	w8, [x22]
	add	x27, x27, #4
	cmp	x23, x8
	b.hs	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	tbnz	w26, #0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, #8]
	add	x0, x8, x27
	ldr	x8, [x20]
	add	x1, x8, x27
	mov	w2, #4
	bl	_memcmp
	cbz	w0, LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	w1, w0, [x22, #16]
	ldr	w2, [x28]
	mov	x3, #0
	bl	_osm_mad_pool_get
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x0
	bl	_osm_madw_get_cc_mad_ptr
	bl	_ib_cc_mad_get_mgt_data_ptr
	ldr	x8, [x22, #8]
	add	x1, x8, x27
	mov	w2, #4
	bl	_memcpy
	ldr	w25, [x19]
	mov	x0, x23
	bl	_cl_hton32
	mov	x5, x0
	mov	x0, x22
	mov	x1, x24
	mov	x2, x21
	mov	x3, x20
	mov	x4, x25
	bl	_cc_mad_post
	b	LBB0_4
LBB0_9:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_OSM_LOG_EXIT
Lloh4:
	adrp	x8, _IB_SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IB_SUCCESS@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	bl	_OSM_LOG
Lloh11:
	adrp	x8, _IB_INSUFFICIENT_MEMORY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_INSUFFICIENT_MEMORY@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAD_BLOCK_SIZE,4,2             ; @MAD_BLOCK_SIZE
	.comm	_OSM_LOG_ERROR,4,2              ; @OSM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERR C103: failed to allocate mad\n"

	.comm	_IB_INSUFFICIENT_MEMORY,4,2     ; @IB_INSUFFICIENT_MEMORY
	.comm	_IB_MAD_ATTR_CC_TBL,4,2         ; @IB_MAD_ATTR_CC_TBL
	.comm	_IB_SUCCESS,4,2                 ; @IB_SUCCESS
	.no_dead_strip	_cc_send_cct
.subsections_via_symbols
