	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i3c_bus_init
_i3c_bus_init:                          ## @i3c_bus_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	addq	$16, %rdi
	callq	_init_rwsem
	leaq	8(%rbx), %r14
	leaq	12(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	callq	_i3c_bus_init_addrslots
	movq	_I3C_BUS_MODE_PURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_i3c_core_lock@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_i3c_bus_idr@GOTPCREL(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_idr_alloc
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_mutex_unlock
	testl	%r15d, %r15d
	js	LBB0_1
## %bb.2:
	movl	%r15d, (%rbx)
	jmp	LBB0_3
LBB0_1:
	movl	%r15d, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I3C_BUS_MODE_PURE,4,2          ## @I3C_BUS_MODE_PURE
	.comm	_i3c_core_lock,4,2              ## @i3c_core_lock
	.comm	_i3c_bus_idr,4,2                ## @i3c_bus_idr
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_i3c_bus_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i3c_bus_init
_i3c_bus_init:                          ; @i3c_bus_init
	.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	x19, x0
	add	x0, x0, #16
	bl	_init_rwsem
	add	x20, x19, #8
	add	x0, x19, #12
	bl	_INIT_LIST_HEAD
	mov	x0, x20
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	bl	_i3c_bus_init_addrslots
Lloh0:
	adrp	x8, _I3C_BUS_MODE_PURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I3C_BUS_MODE_PURE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #4]
Lloh3:
	adrp	x21, _i3c_core_lock@GOTPAGE
Lloh4:
	ldr	x21, [x21, _i3c_core_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_mutex_lock
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x0, _i3c_bus_idr@GOTPAGE
Lloh9:
	ldr	x0, [x0, _i3c_bus_idr@GOTPAGEOFF]
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	bl	_idr_alloc
	mov	x20, x0
	mov	x0, x21
	bl	_mutex_unlock
	tbnz	w20, #31, LBB0_2
; %bb.1:
	str	w20, [x19]
	mov	w20, #0
LBB0_2:
	mov	x0, x20
	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	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I3C_BUS_MODE_PURE,4,2          ; @I3C_BUS_MODE_PURE
	.comm	_i3c_core_lock,4,2              ; @i3c_core_lock
	.comm	_i3c_bus_idr,4,2                ; @i3c_bus_idr
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_i3c_bus_init
.subsections_via_symbols
