	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_mark_object_kidx          ## -- Begin function ipfw_mark_object_kidx
	.p2align	4, 0x90
_ipfw_mark_object_kidx:                 ## @ipfw_mark_object_kidx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rcx
	movq	_IPFW_TLV_TBL_NAME@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	%rsi, (%rdx)
	jne	LBB0_2
## %bb.1:
	xorl	%edx, %edx
	jmp	LBB0_3
LBB0_2:
	movq	_IPFW_TABLES_MAX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	leal	31(%rdx), %esi
	testl	%edx, %edx
	cmovnsl	%edx, %esi
	sarl	$5, %esi
	movslq	%esi, %rdx
LBB0_3:
	leaq	31(%rcx), %rsi
	testq	%rcx, %rcx
	cmovnsq	%rcx, %rsi
	sarq	$5, %rsi
	addq	%rsi, %rdx
	shll	$5, %esi
	subl	%esi, %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %esi
	movq	(%rdi,%rdx,8), %rcx
	movslq	%esi, %rsi
	testq	%rsi, %rcx
	je	LBB0_5
## %bb.4:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
	orq	%rsi, %rcx
	movq	%rcx, (%rdi,%rdx,8)
	movl	$1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPFW_TLV_TBL_NAME,8,3          ## @IPFW_TLV_TBL_NAME
	.comm	_IPFW_TABLES_MAX,4,2            ## @IPFW_TABLES_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_mark_object_kidx          ; -- Begin function ipfw_mark_object_kidx
	.p2align	2
_ipfw_mark_object_kidx:                 ; @ipfw_mark_object_kidx
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IPFW_TLV_TBL_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPFW_TLV_TBL_NAME@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
	mov	x8, #0
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _IPFW_TABLES_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPFW_TABLES_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w9, w8, #31
	cmp	w8, #0
	csel	w8, w9, w8, lt
	sbfx	x8, x8, #5, #27
LBB0_3:
	add	x9, x2, #31
	cmp	x2, #0
	csel	x9, x9, x2, lt
	asr	x10, x9, #5
	add	x8, x8, x10
	ldr	x9, [x0, x8, lsl #3]
	sub	w10, w2, w10, lsl #5
	mov	w11, #1
	lsl	w10, w11, w10
	sxtw	x10, w10
	tst	x9, x10
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #0
	ret
LBB0_5:
	orr	x9, x9, x10
	str	x9, [x0, x8, lsl #3]
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IPFW_TLV_TBL_NAME,8,3          ; @IPFW_TLV_TBL_NAME
	.comm	_IPFW_TABLES_MAX,4,2            ; @IPFW_TABLES_MAX
.subsections_via_symbols
