	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fn_new_zone
_fn_new_zone:                           ## @fn_new_zone
	.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
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	testl	%r15d, %r15d
	movl	$1, %eax
	movl	$16, %edi
	cmovel	%eax, %edi
	movl	%edi, (%r14)
	leal	-1(%rdi), %eax
	movl	%eax, 4(%r14)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_fz_hash_alloc
	movl	%eax, 28(%r14)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%r15d, 8(%r14)
	movl	%r15d, %edi
	callq	_inet_make_mask
	movl	%eax, 24(%r14)
	movslq	%r15d, %r12
	cmpl	$33, %r15d
	movl	$32, %eax
	cmovgel	%r15d, %eax
	movq	%r12, %rbx
	shlq	$32, %rbx
	movabsq	$4294967296, %rcx               ## imm = 0x100000000
	movq	%r12, %rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rsi
	addq	%rcx, %rbx
	cmpq	$0, 8(%rsi,%rdx,8)
	leaq	1(%rdx), %rdx
	je	LBB0_5
## %bb.7:
	movq	_fib_hash_lock@GOTPCREL(%rip), %rdi
	callq	_write_lock_bh
	movq	(%r13), %rax
	sarq	$29, %rbx
	movq	(%rax,%rbx), %rcx
	movq	16(%rcx), %rcx
	movq	%rcx, 16(%r14)
	movq	(%rax,%rbx), %rcx
	movq	%r14, 16(%rcx)
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_3:
	movq	%r14, %rdi
	callq	_kfree
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_10:
	movq	_fib_hash_lock@GOTPCREL(%rip), %rdi
	callq	_write_lock_bh
	movq	8(%r13), %rax
	movq	%rax, 16(%r14)
	movq	%r14, 8(%r13)
	movq	(%r13), %rax
LBB0_8:
	movq	%r14, (%rax,%r12,8)
	movq	_fib_hash_genid@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_fib_hash_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock_bh
LBB0_9:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_fib_hash_lock,4,2              ## @fib_hash_lock
	.comm	_fib_hash_genid,4,2             ## @fib_hash_genid
	.no_dead_strip	_fn_new_zone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fn_new_zone
_fn_new_zone:                           ; @fn_new_zone
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
	cmp	w21, #0
	mov	w8, #16
	csinc	w0, w8, wzr, ne
	sub	w8, w0, #1
	stp	w0, w8, [x19]
	bl	_fz_hash_alloc
	str	w0, [x19, #28]
	cbz	w0, LBB0_6
; %bb.2:
	str	w21, [x19, #8]
	mov	x0, x21
	bl	_inet_make_mask
	str	w0, [x19, #24]
	sxtw	x22, w21
	mov	w8, #32
	cmp	w21, #32
	csel	w8, w21, w8, gt
	sbfiz	x21, x21, #32, #32
	mov	x9, #4294967296
	mov	x10, x22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, x10
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x20]
	add	x11, x11, x10, lsl #3
	add	x10, x10, #1
	ldr	x11, [x11, #8]
	add	x21, x21, x9
	cbz	x11, LBB0_3
; %bb.5:
Lloh3:
	adrp	x0, _fib_hash_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _fib_hash_lock@GOTPAGEOFF]
	bl	_write_lock_bh
	ldr	x8, [x20]
	asr	x9, x21, #29
	ldr	x10, [x8, x9]
	ldr	x10, [x10, #16]
	str	x10, [x19, #16]
	ldr	x9, [x8, x9]
	str	x19, [x9, #16]
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
	b	LBB0_9
LBB0_7:
Lloh5:
	adrp	x0, _fib_hash_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _fib_hash_lock@GOTPAGEOFF]
	bl	_write_lock_bh
	ldp	x8, x9, [x20]
	str	x9, [x19, #16]
	str	x19, [x20, #8]
LBB0_8:
	str	x19, [x8, x22, lsl #3]
Lloh7:
	adrp	x8, _fib_hash_genid@GOTPAGE
Lloh8:
	ldr	x8, [x8, _fib_hash_genid@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh9:
	adrp	x0, _fib_hash_lock@GOTPAGE
Lloh10:
	ldr	x0, [x0, _fib_hash_lock@GOTPAGEOFF]
	bl	_write_unlock_bh
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_fib_hash_lock,4,2              ; @fib_hash_lock
	.comm	_fib_hash_genid,4,2             ; @fib_hash_genid
	.no_dead_strip	_fn_new_zone
.subsections_via_symbols
