	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i3c_master_pre_assign_dyn_addr
_i3c_master_pre_assign_dyn_addr:        ## @i3c_master_pre_assign_dyn_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_i3c_dev_get_master
	movq	%rax, %r14
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_6
## %bb.2:
	cmpl	$0, 4(%rax)
	je	LBB0_6
## %bb.3:
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_i3c_master_setdasa_locked
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_i3c_master_reattach_i3c_dev
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_i3c_master_retrieve_dev_info
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i3c_master_rstdaa_locked       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_i3c_master_pre_assign_dyn_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i3c_master_pre_assign_dyn_addr
_i3c_master_pre_assign_dyn_addr:        ; @i3c_master_pre_assign_dyn_addr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_i3c_dev_get_master
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w2, [x8]
	cbz	w2, LBB0_4
; %bb.2:
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_4
; %bb.3:
	mov	x20, x0
	ldr	w1, [x19, #12]
	bl	_i3c_master_setdasa_locked
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x19
	mov	w1, #0
	bl	_i3c_master_reattach_i3c_dev
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_i3c_master_retrieve_dev_info
	cbz	w0, LBB0_4
LBB0_7:
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i3c_master_rstdaa_locked
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_i3c_master_pre_assign_dyn_addr
.subsections_via_symbols
