	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cbcp_SendResponse
_cbcp_SendResponse:                     ## @cbcp_SendResponse
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_LogCBCP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	32(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %r15d
	movl	24(%rdi), %edi
	movl	28(%rbx), %r12d
	callq	_cbcpstate
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_log_Printf
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)
	movl	8(%rbx), %ecx
	movl	%ecx, -36(%rbp)
	movq	_CBCP_NONUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$20, -40(%rbp)
LBB0_2:
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_cbcp_data_Show
	movq	_CBCP_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_cbcp_Output
	decl	12(%rbx)
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_cbcp_StartTimer
	movq	_CBCP_RESPSENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cbcp_NewPhase
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogCBCP,4,2                    ## @LogCBCP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: SendResponse(%d) state = %s\n"

	.comm	_CBCP_NONUM,8,3                 ## @CBCP_NONUM
	.comm	_CBCP_ADDR_PSTN,4,2             ## @CBCP_ADDR_PSTN
	.comm	_CBCP_RESPONSE,4,2              ## @CBCP_RESPONSE
	.comm	_CBCP_RESPSENT,4,2              ## @CBCP_RESPSENT
	.no_dead_strip	_cbcp_SendResponse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cbcp_SendResponse
_cbcp_SendResponse:                     ; @cbcp_SendResponse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _LogCBCP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LogCBCP@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x8, [x0, #32]
	ldr	x8, [x8]
	ldr	w21, [x8]
	ldp	w0, w22, [x0, #24]
	bl	_cbcpstate
	mov	x4, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	bl	_log_Printf
	ldr	x8, [x19]
	str	x8, [sp, #8]
	ldr	w9, [x19, #8]
	str	w9, [sp, #28]
Lloh5:
	adrp	x9, _CBCP_NONUM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CBCP_NONUM@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #20
	str	w8, [sp, #24]
LBB0_2:
	add	x0, sp, #8
	bl	_cbcp_data_Show
Lloh8:
	adrp	x8, _CBCP_RESPONSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CBCP_RESPONSE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_cbcp_Output
	ldp	w1, w8, [x19, #8]
	sub	w8, w8, #1
	str	w8, [x19, #12]
	mov	x0, x19
	bl	_cbcp_StartTimer
Lloh11:
	adrp	x8, _CBCP_RESPSENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CBCP_RESPSENT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cbcp_NewPhase
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LogCBCP,4,2                    ; @LogCBCP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: SendResponse(%d) state = %s\n"

	.comm	_CBCP_NONUM,8,3                 ; @CBCP_NONUM
	.comm	_CBCP_ADDR_PSTN,4,2             ; @CBCP_ADDR_PSTN
	.comm	_CBCP_RESPONSE,4,2              ; @CBCP_RESPONSE
	.comm	_CBCP_RESPSENT,4,2              ; @CBCP_RESPSENT
	.no_dead_strip	_cbcp_SendResponse
.subsections_via_symbols
