	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isns_req_add                   ## -- Begin function isns_req_add
	.p2align	4, 0x90
_isns_req_add:                          ## @isns_req_add
	.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
	movl	%edx, %r12d
	movl	%edx, %eax
	andl	$3, %eax
	movl	$4, %ebx
	subl	%eax, %ebx
	testl	%eax, %eax
	cmovel	%eax, %ebx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	leal	(%rbx,%r12), %eax
	cltq
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	16(%rax), %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_isns_req_getspace
	movq	(%r14), %r13
	movq	8(%r14), %r15
	movl	12(%r15,%r13,4), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_be32enc
	movl	8(%r15,%r13,4), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_be32enc
	movq	(%r15,%r13,4), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcpy
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movslq	%r12d, %rdi
	shlq	$2, %rdi
	addq	(%r15,%r13,4), %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
LBB0_2:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, (%r14)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isns_req_add                   ; -- Begin function isns_req_add
	.p2align	2
_isns_req_add:                          ; @isns_req_add
	.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	x23, x3
	mov	x20, x2
	mov	x24, x1
	mov	x19, x0
	ands	w8, w2, #0x3
	mov	w9, #4
	sub	w8, w9, w8
	tst	w2, #0x3
	csel	w22, wzr, w8, eq
	add	w25, w22, w2
	sxtw	x8, w25
	add	x21, x8, #16
	mov	x1, x21
	bl	_isns_req_getspace
	ldp	x9, x8, [x19]
	add	x26, x8, x9, lsl #2
	ldr	w0, [x26, #12]
	mov	x1, x24
	bl	_be32enc
	ldr	w0, [x26, #8]
	mov	x1, x25
	bl	_be32enc
	ldr	x0, [x26]
	mov	x1, x23
	mov	x2, x20
	bl	_memcpy
	cbz	w22, LBB0_2
; %bb.1:
	ldr	x8, [x26]
	add	x0, x8, w20, sxtw #2
	mov	w1, #0
	mov	x2, x22
	bl	_memset
LBB0_2:
	ldr	x8, [x19]
	add	x8, x8, x21
	str	x8, [x19]
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
