	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netlbl_secattr_catmap_walk     ## -- Begin function netlbl_secattr_catmap_walk
	.p2align	4, 0x90
_netlbl_secattr_catmap_walk:            ## @netlbl_secattr_catmap_walk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	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_20
## %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	8(%rdi), %rdx
	movq	(%rdx,%rax,8), %rdx
	sarq	%cl, %rdx
	testl	%edx, %edx
	jne	LBB0_16
## %bb.10:
	movq	_NETLBL_CATMAP_MAPCNT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%rdi), %rdx
	movq	(%rdx,%rax,8), %rdx
	testl	%edx, %edx
	jne	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	incq	%rax
	cmpq	%rcx, %rax
	jl	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_13
LBB0_20:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_21
LBB0_15:
	xorl	%ecx, %ecx
LBB0_16:
	movq	_NETLBL_CATMAP_BIT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%edx, %esi
	jne	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	sarl	%edx
	incq	%rcx
	testl	%edx, %esi
	je	LBB0_17
LBB0_19:
	movq	_NETLBL_CATMAP_MAPSIZE@GOTPCREL(%rip), %rdx
	imull	(%rdx), %eax
	addl	(%rdi), %ecx
	addl	%eax, %ecx
LBB0_21:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.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,4,2          ## @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     ; -- Begin function netlbl_secattr_catmap_walk
	.p2align	2
_netlbl_secattr_catmap_walk:            ; @netlbl_secattr_catmap_walk
	.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_17
; %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:
	ldr	x11, [x0, #8]
	ldr	x11, [x11, x9, lsl #3]
	asr	x11, x11, x10
	cbnz	w11, LBB0_14
; %bb.8:
Lloh5:
	adrp	x10, _NETLBL_CATMAP_MAPCNT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _NETLBL_CATMAP_MAPCNT@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x11, [x0, #8]
	ldr	x11, [x11, x9, lsl #3]
	cbnz	w11, LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x9, #1
	cmp	x9, x10
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x9, #0
	b	LBB0_9
LBB0_13:
	mov	x10, #0
                                        ; kill: def $w11 killed $w11 killed $x11 def $x11
LBB0_14:
Lloh8:
	adrp	x12, _NETLBL_CATMAP_BIT@GOTPAGE
Lloh9:
	ldr	x12, [x12, _NETLBL_CATMAP_BIT@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x12]
	tst	w12, w11
	b.ne	LBB0_16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	asr	w11, w11, #1
	add	x10, x10, #1
	tst	w12, w11
	b.eq	LBB0_15
LBB0_16:
	ldr	w11, [x0]
	ldr	w8, [x8]
	add	w10, w11, w10
	madd	w0, w8, w9, w10
	ret
LBB0_17:
Lloh11:
	adrp	x8, _ENOENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.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,4,2          ; @NETLBL_CATMAP_BIT
	.comm	_NETLBL_CATMAP_MAPCNT,8,3       ; @NETLBL_CATMAP_MAPCNT
.subsections_via_symbols
