	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvdimm_bus_probe
_nvdimm_bus_probe:                      ## @nvdimm_bus_probe
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_to_nd_device_driver
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_to_bus_provider
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_walk_to_nvdimm_bus
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_dev_name
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	%r15, %rdi
	callq	_nvdimm_bus_probe_start
	movq	%rbx, %rdi
	callq	_debug_nvdimm_lock
	movq	%rbx, %rdi
	callq	*(%r12)
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_debug_nvdimm_unlock
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r12d, %eax
	jne	LBB0_7
LBB0_4:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	callq	_is_nd_region
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	8(%rbx), %rdi
	callq	_to_nd_region
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_nd_region_advance_seeds
LBB0_7:
	movq	%r15, %rdi
	callq	_nvdimm_bus_probe_end
	movq	(%rbx), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_dev_name
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%eax, %ecx
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_dev_dbg
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_module_put
	movl	%r12d, %ebx
	jmp	LBB0_9
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"START: %s.probe(%s)\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"END: %s.probe(%s) = %d\n"

	.no_dead_strip	_nvdimm_bus_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvdimm_bus_probe
_nvdimm_bus_probe:                      ; @nvdimm_bus_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
	ldr	x0, [x0]
	bl	_to_nd_device_driver
	mov	x22, x0
	mov	x0, x20
	bl	_to_bus_provider
	mov	x19, x0
	mov	x0, x20
	bl	_walk_to_nvdimm_bus
	mov	x21, x0
	mov	x0, x19
	bl	_try_module_get
	cbz	w0, LBB0_8
; %bb.1:
	ldr	x8, [x20]
	ldr	w23, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x3, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x23
	bl	_dev_dbg
	mov	x0, x21
	bl	_nvdimm_bus_probe_start
	mov	x0, x20
	bl	_debug_nvdimm_lock
	ldr	x8, [x22]
	mov	x0, x20
	blr	x8
	mov	x22, x0
	mov	x0, x20
	bl	_debug_nvdimm_unlock
	cbz	w22, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w22, w8
	b.ne	LBB0_6
LBB0_3:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_6
; %bb.4:
	bl	_is_nd_region
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x0, [x20, #8]
	bl	_to_nd_region
	mov	x1, x20
	bl	_nd_region_advance_seeds
LBB0_6:
	mov	x0, x21
	bl	_nvdimm_bus_probe_end
	ldr	x8, [x20]
	ldr	w23, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x3, x0
	str	x22, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x23
	bl	_dev_dbg
	cbz	w22, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_module_put
	b	LBB0_9
LBB0_8:
Lloh7:
	adrp	x8, _ENXIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"START: %s.probe(%s)\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"END: %s.probe(%s) = %d\n"

	.no_dead_strip	_nvdimm_bus_probe
.subsections_via_symbols
