	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btracker_create                ## -- Begin function btracker_create
	.p2align	4, 0x90
_btracker_create:                       ## @btracker_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	%r14d, (%rax)
	leaq	28(%rax), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	24(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	20(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	16(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	addq	$12, %rdi
	callq	_INIT_LIST_HEAD
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_bt_work@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_KMEM_CACHE
	movl	%eax, 4(%rbx)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_DMERR
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_DMERR
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't create background_tracker"

	.comm	_RB_ROOT,4,2                    ## @RB_ROOT
	.comm	_bt_work,4,2                    ## @bt_work
L_.str.1:                               ## @.str.1
	.asciz	"couldn't create mempool for background work items"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btracker_create                ; -- Begin function btracker_create
	.p2align	2
_btracker_create:                       ; @btracker_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
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
	cbz	x0, LBB0_3
; %bb.1:
	str	w20, [x19]
	add	x0, x19, #28
	mov	w1, #0
	bl	_atomic_set
	add	x0, x19, #24
	mov	w1, #0
	bl	_atomic_set
	add	x0, x19, #20
	mov	w1, #0
	bl	_atomic_set
	add	x0, x19, #16
	bl	_INIT_LIST_HEAD
	add	x0, x19, #12
	bl	_INIT_LIST_HEAD
Lloh3:
	adrp	x8, _RB_ROOT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RB_ROOT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh6:
	adrp	x8, _bt_work@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bt_work@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_KMEM_CACHE
	str	w0, [x19, #4]
	cbnz	w0, LBB0_4
; %bb.2:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DMERR
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't create background_tracker"

	.comm	_RB_ROOT,4,2                    ; @RB_ROOT
	.comm	_bt_work,4,2                    ; @bt_work
l_.str.1:                               ; @.str.1
	.asciz	"couldn't create mempool for background work items"

.subsections_via_symbols
