	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function br_mdb_rehash
_br_mdb_rehash:                         ## @br_mdb_rehash
	.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	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %r12
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$40, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movl	%ebx, (%rax)
	movq	%r12, 32(%rax)
	shll	$3, %ebx
	leal	(%rbx,%rbx,4), %edi
	movl	(%r15), %esi
	callq	_kzalloc
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	testq	%r12, %r12
	je	LBB0_5
## %bb.6:
	movl	28(%r12), %eax
	movl	%eax, 28(%r13)
	movl	4(%r12), %eax
	xorl	$1, %eax
	movl	%eax, 4(%r13)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.8:
	leaq	24(%r13), %rdi
	movl	$4, %esi
	callq	_get_random_bytes
	jmp	LBB0_9
LBB0_3:
	movq	%r13, %rdi
	callq	_kfree
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_5:
	movl	$0, 28(%r13)
	movl	$0, 4(%r13)
	movq	%r13, %rdi
	addq	$24, %rdi
	movl	$4, %esi
	callq	_get_random_bytes
	jmp	LBB0_12
LBB0_7:
	movl	24(%r12), %eax
	movl	%eax, 24(%r13)
LBB0_9:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_br_mdb_copy
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	movq	16(%r13), %rdi
	callq	_kfree
	movq	%r13, %rdi
	callq	_kfree
	jmp	LBB0_13
LBB0_11:
	movq	%r13, %rdi
	addq	$8, %rdi
	movq	_br_mdb_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_call_rcu_bh
LBB0_12:
	movq	(%r14), %rdi
	movq	%r13, %rsi
	callq	_rcu_assign_pointer
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_br_mdb_free,4,2                ## @br_mdb_free
	.no_dead_strip	_br_mdb_rehash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function br_mdb_rehash
_br_mdb_rehash:                         ; @br_mdb_rehash
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x24, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	w0, #40
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	str	w23, [x0]
	str	x22, [x0, #32]
	add	w8, w23, w23, lsl #2
	lsl	w0, w8, #3
	ldr	w1, [x24]
	bl	_kzalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.2:
	cbz	x22, LBB0_7
; %bb.3:
	ldr	w8, [x22, #28]
	str	w8, [x19, #28]
	ldr	w8, [x22, #4]
	eor	w8, w8, #0x1
	str	w8, [x19, #4]
	cbz	w21, LBB0_8
; %bb.4:
	add	x0, x19, #24
	mov	w1, #4
	bl	_get_random_bytes
	b	LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_kfree
LBB0_6:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_7:
	str	wzr, [x19, #28]
	str	wzr, [x19, #4]
	add	x0, x19, #24
	mov	w1, #4
	bl	_get_random_bytes
	b	LBB0_12
LBB0_8:
	ldr	w8, [x22, #24]
	str	w8, [x19, #24]
LBB0_9:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_br_mdb_copy
	cbz	w0, LBB0_11
; %bb.10:
	mov	x21, x0
	ldr	x0, [x19, #16]
	bl	_kfree
	mov	x0, x19
	bl	_kfree
	b	LBB0_13
LBB0_11:
	add	x0, x19, #8
Lloh5:
	adrp	x8, _br_mdb_free@GOTPAGE
Lloh6:
	ldr	x8, [x8, _br_mdb_free@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_call_rcu_bh
LBB0_12:
	ldr	x0, [x20]
	mov	x1, x19
	bl	_rcu_assign_pointer
	mov	w21, #0
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_br_mdb_free,4,2                ; @br_mdb_free
	.no_dead_strip	_br_mdb_rehash
.subsections_via_symbols
