	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function region_head
_region_head:                           ## @region_head
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	cmpq	%rdx, (%rsi)
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rbx
	jmp	LBB0_6
LBB0_2:
	movq	%rdx, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_4:
	movl	24(%r14), %eax
	movl	%eax, 24(%rbx)
	movq	%r15, (%rbx)
	movq	8(%r14), %rax
	movq	%rax, 8(%rbx)
	addl	%r15d, 24(%r14)
	subq	%r15, (%r14)
	leaq	20(%rbx), %rdi
	leaq	20(%r14), %rsi
	callq	_list_add_tail
	cmpq	$0, 8(%rbx)
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	addq	$16, %rdi
	addq	$16, %r14
	movq	%r14, %rsi
	callq	_list_add_tail
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_region_head
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function region_head
_region_head:                           ; @region_head
	.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	x20, x1
	ldr	x8, [x1]
	cmp	x8, x2
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x20
	b	LBB0_6
LBB0_2:
	mov	x21, x2
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kmalloc
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	mov	x19, #0
	b	LBB0_6
LBB0_4:
	ldr	w8, [x20, #24]
	str	w8, [x19, #24]
	str	x21, [x19]
	ldp	x9, x8, [x20]
	str	x8, [x19, #8]
	ldr	w8, [x20, #24]
	add	w8, w8, w21
	str	w8, [x20, #24]
	sub	x8, x9, x21
	str	x8, [x20]
	add	x0, x19, #20
	add	x1, x20, #20
	bl	_list_add_tail
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_6
; %bb.5:
	add	x0, x19, #16
	add	x1, x20, #16
	bl	_list_add_tail
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_region_head
.subsections_via_symbols
