	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nd_pfn_alloc
_nd_pfn_alloc:                          ## @nd_pfn_alloc
	.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	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	leaq	8(%r14), %rdi
	movl	(%r15), %ecx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ida_simple_get
	movq	%rax, (%rbx)
	testq	%rax, %rax
	js	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	addq	$8, %rdi
	movl	4(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rcx
	callq	_dev_set_name
	movq	_nd_pfn_attribute_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_nd_pfn_device_type@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	%r14, 8(%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_5:
	xorl	%ebx, %ebx
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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pfn%d.%d"

	.comm	_nd_pfn_attribute_groups,4,2    ## @nd_pfn_attribute_groups
	.comm	_nd_pfn_device_type,4,2         ## @nd_pfn_device_type
	.no_dead_strip	_nd_pfn_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nd_pfn_alloc
_nd_pfn_alloc:                          ; @nd_pfn_alloc
	.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, x0
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #32
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	add	x0, x20, #8
	ldr	w3, [x21]
	mov	w1, #0
	mov	w2, #0
	bl	_ida_simple_get
	str	x0, [x19]
	tbnz	x0, #63, LBB0_3
; %bb.2:
	mov	x3, x0
	add	x0, x19, #8
	ldr	w2, [x20, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_set_name
Lloh4:
	adrp	x8, _nd_pfn_attribute_groups@GOTPAGE
Lloh5:
	ldr	x8, [x8, _nd_pfn_attribute_groups@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh7:
	adrp	x8, _nd_pfn_device_type@GOTPAGE
Lloh8:
	ldr	x8, [x8, _nd_pfn_device_type@GOTPAGEOFF]
	stp	x20, x8, [x19, #8]
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_4:
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pfn%d.%d"

	.comm	_nd_pfn_attribute_groups,4,2    ; @nd_pfn_attribute_groups
	.comm	_nd_pfn_device_type,4,2         ; @nd_pfn_device_type
	.no_dead_strip	_nd_pfn_alloc
.subsections_via_symbols
