	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_send_to_channel            ## -- Begin function sec_send_to_channel
	.p2align	4, 0x90
_sec_send_to_channel:                   ## @sec_send_to_channel
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_sec_hdr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_s_pop_layer
	movq	_g_licence_issued@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_g_licence_error_result@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movq	_SEC_ENCRYPT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
LBB0_2:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_out_uint32_le
	movq	_SEC_ENCRYPT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movl	(%r12), %ebx
	movl	4(%r12), %edi
	subl	%edi, %ebx
	addl	$-8, %ebx
	movq	_g_sec_sign_key@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_g_rc4_key_len@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	8(%rdi), %r8d
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$8, %esi
	movl	%ebx, %r9d
	callq	_sec_sign
	movl	4(%r12), %edi
	addl	$8, %edi
	movl	%ebx, %esi
	callq	_sec_encrypt
LBB0_4:
	movq	%r12, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mcs_send_to_channel            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sec_hdr,4,2                    ## @sec_hdr
	.comm	_g_licence_issued,4,2           ## @g_licence_issued
	.comm	_g_licence_error_result,4,2     ## @g_licence_error_result
	.comm	_SEC_ENCRYPT,4,2                ## @SEC_ENCRYPT
	.comm	_g_sec_sign_key,4,2             ## @g_sec_sign_key
	.comm	_g_rc4_key_len,4,2              ## @g_rc4_key_len
	.comm	_SCARD_LOCK_SEC,4,2             ## @SCARD_LOCK_SEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_send_to_channel            ; -- Begin function sec_send_to_channel
	.p2align	2
_sec_send_to_channel:                   ; @sec_send_to_channel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _sec_hdr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sec_hdr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_s_pop_layer
Lloh3:
	adrp	x8, _g_licence_issued@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_licence_issued@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _g_licence_error_result@GOTPAGE
Lloh7:
	ldr	x9, [x9, _g_licence_error_result@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x22, _SEC_ENCRYPT@GOTPAGE
Lloh10:
	ldr	x22, [x22, _SEC_ENCRYPT@GOTPAGEOFF]
	orr	w8, w8, w9
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_4
LBB0_2:
	mov	x0, x20
	mov	x1, x21
	bl	_out_uint32_le
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldp	w8, w0, [x20]
	sub	w8, w8, w0
Lloh11:
	adrp	x9, _g_sec_sign_key@GOTPAGE
Lloh12:
	ldr	x9, [x9, _g_sec_sign_key@GOTPAGEOFF]
	sub	w21, w8, #8
Lloh13:
	ldr	w2, [x9]
Lloh14:
	adrp	x8, _g_rc4_key_len@GOTPAGE
Lloh15:
	ldr	x8, [x8, _g_rc4_key_len@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	add	w4, w0, #8
	mov	w1, #8
	mov	x5, x21
	bl	_sec_sign
	ldr	w8, [x20, #4]
	add	w0, w8, #8
	mov	x1, x21
	bl	_sec_encrypt
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mcs_send_to_channel
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_sec_hdr,4,2                    ; @sec_hdr
	.comm	_g_licence_issued,4,2           ; @g_licence_issued
	.comm	_g_licence_error_result,4,2     ; @g_licence_error_result
	.comm	_SEC_ENCRYPT,4,2                ; @SEC_ENCRYPT
	.comm	_g_sec_sign_key,4,2             ; @g_sec_sign_key
	.comm	_g_rc4_key_len,4,2              ; @g_rc4_key_len
	.comm	_SCARD_LOCK_SEC,4,2             ; @SCARD_LOCK_SEC
.subsections_via_symbols
