	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_dax_probe                  ## -- Begin function dev_dax_probe
	.p2align	4, 0x90
_dev_dax_probe:                         ## @dev_dax_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, %r13
	callq	_to_dev_dax
	movq	%rax, %r14
	movq	8(%rax), %rbx
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r12d
	movq	%rbx, %rdi
	callq	_resource_size
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_dev_name
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_devm_request_mem_region
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_MEMORY_DEVICE_DEVDAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r14, %rsi
	addq	$4, %rsi
	movl	%eax, 4(%r14)
	movq	%r13, %rdi
	callq	_devm_memremap_pages
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_dev_warn
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_3:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_dax_inode
	movq	(%rax), %r12
	movq	_dax_fops@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_cdev_init
	cmpq	$0, 24(%r13)
	je	LBB0_5
## %bb.4:
	movq	16(%r13), %rax
	movq	(%rax), %rax
	jmp	LBB0_6
LBB0_5:
	movq	8(%r13), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, (%r12)
	leaq	4(%r13), %rsi
	movq	%r12, %rdi
	callq	_cdev_set_parent
	movl	(%r13), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_cdev_add
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_dev_dax_cdev_del@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_devm_add_action_or_reset
	testl	%eax, %eax
	je	LBB0_10
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, %rdi
	callq	_run_dax
	movq	_dev_dax_kill@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_add_action_or_reset       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not reserve region %pR\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_MEMORY_DEVICE_DEVDAX,4,2       ## @MEMORY_DEVICE_DEVDAX
	.comm	_dax_fops,4,2                   ## @dax_fops
	.comm	_dev_dax_cdev_del,4,2           ## @dev_dax_cdev_del
	.comm	_dev_dax_kill,4,2               ## @dev_dax_kill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_dax_probe                  ; -- Begin function dev_dax_probe
	.p2align	2
_dev_dax_probe:                         ; @dev_dax_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	bl	_to_dev_dax
	mov	x20, x0
	ldp	x22, x21, [x0, #8]
	ldr	w23, [x22]
	mov	x0, x22
	bl	_resource_size
	mov	x24, x0
	mov	x0, x19
	bl	_dev_name
	mov	x3, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_devm_request_mem_region
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _MEMORY_DEVICE_DEVDAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEMORY_DEVICE_DEVDAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x1, x20
	str	w8, [x1, #4]!
	mov	x0, x19
	bl	_devm_memremap_pages
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_warn
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_4:
	mov	x0, x21
	bl	_dax_inode
	ldr	x22, [x0]
Lloh8:
	adrp	x1, _dax_fops@GOTPAGE
Lloh9:
	ldr	x1, [x1, _dax_fops@GOTPAGEOFF]
	mov	x0, x22
	bl	_cdev_init
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	b	LBB0_7
LBB0_6:
	ldr	x8, [x19, #8]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x22]
	add	x1, x19, #4
	mov	x0, x22
	bl	_cdev_set_parent
	ldr	w1, [x19]
	mov	x0, x22
	mov	w2, #1
	bl	_cdev_add
	cbnz	w0, LBB0_9
; %bb.8:
Lloh10:
	adrp	x8, _dev_dax_cdev_del@GOTPAGE
Lloh11:
	ldr	x8, [x8, _dev_dax_cdev_del@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_devm_add_action_or_reset
	cbz	w0, LBB0_10
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x21
	bl	_run_dax
Lloh13:
	adrp	x8, _dev_dax_kill@GOTPAGE
Lloh14:
	ldr	x8, [x8, _dev_dax_kill@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_devm_add_action_or_reset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not reserve region %pR\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_MEMORY_DEVICE_DEVDAX,4,2       ; @MEMORY_DEVICE_DEVDAX
	.comm	_dax_fops,4,2                   ; @dax_fops
	.comm	_dev_dax_cdev_del,4,2           ; @dev_dax_cdev_del
	.comm	_dev_dax_kill,4,2               ; @dev_dax_kill
.subsections_via_symbols
