	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_command
_send_command:                          ## @send_command
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_strlen
	movq	%rax, %r15
	xorl	%edi, %edi
	cmpq	$-11, %rax
	setae	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	8(%r13), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	leaq	11(%r15), %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_kmalloc
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	8(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_5:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	addq	$9, %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	leal	-1(%rbx), %eax
	movq	%r15, %rdx
	movq	%r12, %rsi
	cmpl	$65534, %eax                    ## imm = 0xFFFE
	ja	LBB0_8
## %bb.6:
	movq	%r15, %rdx
	movq	%r12, %rsi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rax
	imulq	$1717986919, %rax, %rbx         ## imm = 0x66666667
	movq	%rbx, %rcx
	shrq	$63, %rcx
	sarq	$34, %rbx
	addl	%ecx, %ebx
	leal	(%rbx,%rbx), %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%eax, %edi
	subl	%ecx, %edi
	addb	$48, %dil
	movb	%dil, -1(%rsi)
	decq	%rsi
	incq	%rdx
	addl	$9, %eax
	cmpl	$18, %eax
	ja	LBB0_7
LBB0_8:
	movw	$21569, -2(%rsi)                ## imm = 0x5441
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.10:
	addq	$6, %rdx
	movw	$10256, -4(%rsi)                ## imm = 0x2810
	addq	$-4, %rsi
	movw	$10512, (%r12,%r15)             ## imm = 0x2910
	jmp	LBB0_11
LBB0_9:
	addq	$2, %rdx
	addq	$-2, %rsi
LBB0_11:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%r13), %rax
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	callq	*(%rax)
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"integer overflow in buflen\n"

L_.str.1:                               ## @.str.1
	.asciz	"out of memory\n"

	.no_dead_strip	_send_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_command
_send_command:                          ; @send_command
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x25, x1
	mov	x19, x0
	mov	x0, x1
	bl	_strlen
	mov	x22, x0
	cmn	x0, #12
	cset	w0, hi
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	add	x0, x22, #11
	mov	x1, x20
	bl	_kmalloc
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dev_err
LBB0_5:
	add	x24, x20, #9
	mov	x0, x24
	mov	x1, x25
	mov	x2, x22
	bl	_memcpy
	sub	w8, w23, #1
	mov	w9, #65534
	cmp	w8, w9
	b.hi	LBB0_8
; %bb.6:
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mov	w11, #10
	mov	x9, x22
	mov	x8, x24
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	smull	x12, w23, w10
	lsr	x13, x12, #63
	asr	x12, x12, #34
	add	w12, w12, w13
	msub	w13, w12, w11, w23
	add	w13, w13, #48
	strb	w13, [x8, #-1]!
	add	x9, x9, #1
	add	w13, w23, #9
	mov	x23, x12
	cmp	w13, #18
	b.hi	LBB0_7
	b	LBB0_9
LBB0_8:
	mov	x9, x22
	mov	x8, x24
LBB0_9:
	mov	w10, #21569
	mov	x1, x8
	strh	w10, [x1, #-2]!
	cbz	w21, LBB0_11
; %bb.10:
	add	x10, x24, x22
	add	x2, x9, #6
	mov	w9, #10256
	strh	w9, [x8, #-4]!
	mov	w9, #10512
	strh	w9, [x10]
	mov	x1, x8
	b	LBB0_12
LBB0_11:
	add	x2, x9, #2
LBB0_12:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x3, #0
	blr	x8
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"integer overflow in buflen\n"

l_.str.1:                               ; @.str.1
	.asciz	"out of memory\n"

	.no_dead_strip	_send_command
.subsections_via_symbols
