	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i3c_master_get_i3c_addrs
_i3c_master_get_i3c_addrs:              ## @i3c_master_get_i3c_addrs
	.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
	movl	(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_i3c_bus_get_addr_slot_status
	movq	_I3C_ADDR_SLOT_FREE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.2:
	movl	(%rbx), %esi
	movq	_I3C_ADDR_SLOT_I3C_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_i3c_bus_set_addr_slot_status
LBB0_3:
	movl	4(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.4:
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	cmpl	%esi, (%rcx)
	je	LBB0_12
LBB0_6:
	movq	%r14, %rdi
	callq	_i3c_bus_get_addr_slot_status
	movq	_I3C_ADDR_SLOT_FREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, %eax
	jne	LBB0_9
## %bb.7:
	movl	4(%rbx), %esi
	movq	_I3C_ADDR_SLOT_I3C_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_i3c_bus_set_addr_slot_status
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_9:
	movl	(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_i3c_bus_set_addr_slot_status
LBB0_11:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I3C_ADDR_SLOT_FREE,4,2         ## @I3C_ADDR_SLOT_FREE
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_I3C_ADDR_SLOT_I3C_DEV,4,2      ## @I3C_ADDR_SLOT_I3C_DEV
	.no_dead_strip	_i3c_master_get_i3c_addrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i3c_master_get_i3c_addrs
_i3c_master_get_i3c_addrs:              ; @i3c_master_get_i3c_addrs
	.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	x20, x0
	bl	_i3c_dev_get_master
	mov	x19, x0
	ldr	w1, [x20]
	cbz	w1, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_i3c_bus_get_addr_slot_status
Lloh0:
	adrp	x8, _I3C_ADDR_SLOT_FREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I3C_ADDR_SLOT_FREE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.2:
	ldr	w1, [x20]
Lloh3:
	adrp	x8, _I3C_ADDR_SLOT_I3C_DEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I3C_ADDR_SLOT_I3C_DEV@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_i3c_bus_set_addr_slot_status
LBB0_3:
	ldr	w1, [x20, #4]
	cbz	w1, LBB0_8
; %bb.4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w8, [x8]
	cmp	w8, w1
	b.eq	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_i3c_bus_get_addr_slot_status
Lloh6:
	adrp	x8, _I3C_ADDR_SLOT_FREE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I3C_ADDR_SLOT_FREE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	cmp	w0, w2
	b.ne	LBB0_9
; %bb.7:
	ldr	w1, [x20, #4]
Lloh9:
	adrp	x8, _I3C_ADDR_SLOT_I3C_DEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I3C_ADDR_SLOT_I3C_DEV@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_i3c_bus_set_addr_slot_status
LBB0_8:
	mov	w0, #0
	b	LBB0_12
LBB0_9:
	ldr	w1, [x20]
	cbz	w1, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_i3c_bus_set_addr_slot_status
LBB0_11:
Lloh12:
	adrp	x8, _EBUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_I3C_ADDR_SLOT_FREE,4,2         ; @I3C_ADDR_SLOT_FREE
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_I3C_ADDR_SLOT_I3C_DEV,4,2      ; @I3C_ADDR_SLOT_I3C_DEV
	.no_dead_strip	_i3c_master_get_i3c_addrs
.subsections_via_symbols
