	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function secocec_adap_transmit
_secocec_adap_transmit:                 ## @secocec_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	%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	%rcx, %r15
	movl	(%rcx), %ebx
	leal	-1(%rbx), %esi
	movq	_SECOCEC_WRITE_DATA_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_smb_wr16
	testl	%eax, %eax
	je	LBB0_1
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpl	$2, %ebx
	jl	LBB0_8
## %bb.2:
	movq	_SECOCEC_WRITE_OPERATION_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%r15), %rax
	movl	4(%rax), %esi
	callq	_smb_wr16
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	cmpl	$3, %ebx
	jb	LBB0_8
## %bb.4:
	movl	(%r15), %r14d
	cmpl	$3, %r14d
	jl	LBB0_8
## %bb.5:
	addl	$-2, %r14d
	movq	8(%r15), %r12
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r12,%r13,4), %esi
	shll	$8, %esi
	orl	8(%r12,%r13,4), %esi
	movq	_SECOCEC_WRITE_DATA_00@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_smb_wr16
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	addq	$2, %r13
	incq	%rbx
	cmpl	%r13d, %r14d
	jg	LBB0_7
LBB0_8:
	movq	8(%r15), %rax
	movl	(%rax), %esi
	movq	_SECOCEC_WRITE_BYTE0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_smb_wr16
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SECOCEC_WRITE_DATA_LENGTH,8,3  ## @SECOCEC_WRITE_DATA_LENGTH
	.comm	_SECOCEC_WRITE_OPERATION_ID,8,3 ## @SECOCEC_WRITE_OPERATION_ID
	.comm	_SECOCEC_WRITE_DATA_00,8,3      ## @SECOCEC_WRITE_DATA_00
	.comm	_SECOCEC_WRITE_BYTE0,8,3        ## @SECOCEC_WRITE_BYTE0
	.no_dead_strip	_secocec_adap_transmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function secocec_adap_transmit
_secocec_adap_transmit:                 ; @secocec_adap_transmit
	.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
	mov	x19, x3
	ldr	w20, [x3]
	sub	w1, w20, #1
Lloh0:
	adrp	x8, _SECOCEC_WRITE_DATA_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECOCEC_WRITE_DATA_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_smb_wr16
	cbnz	w0, LBB0_9
; %bb.1:
	cmp	w20, #2
	b.lt	LBB0_8
; %bb.2:
Lloh3:
	adrp	x8, _SECOCEC_WRITE_OPERATION_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SECOCEC_WRITE_OPERATION_ID@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
	bl	_smb_wr16
	cbnz	w0, LBB0_9
; %bb.3:
	cmp	w20, #3
	b.lo	LBB0_8
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, #3
	b.lt	LBB0_8
; %bb.5:
	mov	x20, #0
	mov	x21, #0
	sub	w22, w8, #2
	ldr	x23, [x19, #8]
Lloh6:
	adrp	x24, _SECOCEC_WRITE_DATA_00@GOTPAGE
Lloh7:
	ldr	x24, [x24, _SECOCEC_WRITE_DATA_00@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x23, x21, lsl #2
	ldp	w8, w9, [x8, #8]
	orr	w1, w8, w9, lsl #8
	ldr	x8, [x24]
	add	x0, x20, x8
	bl	_smb_wr16
	cbnz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #2
	add	x20, x20, #1
	cmp	w22, w21
	b.gt	LBB0_6
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _SECOCEC_WRITE_BYTE0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SECOCEC_WRITE_BYTE0@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	bl	_smb_wr16
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SECOCEC_WRITE_DATA_LENGTH,8,3  ; @SECOCEC_WRITE_DATA_LENGTH
	.comm	_SECOCEC_WRITE_OPERATION_ID,8,3 ; @SECOCEC_WRITE_OPERATION_ID
	.comm	_SECOCEC_WRITE_DATA_00,8,3      ; @SECOCEC_WRITE_DATA_00
	.comm	_SECOCEC_WRITE_BYTE0,8,3        ; @SECOCEC_WRITE_BYTE0
	.no_dead_strip	_secocec_adap_transmit
.subsections_via_symbols
