	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_get_nents
_hash_get_nents:                        ## @hash_get_nents
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	xorl	%r12d, %r12d
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	xorl	%r12d, %r12d
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_HASH_DMA_ALIGN_SIZE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	subl	%edi, %r15d
	testq	%r14, %r14
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rdi
	movl	(%r13), %esi
	callq	_IS_ALIGNED
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rdi
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %esi
	callq	_IS_ALIGNED
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%r15d, %r15d
	jle	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_sg_next
	incl	%r12d
	testl	%r15d, %r15d
	jle	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_13
LBB0_1:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_13:
	testq	%r14, %r14
	je	LBB0_15
LBB0_14:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
LBB0_15:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	testl	%r15d, %r15d
	cmovel	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%r14, %r14
	jne	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_DMA_ALIGN_SIZE,4,2        ## @HASH_DMA_ALIGN_SIZE
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_hash_get_nents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hash_get_nents
_hash_get_nents:                        ; @hash_get_nents
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x1
	mov	w22, #0
	mov	w23, #1
	cmp	w1, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x21, x0
	cbz	x0, LBB0_9
; %bb.2:
	mov	w22, #0
	mov	w23, #1
Lloh0:
	adrp	x24, _HASH_DMA_ALIGN_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HASH_DMA_ALIGN_SIZE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w23, #0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_sg_next
	mov	x21, x0
	add	w22, w22, #1
	cmp	w19, #1
	ccmp	x0, #0, #4, ge
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	sub	w19, w19, w0
	cbz	x20, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x21, #8]
	ldr	w1, [x24]
	bl	_IS_ALIGNED
	cbz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x21]
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x24]
	bl	_IS_ALIGNED
	cmp	w0, #0
	ccmp	w19, #1, #8, eq
	b.ge	LBB0_3
	b	LBB0_4
LBB0_9:
	cbz	x20, LBB0_11
; %bb.10:
	str	w23, [x20]
LBB0_11:
Lloh2:
	adrp	x8, _EFAULT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w19, #0
	csneg	w0, w22, w8, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_DMA_ALIGN_SIZE,4,2        ; @HASH_DMA_ALIGN_SIZE
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_hash_get_nents
.subsections_via_symbols
