	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_new_zone
_dn_new_zone:                           ## @dn_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), %rbx
	movl	(%rbx), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	testl	%r15d, %r15d
	movl	$1, %edi
	movl	$16, %r12d
	cmovnel	%r12d, %edi
	movl	$15, %eax
	cmovel	%r15d, %eax
	movl	%edi, (%r14)
	movl	%eax, 4(%r14)
	movl	(%rbx), %edx
	movl	$8, %esi
	callq	_kcalloc
	movl	%eax, 28(%r14)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%r15d, 8(%r14)
	movl	%r15d, %edi
	callq	_dnet_make_mask
	movl	%eax, 24(%r14)
	movslq	%r15d, %rax
	cmpl	$17, %r15d
	cmovgel	%r15d, %r12d
	movq	%rax, %r15
	movq	%rax, %rbx
	shlq	$32, %rbx
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%r15, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %r12
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rdx
	addq	%rax, %rbx
	cmpq	$0, 8(%rdx,%rcx,8)
	leaq	1(%rcx), %rcx
	je	LBB0_5
## %bb.7:
	movq	_dn_fib_tables_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	_dn_fib_tables_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,%r15,8)
	movq	_dn_fib_tables_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	_dn_fib_tables_lock,4,2         ## @dn_fib_tables_lock
	.no_dead_strip	_dn_new_zone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dn_new_zone
lCPI0_0:
	.long	16                              ; 0x10
	.long	15                              ; 0xf
lCPI0_1:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dn_new_zone:                           ; @dn_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	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #32
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
	cmp	w21, #0
	cset	w8, eq
	dup.2s	v0, w8
	shl.2s	v0, v0, #31
	cmlt.2s	v0, v0, #0
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
Lloh4:
	adrp	x8, lCPI0_1@PAGE
Lloh5:
	ldr	d2, [x8, lCPI0_1@PAGEOFF]
	bsl.8b	v0, v2, v1
	str	d0, [x19]
	ldr	w2, [x22]
	fmov	w0, s0
	mov	w1, #8
	bl	_kcalloc
	str	w0, [x19, #28]
	cbz	w0, LBB0_6
; %bb.2:
	str	w21, [x19, #8]
	mov	x0, x21
	bl	_dnet_make_mask
	str	w0, [x19, #24]
	sxtw	x22, w21
	mov	w8, #16
	cmp	w21, #16
	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:
Lloh6:
	adrp	x0, _dn_fib_tables_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _dn_fib_tables_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:
Lloh8:
	adrp	x0, _dn_fib_tables_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _dn_fib_tables_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]
Lloh10:
	adrp	x0, _dn_fib_tables_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _dn_fib_tables_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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_dn_fib_tables_lock,4,2         ; @dn_fib_tables_lock
	.no_dead_strip	_dn_new_zone
.subsections_via_symbols
