	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c4_send_config
_c4_send_config:                        ## @c4_send_config
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$1, %esi
	callq	_queue_sendconfigword
	testl	%eax, %eax
	jne	LBB0_16
## %bb.1:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_queue_sendconfigword
	testl	%eax, %eax
	je	LBB0_2
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%r14), %r12
	movl	(%r14), %ebx
	cmpl	$4, %ebx
	jb	LBB0_10
## %bb.3:
	leaq	-80(%rbp), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%r14)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$32, %edx
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_8
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$32, %edx
	callq	_memcpy
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_queue_sendconfig
	testl	%eax, %eax
	jne	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	addl	$-32, %ebx
	addq	$32, %r12
	cmpl	$3, %ebx
	ja	LBB0_4
LBB0_10:
	testl	%ebx, %ebx
	je	LBB0_15
## %bb.11:
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	cmpq	$0, 16(%r14)
	je	LBB0_13
## %bb.12:
	leaq	-80(%rbp), %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_14
LBB0_6:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_16
LBB0_13:
	leaq	-80(%rbp), %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
LBB0_14:
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	callq	_queue_sendconfig
	testl	%eax, %eax
	jne	LBB0_16
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_c4_send_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c4_send_config
_c4_send_config:                        ; @c4_send_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	w1, #1
	bl	_queue_sendconfigword
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_queue_sendconfigword
	cbz	w0, LBB0_4
LBB0_2:
	ldr	x8, [sp, #40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	ldr	x22, [x20, #8]
	ldr	w21, [x20]
	cmp	w21, #4
	b.lo	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x22
	mov	w2, #32
	bl	_copy_from_user
	cbz	x0, LBB0_8
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x22
	mov	w2, #32
	bl	_memcpy
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_queue_sendconfig
	cbnz	w0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w21, w21, #32
	add	x22, x22, #32
	cmp	w21, #3
	b.hi	LBB0_5
LBB0_10:
	cbz	w21, LBB0_16
; %bb.11:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_14
; %bb.12:
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x21
	bl	_copy_from_user
	cbz	x0, LBB0_15
LBB0_13:
Lloh6:
	adrp	x8, _EFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_2
LBB0_14:
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
LBB0_15:
	add	x1, sp, #8
	mov	x0, x19
	bl	_queue_sendconfig
	cbnz	w0, LBB0_2
LBB0_16:
	mov	w0, #0
	b	LBB0_2
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_c4_send_config
.subsections_via_symbols
