	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___dax_driver_register          ## -- Begin function __dax_driver_register
	.p2align	4, 0x90
___dax_driver_register:                 ## @__dax_driver_register
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, 40(%rbx)
	movq	%r14, 16(%rbx)
	movq	%r14, 24(%rbx)
	movq	_dax_bus_type@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_dax_bus_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_match_always_count@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addl	(%rbx), %ecx
	movl	%ecx, (%rax)
	cmpl	$1, %ecx
	jle	LBB0_1
## %bb.3:
	decl	%ecx
	movl	%ecx, (%rax)
	movl	$1, %edi
	callq	_WARN_ON
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_dax_bus_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.4:
	negl	%r14d
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_dax_bus_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
LBB0_2:
	addq	$16, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_driver_register                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dax_bus_type,4,2               ## @dax_bus_type
	.comm	_dax_bus_lock,4,2               ## @dax_bus_lock
	.comm	_match_always_count,4,2         ## @match_always_count
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___dax_driver_register          ; -- Begin function __dax_driver_register
	.p2align	2
___dax_driver_register:                 ; @__dax_driver_register
	.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, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, x0, #8
	bl	_INIT_LIST_HEAD
	mov	x19, x22
	str	x20, [x19, #16]!
	str	x21, [x22, #40]
Lloh0:
	adrp	x8, _dax_bus_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dax_bus_type@GOTPAGEOFF]
	stp	x20, x8, [x22, #24]
Lloh2:
	adrp	x0, _dax_bus_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _dax_bus_lock@GOTPAGEOFF]
	bl	_mutex_lock
	ldr	w9, [x22]
Lloh4:
	adrp	x8, _match_always_count@GOTPAGE
Lloh5:
	ldr	x8, [x8, _match_always_count@GOTPAGEOFF]
	ldr	w10, [x8]
	add	w9, w10, w9
	str	w9, [x8]
	subs	w9, w9, #1
	b.le	LBB0_3
; %bb.1:
	str	w9, [x8]
	mov	w0, #1
	bl	_WARN_ON
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x0, _dax_bus_lock@GOTPAGE
Lloh10:
	ldr	x0, [x0, _dax_bus_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	cbz	w20, LBB0_4
; %bb.2:
	neg	w0, w20
	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
LBB0_3:
Lloh11:
	adrp	x0, _dax_bus_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _dax_bus_lock@GOTPAGEOFF]
	bl	_mutex_unlock
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
	b	_driver_register
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_dax_bus_type,4,2               ; @dax_bus_type
	.comm	_dax_bus_lock,4,2               ; @dax_bus_lock
	.comm	_match_always_count,4,2         ; @match_always_count
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
