	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_ulog_tfr_init               ## -- Begin function dm_ulog_tfr_init
	.p2align	4, 0x90
_dm_ulog_tfr_init:                      ## @dm_ulog_tfr_init
	.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
	movq	_receiving_list@GOTPCREL(%rip), %rdi
	callq	_INIT_LIST_HEAD
	movq	_DM_ULOG_PREALLOCED_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_prealloced_cn_msg@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	addq	$4, %rax
	movq	_prealloced_ulog_tfr@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_cn_ulog_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ulog_cn_id@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_cn_add_callback
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	movq	(%r14), %rdi
	callq	_kfree
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_receiving_list,4,2             ## @receiving_list
	.comm	_DM_ULOG_PREALLOCED_SIZE,4,2    ## @DM_ULOG_PREALLOCED_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_prealloced_cn_msg,8,3          ## @prealloced_cn_msg
	.comm	_prealloced_ulog_tfr,8,3        ## @prealloced_ulog_tfr
	.comm	_ulog_cn_id,4,2                 ## @ulog_cn_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dmlogusr"

	.comm	_cn_ulog_callback,4,2           ## @cn_ulog_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_ulog_tfr_init               ; -- Begin function dm_ulog_tfr_init
	.p2align	2
_dm_ulog_tfr_init:                      ; @dm_ulog_tfr_init
	.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
Lloh0:
	adrp	x0, _receiving_list@GOTPAGE
Lloh1:
	ldr	x0, [x0, _receiving_list@GOTPAGEOFF]
	bl	_INIT_LIST_HEAD
Lloh2:
	adrp	x8, _DM_ULOG_PREALLOCED_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DM_ULOG_PREALLOCED_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
Lloh8:
	adrp	x20, _prealloced_cn_msg@GOTPAGE
Lloh9:
	ldr	x20, [x20, _prealloced_cn_msg@GOTPAGEOFF]
	str	x0, [x20]
	add	x8, x0, #4
Lloh10:
	adrp	x9, _prealloced_ulog_tfr@GOTPAGE
Lloh11:
	ldr	x9, [x9, _prealloced_ulog_tfr@GOTPAGEOFF]
Lloh12:
	str	x8, [x9]
Lloh13:
	adrp	x8, _cn_ulog_callback@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cn_ulog_callback@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x0, _ulog_cn_id@GOTPAGE
Lloh17:
	ldr	x0, [x0, _ulog_cn_id@GOTPAGEOFF]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_cn_add_callback
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x0, [x20]
	bl	_kfree
	b	LBB0_4
LBB0_3:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w19, w8
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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_receiving_list,4,2             ; @receiving_list
	.comm	_DM_ULOG_PREALLOCED_SIZE,4,2    ; @DM_ULOG_PREALLOCED_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_prealloced_cn_msg,8,3          ; @prealloced_cn_msg
	.comm	_prealloced_ulog_tfr,8,3        ; @prealloced_ulog_tfr
	.comm	_ulog_cn_id,4,2                 ; @ulog_cn_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dmlogusr"

	.comm	_cn_ulog_callback,4,2           ; @cn_ulog_callback
.subsections_via_symbols
