	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_mbuftoiov               ## -- Begin function crypto_mbuftoiov
	.p2align	4, 0x90
_crypto_mbuftoiov:                      ## @crypto_mbuftoiov
	.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
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	$0, (%rcx)
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r13
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_3
LBB0_4:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	12(%rbx), %eax
	movl	%eax, 4(%r13,%r14,8)
	movl	8(%rbx), %eax
	movl	%eax, (%r13,%r14,8)
	incq	%r14
	movq	(%rbx), %rbx
	addl	$8, %r15d
	testq	%rbx, %rbx
	je	LBB0_12
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	(%r12), %eax
	cmpq	%rax, %r14
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %r12d
	movl	%r15d, %edi
	movq	%rbx, %rax
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rax
	addl	$8, %edi
	incl	%r12d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_M_CRYPTO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	%rax, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	leal	(,%r14,8), %edx
	movq	%r13, %rdi
	callq	_memcpy
	jmp	LBB0_11
LBB0_1:
	movl	$0, (%r12)
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_3:
	xorl	%r14d, %r14d
LBB0_12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_14
## %bb.13:
	xorl	%edi, %edi
	cmpl	%r14d, (%r12)
	sete	%dil
	movl	%r14d, %esi
	callq	_KASSERT
LBB0_14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movl	%r14d, (%r12)
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_CRYPTO_DATA,4,2              ## @M_CRYPTO_DATA
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_mbuftoiov               ; -- Begin function crypto_mbuftoiov
	.p2align	2
_crypto_mbuftoiov:                      ; @crypto_mbuftoiov
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	str	wzr, [x3]
	ldr	x23, [x1]
	cbz	x23, LBB0_9
; %bb.1:
	cbz	x22, LBB0_10
LBB0_2:
	mov	w25, #0
	mov	x24, #0
Lloh0:
	adrp	x26, _M_CRYPTO_DATA@GOTPAGE
Lloh1:
	ldr	x26, [x26, _M_CRYPTO_DATA@GOTPAGEOFF]
Lloh2:
	adrp	x27, _M_NOWAIT@GOTPAGE
Lloh3:
	ldr	x27, [x27, _M_NOWAIT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	d0, [x22, #8]
	str	d0, [x23, x24, lsl #3]
	add	x24, x24, #1
	ldr	x22, [x22]
	add	w25, w25, #8
	cbz	x22, LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w8, [x19]
	cmp	x24, x8
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x24
	mov	x0, x25
	mov	x8, x22
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x8]
	add	w0, w0, #8
	add	w28, w28, #1
	cbnz	x8, LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26]
	ldr	w2, [x27]
	bl	_malloc
	cbz	x0, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	mov	w8, #1
	str	w8, [x21]
	str	w28, [x19]
	lsl	w2, w24, #3
	ldr	x1, [x20]
	bl	_memcpy
	b	LBB0_3
LBB0_9:
	str	wzr, [x19]
	cbnz	x22, LBB0_2
LBB0_10:
	mov	w24, #0
LBB0_11:
	ldr	w8, [x21]
	cbz	w8, LBB0_13
; %bb.12:
	ldr	w8, [x19]
	cmp	w8, w24
	cset	w0, eq
	mov	w1, w24
	bl	_KASSERT
LBB0_13:
	mov	w0, #0
	str	x23, [x20]
	str	w24, [x19]
	b	LBB0_15
LBB0_14:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
LBB0_15:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_M_CRYPTO_DATA,4,2              ; @M_CRYPTO_DATA
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
