	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cec_pin_adap_transmit
_cec_pin_adap_transmit:                 ## @cec_pin_adap_transmit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_CEC_ST_IDLE@GOTPCREL(%rip), %rcx
	movq	_CEC_SIGNAL_FREE_TIME_NEW_INITIATOR@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	%rdx, %rsi
	cmovgeq	%rdx, %rsi
	cmpq	(%rcx), %rax
	cmoveq	%rdx, %rsi
	movq	%rsi, 40(%rbx)
	movq	$0, 32(%rbx)
	movl	(%r14), %eax
	movl	%eax, 24(%rbx)
	cmpl	$2, (%r14)
	jl	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_tx_add_bytes
	movq	%rax, 32(%rbx)
	cmpl	$3, (%r14)
	jl	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_tx_remove_byte
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	decl	24(%rbx)
LBB0_4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	%rbx, %rdi
	callq	_cec_pin_start_timer
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CEC_ST_IDLE,8,3                ## @CEC_ST_IDLE
	.comm	_CEC_SIGNAL_FREE_TIME_NEW_INITIATOR,8,3 ## @CEC_SIGNAL_FREE_TIME_NEW_INITIATOR
	.no_dead_strip	_cec_pin_adap_transmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cec_pin_adap_transmit
_cec_pin_adap_transmit:                 ; @cec_pin_adap_transmit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CEC_ST_IDLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CEC_ST_IDLE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _CEC_SIGNAL_FREE_TIME_NEW_INITIATOR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CEC_SIGNAL_FREE_TIME_NEW_INITIATOR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
	cmp	x10, x2
	csel	x10, x10, x2, lt
	cmp	x8, x9
	csel	x8, x2, x10, eq
	stp	xzr, x8, [x19, #32]
	ldr	w8, [x3]
	str	w8, [x19, #24]
	ldr	w8, [x3]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
	mov	x20, x3
	mov	x0, x19
	bl	_tx_add_bytes
	str	x0, [x19, #32]
	ldr	w8, [x20]
	cmp	w8, #3
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_tx_remove_byte
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x19, #24]
	sub	w8, w8, #1
	str	w8, [x19, #24]
LBB0_4:
	stp	xzr, xzr, [x19, #8]
	mov	x0, x19
	bl	_cec_pin_start_timer
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CEC_ST_IDLE,8,3                ; @CEC_ST_IDLE
	.comm	_CEC_SIGNAL_FREE_TIME_NEW_INITIATOR,8,3 ; @CEC_SIGNAL_FREE_TIME_NEW_INITIATOR
	.no_dead_strip	_cec_pin_adap_transmit
.subsections_via_symbols
