	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netlbl_secattr_catmap_walk_rng ## -- Begin function netlbl_secattr_catmap_walk_rng
	.p2align	4, 0x90
_netlbl_secattr_catmap_walk_rng:        ## @netlbl_secattr_catmap_walk_rng
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	cmpq	%rsi, %rax
	jge	LBB0_1
## %bb.2:
	movq	_NETLBL_CATMAP_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rcx,%rax), %rdx
	cmpq	%rsi, %rdx
	jg	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdi), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_6:
	subq	%rax, %rsi
	movq	_NETLBL_CATMAP_MAPSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rsi, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_7
## %bb.8:
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	movq	%rdx, %rcx
	jmp	LBB0_9
LBB0_7:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_9:
	movq	_NETLBL_CATMAP_BIT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rbx
	movq	%rbx, %rdx
	shlq	%cl, %rdx
	movq	_NETLBL_CATMAP_MAPCNT@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r9
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##       Child Loop BB0_13 Depth 3
	movq	%rdi, %r8
	movq	8(%rdi), %r11
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_13 Depth 3
	testl	%edx, %edx
	setne	%r10b
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	(%r11,%rax,4), %edi
	movl	%edi, %esi
	andl	%edx, %esi
	je	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_10 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	addl	%edx, %edx
	incq	%rcx
	testl	%edx, %edx
	setne	%r10b
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=3
	movl	%edx, %esi
	andl	%edi, %esi
	jne	LBB0_13
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	testb	%r10b, %r10b
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=2
	incq	%rax
	movl	$0, %ecx
	movq	%rbx, %rdx
	cmpq	%r9, %rax
	jl	LBB0_11
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%r8), %rdi
	movl	$0, %eax
	movl	$0, %ecx
	movq	%rbx, %rdx
	testq	%rdi, %rdi
	jne	LBB0_10
## %bb.19:
	movl	(%r8), %eax
	movq	_NETLBL_CATMAP_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %eax
	decl	%eax
	jmp	LBB0_20
LBB0_16:
	movq	_NETLBL_CATMAP_MAPSIZE@GOTPCREL(%rip), %rdx
	imull	(%rdx), %eax
	addl	(%r8), %ecx
	addl	%ecx, %eax
	decl	%eax
LBB0_20:
	popq	%rbx
	popq	%rbp
	retq
LBB0_21:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_NETLBL_CATMAP_SIZE,8,3         ## @NETLBL_CATMAP_SIZE
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_NETLBL_CATMAP_MAPSIZE,8,3      ## @NETLBL_CATMAP_MAPSIZE
	.comm	_NETLBL_CATMAP_BIT,8,3          ## @NETLBL_CATMAP_BIT
	.comm	_NETLBL_CATMAP_MAPCNT,8,3       ## @NETLBL_CATMAP_MAPCNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netlbl_secattr_catmap_walk_rng ; -- Begin function netlbl_secattr_catmap_walk_rng
	.p2align	2
_netlbl_secattr_catmap_walk_rng:        ; @netlbl_secattr_catmap_walk_rng
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _NETLBL_CATMAP_MAPSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETLBL_CATMAP_MAPSIZE@GOTPAGEOFF]
	cmp	x9, x1
	b.ge	LBB0_5
; %bb.1:
Lloh2:
	adrp	x10, _NETLBL_CATMAP_SIZE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _NETLBL_CATMAP_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x10, x9
	cmp	x11, x1
	b.gt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x0]
	b	LBB0_2
LBB0_5:
	mov	x9, #0
	mov	x10, #0
	b	LBB0_7
LBB0_6:
	sub	x10, x1, x9
	ldr	x11, [x8]
	sdiv	x9, x10, x11
	msub	x10, x9, x11, x10
LBB0_7:
Lloh5:
	adrp	x11, _NETLBL_CATMAP_BIT@GOTPAGE
Lloh6:
	ldr	x11, [x11, _NETLBL_CATMAP_BIT@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	lsl	x15, x11, x10
Lloh8:
	adrp	x12, _NETLBL_CATMAP_MAPCNT@GOTPAGE
Lloh9:
	ldr	x12, [x12, _NETLBL_CATMAP_MAPCNT@GOTPAGEOFF]
Lloh10:
	ldr	x12, [x12]
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
	mov	x13, x0
	ldr	x14, [x0, #8]
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
	cmp	w15, #0
	cset	w16, ne
	cbz	w15, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w17, [x14, x9, lsl #2]
	and	w0, w17, w15
	cbz	w0, LBB0_13
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	lsl	w15, w15, #1
	add	x10, x10, #1
	cmp	w15, #0
	cset	w16, ne
	cbz	w15, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=3
	and	w0, w15, w17
	cbnz	w0, LBB0_11
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=2
	cbnz	w16, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x10, #0
	add	x9, x9, #1
	mov	x15, x11
	cmp	x9, x12
	b.lt	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, #0
	mov	x10, #0
	ldr	x0, [x13, #16]
	mov	x15, x11
	cbnz	x0, LBB0_8
; %bb.16:
	ldr	w8, [x13]
Lloh11:
	adrp	x9, _NETLBL_CATMAP_SIZE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NETLBL_CATMAP_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	add	w8, w9, w8
	sub	w0, w8, #1
	ret
LBB0_17:
	ldr	w11, [x13]
	ldr	w8, [x8]
	add	w10, w11, w10
	madd	w8, w8, w9, w10
	sub	w0, w8, #1
	ret
LBB0_18:
Lloh14:
	adrp	x8, _ENOENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NETLBL_CATMAP_SIZE,8,3         ; @NETLBL_CATMAP_SIZE
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_NETLBL_CATMAP_MAPSIZE,8,3      ; @NETLBL_CATMAP_MAPSIZE
	.comm	_NETLBL_CATMAP_BIT,8,3          ; @NETLBL_CATMAP_BIT
	.comm	_NETLBL_CATMAP_MAPCNT,8,3       ; @NETLBL_CATMAP_MAPCNT
.subsections_via_symbols
